Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 106.7 kB / 16.41 MB, free: 6.5 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.001257/0.001258, allocations: 189.5 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2131/0.2131, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002007, allocations: 72.45 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1237, allocations: 57.78 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03349/0.1573, allocations: 26.82 MB / 0.5136 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003573/0.1609, allocations: 2.959 MB / 0.5165 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.161, allocations: 0 / 0.5165 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003082/0.1614, allocations: 55.58 kB / 0.5166 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.1632, allocations: 0.7188 MB / 0.5173 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.1636, allocations: 139.7 kB / 0.5174 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.1641, allocations: 370.2 kB / 0.5178 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.433e-05/0.1642, allocations: 21.62 kB / 0.5178 GB, free: 13.06 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2612/0.4254, allocations: 15.45 MB / 0.5329 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004152/0.4259, allocations: 145.9 kB / 0.533 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.4259, allocations: 7.719 kB / 0.533 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008146/0.4341, allocations: 3.447 MB / 0.5364 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.729e-05/0.4342, allocations: 42.5 kB / 0.5364 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.4344, allocations: 105.4 kB / 0.5365 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008825/0.4352, allocations: 470.4 kB / 0.537 GB, free: 12.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4353, allocations: 0 / 0.537 GB, free: 12.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.4353, allocations: 0 / 0.537 GB, free: 12.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.4353, allocations: 1.312 kB / 0.537 GB, free: 12.03 MB / 414.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.001019/0.4363, allocations: 0.6064 MB / 0.5376 GB, free: 11.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.4363, allocations: 14.2 kB / 0.5376 GB, free: 11.58 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.4364, allocations: 59.39 kB / 0.5376 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/0.4365, allocations: 30.92 kB / 0.5377 GB, free: 11.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.4368, allocations: 222.8 kB / 0.5379 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.68e-05/0.437, allocations: 129.3 kB / 0.538 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.437, allocations: 25.28 kB / 0.538 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004554/0.4374, allocations: 323.3 kB / 0.5383 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4375, allocations: 3.281 kB / 0.5383 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.4375, allocations: 7.312 kB / 0.5383 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.4375, allocations: 12.02 kB / 0.5384 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007954/0.4383, allocations: 0.7355 MB / 0.5391 GB, free: 11.09 MB / 414.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.001111/0.4394, allocations: 1.307 MB / 0.5404 GB, free: 10.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.4398, allocations: 169.2 kB / 0.5405 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.4399, allocations: 90.45 kB / 0.5406 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001665/0.4416, allocations: 2.807 MB / 0.5433 GB, free: 7.156 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.4416, allocations: 32.67 kB / 0.5434 GB, free: 7.117 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.4416, allocations: 1.094 kB / 0.5434 GB, free: 7.117 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000266/0.4419, allocations: 124.9 kB / 0.5435 GB, free: 7.07 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.4419, allocations: 53.64 kB / 0.5435 GB, free: 7.008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.4421, allocations: 226.9 kB / 0.5438 GB, free: 6.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.4421, allocations: 26.95 kB / 0.5438 GB, free: 6.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.4422, allocations: 224.8 kB / 0.544 GB, free: 6.676 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.4422, allocations: 49.2 kB / 0.544 GB, free: 6.648 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/0.4423, allocations: 85.02 kB / 0.5441 GB, free: 6.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.4424, allocations: 326.6 kB / 0.5444 GB, free: 6.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.832e-05/0.4425, allocations: 51.95 kB / 0.5445 GB, free: 6.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.4426, allocations: 346.5 kB / 0.5448 GB, free: 5.922 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.4429, allocations: 441.4 kB / 0.5452 GB, free: 5.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.4429, allocations: 3.875 kB / 0.5452 GB, free: 5.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005149/0.4435, allocations: 382.4 kB / 0.5456 GB, free: 5.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4435, allocations: 9.375 kB / 0.5456 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.4435, allocations: 12.02 kB / 0.5456 GB, free: 5.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.4436, allocations: 17.72 kB / 0.5456 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.4438, allocations: 105.1 kB / 0.5457 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.4438, allocations: 23.09 kB / 0.5458 GB, free: 5.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.4441, allocations: 60.06 kB / 0.5458 GB, free: 5.438 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.4441, allocations: 28.7 kB / 0.5459 GB, free: 5.438 MB / 414.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 8.535e-05/0.4442, allocations: 146.2 kB / 0.546 GB, free: 5.316 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.4442, allocations: 19.52 kB / 0.546 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002569/0.4445, allocations: 152 kB / 0.5462 GB, free: 5.242 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4445, allocations: 5.766 kB / 0.5462 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4445, allocations: 0 / 0.5462 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4445, allocations: 2.016 kB / 0.5462 GB, free: 5.238 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003654/0.4449, allocations: 408.9 kB / 0.5466 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.4449, allocations: 1.344 kB / 0.5466 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.445, allocations: 14.56 kB / 0.5466 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.445, allocations: 2.953 kB / 0.5466 GB, free: 4.914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.445, allocations: 5.281 kB / 0.5466 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.445, allocations: 2.016 kB / 0.5466 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.445, allocations: 2.625 kB / 0.5466 GB, free: 4.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/0.4452, allocations: 210 kB / 0.5468 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.4452, allocations: 96.67 kB / 0.5469 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.4453, allocations: 15.55 kB / 0.5469 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4454, allocations: 7.969 kB / 0.5469 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.4454, allocations: 9.047 kB / 0.5469 GB, free: 4.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.4455, allocations: 5.094 kB / 0.5469 GB, free: 4.629 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.4456, allocations: 156.7 kB / 0.5471 GB, free: 4.555 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4456, allocations: 3.844 kB / 0.5471 GB, free: 4.555 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004709/0.4461, allocations: 90.61 kB / 0.5471 GB, free: 4.547 MB / 414.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.0004587/0.4465, allocations: 0.7958 MB / 0.5479 GB, free: 3.844 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.4469, allocations: 174.3 kB / 0.5481 GB, free: 3.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4469, allocations: 0.5 kB / 0.5481 GB, free: 3.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.4469, allocations: 28.55 kB / 0.5481 GB, free: 3.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.4474, allocations: 46.86 kB / 0.5482 GB, free: 3.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.4502, allocations: 2.82 MB / 0.5509 GB, free: 1.672 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.4505, allocations: 0.7292 MB / 0.5516 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.4507, allocations: 51.59 kB / 0.5517 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.4508, allocations: 62.34 kB / 0.5517 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4508, allocations: 0 / 0.5517 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02976/0.4806, allocations: 5.241 MB / 0.5569 GB, free: 140 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.422, allocations: 10.39 kB / 0.5569 GB, free: 132 kB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches