Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_4_0_0_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.001288/0.001289, allocations: 112.8 kB / 17.77 MB, free: 5.383 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.001291/0.001291, allocations: 184.8 kB / 18.71 MB, free: 4.457 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.425/1.425, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2212/0.2212, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3624, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03439/0.3969, allocations: 26.8 MB / 0.5446 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003569/0.4005, allocations: 2.958 MB / 0.5475 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.4006, allocations: 1.469 kB / 0.5475 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002788/0.4009, allocations: 55.75 kB / 0.5476 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.4027, allocations: 0.7148 MB / 0.5483 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.4031, allocations: 136.7 kB / 0.5484 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00052/0.4036, allocations: 370.6 kB / 0.5488 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.4037, allocations: 13.78 kB / 0.5488 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04073/0.4444, allocations: 15.49 MB / 0.5639 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.4449, allocations: 147.5 kB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.4449, allocations: 8 kB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008827/0.4538, allocations: 3.448 MB / 0.5674 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.4539, allocations: 51.75 kB / 0.5675 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.4541, allocations: 95.58 kB / 0.5675 GB, free: 9.598 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009904/0.4551, allocations: 478.5 kB / 0.568 GB, free: 9.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4551, allocations: 3.984 kB / 0.568 GB, free: 9.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4551, allocations: 0 / 0.568 GB, free: 9.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.4551, allocations: 0 / 0.568 GB, free: 9.125 MB / 430.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.001144/0.4563, allocations: 0.6 MB / 0.5686 GB, free: 8.477 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4563, allocations: 12.03 kB / 0.5686 GB, free: 8.465 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.425e-05/0.4564, allocations: 58.73 kB / 0.5687 GB, free: 8.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.4565, allocations: 36.78 kB / 0.5687 GB, free: 8.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.4569, allocations: 220.1 kB / 0.5689 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.4571, allocations: 131.9 kB / 0.569 GB, free: 7.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.4571, allocations: 19.94 kB / 0.569 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/0.4576, allocations: 323.6 kB / 0.5694 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4577, allocations: 0 / 0.5694 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.4577, allocations: 19.98 kB / 0.5694 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.4577, allocations: 8 kB / 0.5694 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008395/0.4586, allocations: 0.7352 MB / 0.5701 GB, free: 6.832 MB / 430.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.001408/0.46, allocations: 1.308 MB / 0.5714 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.4603, allocations: 155.8 kB / 0.5715 GB, free: 5.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.4605, allocations: 89.47 kB / 0.5716 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00258/0.4631, allocations: 2.817 MB / 0.5744 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.4631, allocations: 34.56 kB / 0.5744 GB, free: 1.762 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.4631, allocations: 0 / 0.5744 GB, free: 1.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002989/0.4634, allocations: 121.4 kB / 0.5745 GB, free: 1.637 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.4635, allocations: 55.41 kB / 0.5746 GB, free: 1.57 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.4637, allocations: 222.8 kB / 0.5748 GB, free: 1.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.4637, allocations: 33.64 kB / 0.5748 GB, free: 1.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.4639, allocations: 227.3 kB / 0.575 GB, free: 1.074 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.4639, allocations: 39.69 kB / 0.5751 GB, free: 1.035 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.996e-05/0.464, allocations: 86.03 kB / 0.5751 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4642, allocations: 330.8 kB / 0.5755 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.227e-05/0.4642, allocations: 48.78 kB / 0.5755 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.4646, allocations: 347.2 kB / 0.5758 GB, free: 80 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.465, allocations: 444.6 kB / 0.5763 GB, free: 15.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4651, allocations: 4 kB / 0.5763 GB, free: 15.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005569/0.4656, allocations: 381.6 kB / 0.5766 GB, free: 15.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4656, allocations: 8 kB / 0.5766 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.4657, allocations: 15.94 kB / 0.5767 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.4657, allocations: 12 kB / 0.5767 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002476/0.4659, allocations: 107.8 kB / 0.5768 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.366e-05/0.466, allocations: 15.94 kB / 0.5768 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.4662, allocations: 51.62 kB / 0.5768 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.4662, allocations: 31.98 kB / 0.5769 GB, free: 14.87 MB / 446.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.0001359/0.4664, allocations: 149.9 kB / 0.577 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.4664, allocations: 19.91 kB / 0.577 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002861/0.4667, allocations: 148.9 kB / 0.5772 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/0.4668, allocations: 0 / 0.5772 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.4668, allocations: 3.984 kB / 0.5772 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.4668, allocations: 3.938 kB / 0.5772 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004705/0.4672, allocations: 420.8 kB / 0.5776 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4673, allocations: 0 / 0.5776 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.4673, allocations: 12 kB / 0.5776 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.4673, allocations: 8.094 kB / 0.5776 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4674, allocations: 7.969 kB / 0.5776 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.4674, allocations: 0 / 0.5776 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4674, allocations: 4 kB / 0.5776 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.4676, allocations: 198 kB / 0.5778 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.374e-05/0.4677, allocations: 105 kB / 0.5779 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.4677, allocations: 11.88 kB / 0.5779 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.4678, allocations: 4 kB / 0.5779 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.4679, allocations: 11.92 kB / 0.5779 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.4679, allocations: 8 kB / 0.5779 GB, free: 13.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.468, allocations: 152.5 kB / 0.5781 GB, free: 13.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.468, allocations: 0 / 0.5781 GB, free: 13.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004645/0.4685, allocations: 95.92 kB / 0.5782 GB, free: 13.41 MB / 446.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.0006666/0.4692, allocations: 0.7927 MB / 0.5789 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002908/0.4695, allocations: 173.9 kB / 0.5791 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4695, allocations: 0 / 0.5791 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.4695, allocations: 24.5 kB / 0.5791 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.4699, allocations: 44.53 kB / 0.5792 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.473, allocations: 2.807 MB / 0.5819 GB, free: 9.156 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.4733, allocations: 0.7285 MB / 0.5826 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001831/0.4735, allocations: 62.88 kB / 0.5827 GB, free: 8.332 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.4736, allocations: 63.41 kB / 0.5827 GB, free: 8.27 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4736, allocations: 0 / 0.5827 GB, free: 8.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.5017, allocations: 5.225 MB / 0.5878 GB, free: 3.172 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/8.71, allocations: 19.97 kB / 0.5879 GB, free: 3.164 MB / 446.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches