Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 114.4 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 183.8 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2071/0.2071, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 63.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4252, allocations: 60.83 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005095/0.4303, allocations: 4.534 MB / 0.5229 GB, free: 4 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004497/0.4348, allocations: 4.008 MB / 0.5268 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.435, allocations: 4.812 kB / 0.5268 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003146/0.4353, allocations: 50.36 kB / 0.5269 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.4378, allocations: 0.7252 MB / 0.5276 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.4382, allocations: 138.8 kB / 0.5277 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006294/0.4388, allocations: 371.4 kB / 0.5281 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.4389, allocations: 14.33 kB / 0.5281 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.4391, allocations: 139.7 kB / 0.5282 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002491/0.4394, allocations: 151.5 kB / 0.5283 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.4394, allocations: 8.25 kB / 0.5284 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.4405, allocations: 427.6 kB / 0.5288 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-05/0.4407, allocations: 48.12 kB / 0.5288 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.4408, allocations: 104.7 kB / 0.5289 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008256/0.4416, allocations: 475.4 kB / 0.5294 GB, free: 11.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4416, allocations: 1.125 kB / 0.5294 GB, free: 11.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4416, allocations: 0 / 0.5294 GB, free: 11.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.4417, allocations: 0 / 0.5294 GB, free: 11.78 MB / 398.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.001155/0.4428, allocations: 0.6054 MB / 0.53 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4429, allocations: 10.16 kB / 0.53 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.433e-05/0.4429, allocations: 63.28 kB / 0.53 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.4431, allocations: 27.61 kB / 0.53 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.4435, allocations: 228.8 kB / 0.5303 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.4436, allocations: 118.8 kB / 0.5304 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.4437, allocations: 27.56 kB / 0.5304 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.4442, allocations: 326.5 kB / 0.5307 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4442, allocations: 0 / 0.5307 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.4443, allocations: 11.91 kB / 0.5307 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.4443, allocations: 6.938 kB / 0.5307 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000807/0.4451, allocations: 0.7435 MB / 0.5315 GB, free: 10.19 MB / 398.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.001336/0.4464, allocations: 1.308 MB / 0.5327 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.4468, allocations: 158 kB / 0.5329 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.4469, allocations: 85.02 kB / 0.533 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002437/0.4494, allocations: 2.818 MB / 0.5357 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4494, allocations: 39.67 kB / 0.5358 GB, free: 5.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.4494, allocations: 1.188 kB / 0.5358 GB, free: 5.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003035/0.4497, allocations: 111 kB / 0.5359 GB, free: 5.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.4498, allocations: 56.47 kB / 0.5359 GB, free: 5.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.45, allocations: 226.1 kB / 0.5361 GB, free: 5.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.45, allocations: 27.05 kB / 0.5362 GB, free: 5.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4502, allocations: 226.2 kB / 0.5364 GB, free: 5.055 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.4502, allocations: 46.8 kB / 0.5364 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.4503, allocations: 86.94 kB / 0.5365 GB, free: 4.957 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4505, allocations: 326.6 kB / 0.5368 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.4505, allocations: 49.03 kB / 0.5369 GB, free: 4.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.4508, allocations: 345.1 kB / 0.5372 GB, free: 4.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.4512, allocations: 443 kB / 0.5376 GB, free: 3.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4512, allocations: 6.625 kB / 0.5376 GB, free: 3.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005293/0.4518, allocations: 379.8 kB / 0.538 GB, free: 3.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4518, allocations: 10 kB / 0.538 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.4518, allocations: 11.03 kB / 0.538 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.761e-05/0.4519, allocations: 16.91 kB / 0.538 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.4521, allocations: 107.4 kB / 0.5381 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.893e-05/0.4521, allocations: 18.44 kB / 0.5381 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.4524, allocations: 56.22 kB / 0.5382 GB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.4524, allocations: 32.89 kB / 0.5382 GB, free: 3.391 MB / 398.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.0001464/0.4526, allocations: 143.2 kB / 0.5384 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.4526, allocations: 26.17 kB / 0.5384 GB, free: 3.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.4529, allocations: 148.7 kB / 0.5385 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4529, allocations: 1.344 kB / 0.5385 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4529, allocations: 4 kB / 0.5385 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4529, allocations: 0 / 0.5385 GB, free: 3.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.4534, allocations: 411.7 kB / 0.5389 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4534, allocations: 0.9844 kB / 0.5389 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.4535, allocations: 19.66 kB / 0.5389 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4535, allocations: 1.156 kB / 0.5389 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.4535, allocations: 2.469 kB / 0.5389 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4535, allocations: 9.312 kB / 0.539 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4535, allocations: 5.25 kB / 0.539 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.4537, allocations: 207 kB / 0.5392 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/0.4538, allocations: 99.69 kB / 0.5393 GB, free: 2.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.4539, allocations: 6.344 kB / 0.5393 GB, free: 2.379 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001468/0.454, allocations: 11.67 kB / 0.5393 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.454, allocations: 7.406 kB / 0.5393 GB, free: 2.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.454, allocations: 3.469 kB / 0.5393 GB, free: 2.367 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.4542, allocations: 156.9 kB / 0.5394 GB, free: 2.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4542, allocations: 0 / 0.5394 GB, free: 2.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000498/0.4547, allocations: 101.4 kB / 0.5395 GB, free: 2.227 MB / 398.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.0006351/0.4553, allocations: 0.7896 MB / 0.5403 GB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003011/0.4556, allocations: 175 kB / 0.5405 GB, free: 1.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4557, allocations: 0 / 0.5405 GB, free: 1.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.4557, allocations: 24.25 kB / 0.5405 GB, free: 1.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.4561, allocations: 47.47 kB / 0.5405 GB, free: 1.375 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.4593, allocations: 2.801 MB / 0.5433 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4596, allocations: 0.7267 MB / 0.544 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.4598, allocations: 58.81 kB / 0.544 GB, free: 13.99 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.385e-05/0.4599, allocations: 59.45 kB / 0.5441 GB, free: 13.95 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4599, allocations: 4 kB / 0.5441 GB, free: 13.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.4829, allocations: 5.22 MB / 0.5492 GB, free: 10.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.751/8.234, allocations: 9.047 kB / 0.5492 GB, free: 10.96 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_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_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches