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.001546/0.001546, allocations: 113.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.001666/0.001666, allocations: 183.9 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.37/1.37, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2145/0.2145, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3667/0.368, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03508/0.4031, allocations: 26.79 MB / 0.5446 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003889/0.4071, allocations: 2.955 MB / 0.5475 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002494/0.4074, allocations: 1 kB / 0.5475 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.4078, allocations: 55.78 kB / 0.5476 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.4101, allocations: 0.7238 MB / 0.5483 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.4105, allocations: 140 kB / 0.5484 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008848/0.4114, allocations: 370.4 kB / 0.5488 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.983e-05/0.4115, allocations: 11.41 kB / 0.5488 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04949/0.461, allocations: 15.49 MB / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004686/0.4615, allocations: 151.5 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.4616, allocations: 8 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009686/0.4713, allocations: 3.444 MB / 0.5674 GB, free: 9.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.4715, allocations: 47.77 kB / 0.5674 GB, free: 9.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.4717, allocations: 107.5 kB / 0.5676 GB, free: 9.613 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.4737, allocations: 470.6 kB / 0.568 GB, free: 9.152 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.4737, allocations: 4 kB / 0.568 GB, free: 9.148 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4737, allocations: 0 / 0.568 GB, free: 9.148 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.4737, allocations: 0 / 0.568 GB, free: 9.148 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.001498/0.4752, allocations: 0.6077 MB / 0.5686 GB, free: 8.492 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.4753, allocations: 16.03 kB / 0.5686 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.31e-05/0.4754, allocations: 58.73 kB / 0.5687 GB, free: 8.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.4756, allocations: 28.8 kB / 0.5687 GB, free: 8.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.476, allocations: 220.1 kB / 0.5689 GB, free: 8.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.4761, allocations: 127.9 kB / 0.569 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.4762, allocations: 19.94 kB / 0.569 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.4767, allocations: 327.6 kB / 0.5694 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4767, allocations: 0 / 0.5694 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.4768, allocations: 12 kB / 0.5694 GB, free: 7.602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.4768, allocations: 11.98 kB / 0.5694 GB, free: 7.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007814/0.4776, allocations: 0.739 MB / 0.5701 GB, free: 6.852 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.001389/0.479, allocations: 1.304 MB / 0.5714 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000351/0.4793, allocations: 167.7 kB / 0.5715 GB, free: 5.254 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001321/0.4795, allocations: 81.48 kB / 0.5716 GB, free: 5.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002424/0.4819, allocations: 2.81 MB / 0.5744 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.482, allocations: 42.56 kB / 0.5744 GB, free: 1.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.482, allocations: 0 / 0.5744 GB, free: 1.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003004/0.4823, allocations: 125.4 kB / 0.5745 GB, free: 1.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.4823, allocations: 55.41 kB / 0.5746 GB, free: 1.586 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.4825, allocations: 218.8 kB / 0.5748 GB, free: 1.363 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.4826, allocations: 29.7 kB / 0.5748 GB, free: 1.328 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.4828, allocations: 223.3 kB / 0.575 GB, free: 1.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.4828, allocations: 43.67 kB / 0.5751 GB, free: 1.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.4829, allocations: 86.03 kB / 0.5751 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4831, allocations: 330.8 kB / 0.5755 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.975e-05/0.4832, allocations: 48.83 kB / 0.5755 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.4835, allocations: 347.2 kB / 0.5758 GB, free: 104 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/0.4841, allocations: 436.6 kB / 0.5763 GB, free: 15.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.4841, allocations: 4 kB / 0.5763 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005914/0.4847, allocations: 385.1 kB / 0.5766 GB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.4847, allocations: 8 kB / 0.5766 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.4847, allocations: 20.78 kB / 0.5767 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.4848, allocations: 15.94 kB / 0.5767 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.485, allocations: 103.8 kB / 0.5768 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/0.4851, allocations: 19.92 kB / 0.5768 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002389/0.4853, allocations: 51.62 kB / 0.5768 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.4854, allocations: 28 kB / 0.5769 GB, free: 14.9 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.000119/0.4855, allocations: 145.6 kB / 0.577 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.4855, allocations: 19.91 kB / 0.577 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.4858, allocations: 152.9 kB / 0.5772 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.4858, allocations: 96 / 0.5772 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4858, allocations: 7.875 kB / 0.5772 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4859, allocations: 0 / 0.5772 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000473/0.4863, allocations: 424.8 kB / 0.5776 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4863, allocations: 0 / 0.5776 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.4864, allocations: 12 kB / 0.5776 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4864, allocations: 4 kB / 0.5776 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.4864, allocations: 48 / 0.5776 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.4864, allocations: 3.938 kB / 0.5776 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4865, allocations: 7.984 kB / 0.5776 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.4866, allocations: 206 kB / 0.5778 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.4867, allocations: 105 kB / 0.5779 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.4868, allocations: 3.938 kB / 0.5779 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.4869, allocations: 4 kB / 0.5779 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.487, allocations: 7.984 kB / 0.5779 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.487, allocations: 8 kB / 0.5779 GB, free: 13.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.4871, allocations: 156.5 kB / 0.5781 GB, free: 13.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4871, allocations: 0 / 0.5781 GB, free: 13.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005066/0.4876, allocations: 91.94 kB / 0.5782 GB, free: 13.44 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.0006534/0.4883, allocations: 0.7966 MB / 0.5789 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.4886, allocations: 174.2 kB / 0.5791 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4886, allocations: 0 / 0.5791 GB, free: 12.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.819e-05/0.4887, allocations: 23.98 kB / 0.5791 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.4891, allocations: 56.62 kB / 0.5792 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/0.4923, allocations: 2.808 MB / 0.5819 GB, free: 9.168 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.4926, allocations: 0.7245 MB / 0.5826 GB, free: 8.414 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.4928, allocations: 54.91 kB / 0.5827 GB, free: 8.355 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.149e-05/0.4929, allocations: 55.42 kB / 0.5827 GB, free: 8.301 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4929, allocations: 4 kB / 0.5827 GB, free: 8.297 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0236/0.5165, allocations: 5.233 MB / 0.5879 GB, free: 3.199 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/8.36, allocations: 12.16 kB / 0.5879 GB, free: 3.195 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