Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 116.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001214, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.4 MB, free: 9.102 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2135/0.2135, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 81.61 kB / 417.1 MB, free: 19.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1187, allocations: 62.45 MB / 479.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03371/0.1525, allocations: 27.08 MB / 0.4948 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003442/0.156, allocations: 2.952 MB / 0.4977 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.1562, allocations: 4 kB / 0.4977 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.1566, allocations: 47.72 kB / 0.4977 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.1587, allocations: 0.6648 MB / 0.4984 GB, free: 6.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.1591, allocations: 135.1 kB / 0.4985 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006295/0.1597, allocations: 370.2 kB / 0.4989 GB, free: 6.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.469e-05/0.1598, allocations: 9.688 kB / 0.4989 GB, free: 6.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2964/0.4562, allocations: 14.91 MB / 0.5134 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.4566, allocations: 148.8 kB / 0.5136 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.4567, allocations: 8.25 kB / 0.5136 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007536/0.4642, allocations: 3.447 MB / 0.517 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.4643, allocations: 46.7 kB / 0.517 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.4645, allocations: 107 kB / 0.5171 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.4656, allocations: 468.4 kB / 0.5176 GB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4656, allocations: 3.688 kB / 0.5176 GB, free: 11.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4656, allocations: 0.5 kB / 0.5176 GB, free: 11.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.4656, allocations: 0 / 0.5176 GB, free: 11.8 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001204/0.4668, allocations: 0.6017 MB / 0.5181 GB, free: 11.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4669, allocations: 12.75 kB / 0.5182 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/0.4669, allocations: 61.98 kB / 0.5182 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.4671, allocations: 25.44 kB / 0.5182 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.4673, allocations: 228.5 kB / 0.5185 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.4675, allocations: 123.5 kB / 0.5186 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.4675, allocations: 26.83 kB / 0.5186 GB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.4681, allocations: 320.9 kB / 0.5189 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4681, allocations: 5.188 kB / 0.5189 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.4681, allocations: 10.47 kB / 0.5189 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.173e-05/0.4681, allocations: 7.016 kB / 0.5189 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008866/0.469, allocations: 0.7388 MB / 0.5196 GB, free: 10.91 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.4704, allocations: 1.301 MB / 0.5209 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.4707, allocations: 163.6 kB / 0.5211 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.4709, allocations: 84.38 kB / 0.5212 GB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00198/0.4729, allocations: 2.811 MB / 0.5239 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.4729, allocations: 38.48 kB / 0.5239 GB, free: 6.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.4729, allocations: 0 / 0.5239 GB, free: 6.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003149/0.4732, allocations: 121.8 kB / 0.5241 GB, free: 6.902 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.4733, allocations: 57.78 kB / 0.5241 GB, free: 6.836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.4735, allocations: 211.8 kB / 0.5243 GB, free: 6.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.4735, allocations: 27.38 kB / 0.5243 GB, free: 6.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.965e-05/0.4736, allocations: 226.8 kB / 0.5246 GB, free: 6.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.4736, allocations: 42.7 kB / 0.5246 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.86e-05/0.4737, allocations: 85.53 kB / 0.5247 GB, free: 6.477 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.006e-05/0.4738, allocations: 327.8 kB / 0.525 GB, free: 6.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.4739, allocations: 45.77 kB / 0.525 GB, free: 6.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.4741, allocations: 345.5 kB / 0.5254 GB, free: 5.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.4744, allocations: 446.3 kB / 0.5258 GB, free: 5.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.4744, allocations: 6.969 kB / 0.5258 GB, free: 5.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005479/0.475, allocations: 383.5 kB / 0.5262 GB, free: 5.328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.475, allocations: 13.22 kB / 0.5262 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.475, allocations: 11.98 kB / 0.5262 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.4751, allocations: 17.22 kB / 0.5262 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/0.4753, allocations: 99.5 kB / 0.5263 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/0.4753, allocations: 21.5 kB / 0.5263 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.4756, allocations: 62.84 kB / 0.5264 GB, free: 5.289 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.4756, allocations: 27.78 kB / 0.5264 GB, free: 5.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001025/0.4757, allocations: 149 kB / 0.5265 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.778e-05/0.4758, allocations: 18.78 kB / 0.5266 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.476, allocations: 153.8 kB / 0.5267 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.4761, allocations: 1.156 kB / 0.5267 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.4761, allocations: 5.219 kB / 0.5267 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4761, allocations: 0 / 0.5267 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.4764, allocations: 409.3 kB / 0.5271 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4765, allocations: 1.5 kB / 0.5271 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.4765, allocations: 13.77 kB / 0.5271 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.4765, allocations: 1.312 kB / 0.5271 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.4765, allocations: 2 kB / 0.5271 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4766, allocations: 1 kB / 0.5271 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4766, allocations: 1.906 kB / 0.5271 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.4767, allocations: 207.6 kB / 0.5273 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.4768, allocations: 103 kB / 0.5274 GB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.4768, allocations: 8.75 kB / 0.5274 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.477, allocations: 9.141 kB / 0.5274 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.477, allocations: 8.219 kB / 0.5274 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.477, allocations: 4.312 kB / 0.5274 GB, free: 4.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001099/0.4771, allocations: 158.5 kB / 0.5276 GB, free: 4.406 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4771, allocations: 1.312 kB / 0.5276 GB, free: 4.406 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004952/0.4776, allocations: 88.59 kB / 0.5277 GB, free: 4.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 8 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.000476/0.4781, allocations: 0.8048 MB / 0.5285 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.4784, allocations: 176 kB / 0.5286 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4784, allocations: 1.531 kB / 0.5286 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.4785, allocations: 21 kB / 0.5287 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.4789, allocations: 40.94 kB / 0.5287 GB, free: 3.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/0.4816, allocations: 2.868 MB / 0.5315 GB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.4817, allocations: 0.7215 MB / 0.5322 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000247/0.482, allocations: 63.88 kB / 0.5323 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.904e-05/0.4821, allocations: 60.56 kB / 0.5323 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4821, allocations: 0 / 0.5323 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.4985, allocations: 5.093 MB / 0.5373 GB, free: 15.42 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.4988, allocations: 218.3 kB / 0.5375 GB, free: 15.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.465, allocations: 0 / 0.5375 GB, free: 15.17 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches