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.00132/0.00132, allocations: 107.6 kB / 16.41 MB, free: 6.496 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.00134/0.00134, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1989/0.1989, allocations: 43.53 MB / 314.1 MB, free: 464 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.001346/0.001346, allocations: 71.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1117, allocations: 57.78 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03368/0.1454, allocations: 26.82 MB / 0.5136 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003179/0.1486, allocations: 2.959 MB / 0.5165 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.1488, allocations: 0 / 0.5165 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.1492, allocations: 55.59 kB / 0.5166 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.1513, allocations: 0.7227 MB / 0.5173 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.1517, allocations: 135.7 kB / 0.5174 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006866/0.1524, allocations: 370.2 kB / 0.5177 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.526e-05/0.1525, allocations: 17.62 kB / 0.5178 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2768/0.4293, allocations: 15.47 MB / 0.5329 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003486/0.4297, allocations: 146.3 kB / 0.533 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.4297, allocations: 7.719 kB / 0.533 GB, free: 13.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008244/0.438, allocations: 3.443 MB / 0.5364 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.716e-05/0.4381, allocations: 46.48 kB / 0.5364 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.4382, allocations: 105.3 kB / 0.5365 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009759/0.4392, allocations: 480 kB / 0.537 GB, free: 12.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.4392, allocations: 1.438 kB / 0.537 GB, free: 12.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4392, allocations: 0 / 0.537 GB, free: 12.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4393, allocations: 0 / 0.537 GB, free: 12.14 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.001123/0.4404, allocations: 0.6043 MB / 0.5376 GB, free: 11.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.4404, allocations: 13.11 kB / 0.5376 GB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.158e-05/0.4405, allocations: 58.7 kB / 0.5376 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001538/0.4407, allocations: 28.73 kB / 0.5377 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.4409, allocations: 224.4 kB / 0.5379 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.4411, allocations: 123.7 kB / 0.538 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.418e-05/0.4411, allocations: 27.91 kB / 0.538 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.4416, allocations: 325.4 kB / 0.5383 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4416, allocations: 0 / 0.5383 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.4417, allocations: 10.59 kB / 0.5383 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.4417, allocations: 8.984 kB / 0.5384 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009332/0.4426, allocations: 0.7374 MB / 0.5391 GB, free: 11.21 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.001184/0.4438, allocations: 1.303 MB / 0.5403 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.4442, allocations: 171.2 kB / 0.5405 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.4443, allocations: 85.67 kB / 0.5406 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.4461, allocations: 2.814 MB / 0.5433 GB, free: 7.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.4461, allocations: 39.91 kB / 0.5434 GB, free: 7.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/0.4461, allocations: 3.562 kB / 0.5434 GB, free: 7.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000299/0.4464, allocations: 120.5 kB / 0.5435 GB, free: 7.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.4465, allocations: 53.69 kB / 0.5435 GB, free: 7.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.4467, allocations: 223.6 kB / 0.5438 GB, free: 7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.4467, allocations: 30.39 kB / 0.5438 GB, free: 6.969 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.4468, allocations: 225.3 kB / 0.544 GB, free: 6.785 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.4468, allocations: 48.12 kB / 0.5441 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.952e-05/0.4469, allocations: 87.98 kB / 0.5441 GB, free: 6.734 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.447, allocations: 326.4 kB / 0.5444 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.923e-05/0.4471, allocations: 48.61 kB / 0.5445 GB, free: 6.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.4473, allocations: 342.7 kB / 0.5448 GB, free: 6.031 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.4476, allocations: 442.7 kB / 0.5452 GB, free: 5.633 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.4476, allocations: 5.516 kB / 0.5452 GB, free: 5.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005019/0.4481, allocations: 388 kB / 0.5456 GB, free: 5.582 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4482, allocations: 9.469 kB / 0.5456 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.4482, allocations: 11.73 kB / 0.5456 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.4482, allocations: 23.67 kB / 0.5457 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.4485, allocations: 95.66 kB / 0.5458 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.4485, allocations: 23.31 kB / 0.5458 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.4487, allocations: 61.34 kB / 0.5458 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.4488, allocations: 28.69 kB / 0.5459 GB, free: 5.543 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.938e-05/0.4489, allocations: 147.1 kB / 0.546 GB, free: 5.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.4489, allocations: 18.28 kB / 0.546 GB, free: 5.418 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.4492, allocations: 150.3 kB / 0.5462 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.4492, allocations: 1.984 kB / 0.5462 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4492, allocations: 1.375 kB / 0.5462 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4492, allocations: 0.6562 kB / 0.5462 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.4496, allocations: 410.2 kB / 0.5466 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4496, allocations: 1.375 kB / 0.5466 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.4496, allocations: 13.34 kB / 0.5466 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4496, allocations: 1.375 kB / 0.5466 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.4497, allocations: 5.188 kB / 0.5466 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.4497, allocations: 2.219 kB / 0.5466 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4497, allocations: 1.375 kB / 0.5466 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.4498, allocations: 212.2 kB / 0.5468 GB, free: 4.852 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.4499, allocations: 94.56 kB / 0.5469 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.4499, allocations: 18.75 kB / 0.5469 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.4501, allocations: 6.031 kB / 0.5469 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.009e-05/0.4501, allocations: 6.188 kB / 0.5469 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.4501, allocations: 8.828 kB / 0.5469 GB, free: 4.738 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.4502, allocations: 158.9 kB / 0.5471 GB, free: 4.664 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4502, allocations: 0 / 0.5471 GB, free: 4.664 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004904/0.4507, allocations: 89.61 kB / 0.5471 GB, free: 4.656 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.000475/0.4512, allocations: 0.808 MB / 0.5479 GB, free: 3.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000281/0.4515, allocations: 169.6 kB / 0.5481 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4515, allocations: 0 / 0.5481 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.236e-05/0.4516, allocations: 25.53 kB / 0.5481 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.452, allocations: 52.52 kB / 0.5482 GB, free: 3.945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.4548, allocations: 2.82 MB / 0.5509 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001613/0.4549, allocations: 0.7252 MB / 0.5516 GB, free: 1.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.4551, allocations: 55.19 kB / 0.5517 GB, free: 1.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.4552, allocations: 61.59 kB / 0.5517 GB, free: 1.059 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4552, allocations: 0 / 0.5517 GB, free: 1.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.4785, allocations: 5.24 MB / 0.5569 GB, free: 256 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.873, allocations: 6.094 kB / 0.5569 GB, free: 252 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