Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001248/0.001248, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001128/0.001128, allocations: 60.16 kB / 307 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08085/0.08199, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T): time 0.002316/0.08434, allocations: 1.372 MB / 358.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2919/0.3763, allocations: 151.6 MB / 0.4986 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.3764, allocations: 0 / 0.4986 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.386e-05/0.3765, allocations: 7.984 kB / 0.4986 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008361/0.3773, allocations: 238.4 kB / 0.4988 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.3784, allocations: 400.1 kB / 0.4992 GB, free: 1.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3785, allocations: 59.66 kB / 0.4992 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.3786, allocations: 4 kB / 0.4993 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.348e-05/0.3786, allocations: 23.92 kB / 0.4993 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.842e-05/0.3787, allocations: 27.91 kB / 0.4993 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.3788, allocations: 4 kB / 0.4993 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.38, allocations: 0.6317 MB / 0.4999 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.3801, allocations: 11.98 kB / 0.4999 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.3801, allocations: 23.86 kB / 0.5 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001/0.3811, allocations: 498.9 kB / 0.5004 GB, free: 336 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3812, allocations: 0 / 0.5004 GB, free: 336 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3812, allocations: 0 / 0.5004 GB, free: 336 kB / 414.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.3812, allocations: 0 / 0.5004 GB, free: 336 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006174/0.3818, allocations: 436 kB / 0.5008 GB, free: 15.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.3818, allocations: 12.03 kB / 0.5009 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.3819, allocations: 34.69 kB / 0.5009 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.3833, allocations: 108.8 kB / 0.501 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.3836, allocations: 220.8 kB / 0.5012 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3836, allocations: 3.984 kB / 0.5012 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.3836, allocations: 8 kB / 0.5012 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.3838, allocations: 92.11 kB / 0.5013 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.3839, allocations: 0 / 0.5013 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3839, allocations: 4 kB / 0.5013 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3839, allocations: 0 / 0.5013 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.3841, allocations: 43.95 kB / 0.5014 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.3844, allocations: 218.6 kB / 0.5016 GB, free: 15.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005067/0.3849, allocations: 125.1 kB / 0.5017 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.385, allocations: 33.77 kB / 0.5017 GB, free: 14.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007248/0.3857, allocations: 0.9862 MB / 0.5027 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.3858, allocations: 46.44 kB / 0.5027 GB, free: 13.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.3858, allocations: 0 / 0.5027 GB, free: 13.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005248/0.3863, allocations: 129.5 kB / 0.5028 GB, free: 13.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.3864, allocations: 89.03 kB / 0.5029 GB, free: 13.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.3866, allocations: 149.8 kB / 0.5031 GB, free: 13.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.3867, allocations: 33.7 kB / 0.5031 GB, free: 13.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.3867, allocations: 80.14 kB / 0.5032 GB, free: 13.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.057e-05/0.3868, allocations: 31.55 kB / 0.5032 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.3868, allocations: 29.7 kB / 0.5032 GB, free: 12.99 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.387, allocations: 318.8 kB / 0.5035 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.3871, allocations: 27.97 kB / 0.5036 GB, free: 12.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.3872, allocations: 61.05 kB / 0.5036 GB, free: 12.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.3875, allocations: 75.34 kB / 0.5037 GB, free: 12.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3875, allocations: 0 / 0.5037 GB, free: 12.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003694/0.3879, allocations: 126 kB / 0.5038 GB, free: 12.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3879, allocations: 11.03 kB / 0.5038 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3879, allocations: 0 / 0.5038 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3879, allocations: 4 kB / 0.5038 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3881, allocations: 27.91 kB / 0.5039 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3881, allocations: 4 kB / 0.5039 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3883, allocations: 7.906 kB / 0.5039 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.3883, allocations: 11.92 kB / 0.5039 GB, free: 12.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.3884, allocations: 121.7 kB / 0.504 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.3885, allocations: 0 / 0.504 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006219/0.3891, allocations: 252.3 kB / 0.5042 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3891, allocations: 4 kB / 0.5042 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3891, allocations: 0 / 0.5042 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3891, allocations: 0 / 0.5042 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.3894, allocations: 221.3 kB / 0.5045 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3894, allocations: 0 / 0.5045 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.3896, allocations: 19.97 kB / 0.5045 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3896, allocations: 0 / 0.5045 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.3896, allocations: 4 kB / 0.5045 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3896, allocations: 0 / 0.5045 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3896, allocations: 0 / 0.5045 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000454/0.3901, allocations: 185.7 kB / 0.5047 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.3901, allocations: 89.12 kB / 0.5047 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.3902, allocations: 7.922 kB / 0.5047 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.3904, allocations: 4 kB / 0.5048 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.3904, allocations: 11.98 kB / 0.5048 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.3904, allocations: 0 / 0.5048 GB, free: 11.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.3906, allocations: 131.2 kB / 0.5049 GB, free: 11.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3906, allocations: 64 / 0.5049 GB, free: 11.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005053/0.3911, allocations: 135.9 kB / 0.505 GB, free: 11.04 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (s1,h1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001382/0.3925, allocations: 0.9359 MB / 0.5059 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.3928, allocations: 79.81 kB / 0.506 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3928, allocations: 0 / 0.506 GB, free: 9.996 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.393, allocations: 35.98 kB / 0.506 GB, free: 9.961 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002205/0.3932, allocations: 16.05 kB / 0.5061 GB, free: 9.945 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.396, allocations: 1.79 MB / 0.5078 GB, free: 8.055 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3963, allocations: 0.6924 MB / 0.5085 GB, free: 7.336 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006442/0.397, allocations: 431.1 kB / 0.5089 GB, free: 6.914 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3971, allocations: 47.38 kB / 0.5089 GB, free: 6.867 MB / 430.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3972, allocations: 4 kB / 0.5089 GB, free: 6.863 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.4227, allocations: 6.583 MB / 0.5154 GB, free: 388 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/7.752, allocations: 11.98 kB / 0.5154 GB, free: 376 kB / 430.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Media_Examples_SolveOneNonlinearEquation_Inverse_sh_T.fmu > Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SolveOneNonlinearEquation/Inverse_sh_T/Inverse_sh_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SolveOneNonlinearEquation.Inverse_sh_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches