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.001626/0.001626, allocations: 104.4 kB / 17.63 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002037/0.002037, allocations: 212.6 kB / 18.58 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2279/0.2279, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001504, allocations: 79.38 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1189, allocations: 62.44 MB / 480.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.04183/0.1607, allocations: 26.92 MB / 0.4952 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003778/0.1646, allocations: 2.955 MB / 0.498 GB, free: 7.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.1648, allocations: 3.938 kB / 0.4981 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.1651, allocations: 51.66 kB / 0.4981 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.1672, allocations: 0.7266 MB / 0.4988 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.1676, allocations: 143.2 kB / 0.4989 GB, free: 6.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007071/0.1683, allocations: 370.1 kB / 0.4993 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.765e-05/0.1684, allocations: 13.69 kB / 0.4993 GB, free: 5.898 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.262/0.4304, allocations: 15.48 MB / 0.5144 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.4308, allocations: 148.6 kB / 0.5146 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.4308, allocations: 8.812 kB / 0.5146 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009553/0.4404, allocations: 3.436 MB / 0.5179 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.4405, allocations: 46.83 kB / 0.518 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.4407, allocations: 104.6 kB / 0.5181 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009901/0.4417, allocations: 472.9 kB / 0.5185 GB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4417, allocations: 5.25 kB / 0.5185 GB, free: 10.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4417, allocations: 0 / 0.5185 GB, free: 10.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.4417, allocations: 0 / 0.5185 GB, free: 10.77 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.001082/0.4428, allocations: 0.5932 MB / 0.5191 GB, free: 10.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4429, allocations: 14.16 kB / 0.5191 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.296e-05/0.4429, allocations: 59.12 kB / 0.5192 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.4431, allocations: 25.02 kB / 0.5192 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.4433, allocations: 227.9 kB / 0.5194 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.4434, allocations: 127.9 kB / 0.5196 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.4435, allocations: 29.25 kB / 0.5196 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000493/0.444, allocations: 325.1 kB / 0.5199 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.444, allocations: 0 / 0.5199 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.444, allocations: 11.56 kB / 0.5199 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.4441, allocations: 6.188 kB / 0.5199 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007737/0.4449, allocations: 0.7393 MB / 0.5206 GB, free: 9.895 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.001061/0.4459, allocations: 1.297 MB / 0.5219 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.4463, allocations: 172.3 kB / 0.5221 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.4464, allocations: 81.27 kB / 0.5221 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001784/0.4482, allocations: 2.807 MB / 0.5249 GB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.4482, allocations: 39.78 kB / 0.5249 GB, free: 5.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.562e-06/0.4482, allocations: 3.188 kB / 0.5249 GB, free: 5.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002692/0.4485, allocations: 119.3 kB / 0.525 GB, free: 5.883 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.4485, allocations: 53.44 kB / 0.5251 GB, free: 5.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.4487, allocations: 220.3 kB / 0.5253 GB, free: 5.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.4487, allocations: 26.77 kB / 0.5253 GB, free: 5.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.4488, allocations: 214.2 kB / 0.5255 GB, free: 5.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.4489, allocations: 46.62 kB / 0.5256 GB, free: 5.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.026e-05/0.4489, allocations: 90.55 kB / 0.5257 GB, free: 5.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.008e-05/0.449, allocations: 330.5 kB / 0.526 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.867e-05/0.4491, allocations: 50.2 kB / 0.526 GB, free: 5.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.4493, allocations: 348 kB / 0.5263 GB, free: 4.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.4496, allocations: 442.1 kB / 0.5268 GB, free: 4.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4496, allocations: 2.844 kB / 0.5268 GB, free: 4.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005303/0.4501, allocations: 384.9 kB / 0.5271 GB, free: 4.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4502, allocations: 9.375 kB / 0.5272 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.4502, allocations: 13.5 kB / 0.5272 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.4502, allocations: 24.3 kB / 0.5272 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.4505, allocations: 98.81 kB / 0.5273 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.4505, allocations: 17.06 kB / 0.5273 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.4507, allocations: 53.97 kB / 0.5273 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-05/0.4508, allocations: 31.38 kB / 0.5274 GB, free: 4.273 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.0001088/0.4509, allocations: 147.8 kB / 0.5275 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.451, allocations: 21.31 kB / 0.5275 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.4512, allocations: 148.1 kB / 0.5277 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4512, allocations: 1.344 kB / 0.5277 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4513, allocations: 3.062 kB / 0.5277 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.4513, allocations: 0 / 0.5277 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.4516, allocations: 419 kB / 0.5281 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4517, allocations: 5.094 kB / 0.5281 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.4517, allocations: 14.16 kB / 0.5281 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.4517, allocations: 1.625 kB / 0.5281 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4518, allocations: 3.125 kB / 0.5281 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.4518, allocations: 3.844 kB / 0.5281 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4518, allocations: 1.75 kB / 0.5281 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.4519, allocations: 206.2 kB / 0.5283 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.452, allocations: 100.2 kB / 0.5284 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.4521, allocations: 5.969 kB / 0.5284 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.4522, allocations: 7 kB / 0.5284 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.4522, allocations: 11.12 kB / 0.5284 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4522, allocations: 8.969 kB / 0.5284 GB, free: 3.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001087/0.4524, allocations: 157.2 kB / 0.5286 GB, free: 3.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4524, allocations: 0 / 0.5286 GB, free: 3.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005186/0.4529, allocations: 95.84 kB / 0.5287 GB, free: 3.379 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.0004942/0.4534, allocations: 0.7895 MB / 0.5294 GB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002693/0.4537, allocations: 176.8 kB / 0.5296 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4537, allocations: 1.094 kB / 0.5296 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.599e-05/0.4537, allocations: 18.28 kB / 0.5296 GB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.4542, allocations: 56.39 kB / 0.5297 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.4565, allocations: 2.8 MB / 0.5324 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.4567, allocations: 0.7319 MB / 0.5331 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002341/0.457, allocations: 48.62 kB / 0.5332 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.221e-05/0.457, allocations: 62.28 kB / 0.5332 GB, free: 15.77 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.457, allocations: 2.5 kB / 0.5332 GB, free: 15.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.4811, allocations: 5.169 MB / 0.5383 GB, free: 14.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/8.261, allocations: 6.344 kB / 0.5383 GB, free: 14.64 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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 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.csv","/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