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.001062/0.001062, allocations: 111 kB / 17.32 MB, free: 6.008 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.001105/0.001105, allocations: 193.3 kB / 18.25 MB, free: 5.105 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.362/1.362, allocations: 222.9 MB / 241.9 MB, free: 15.45 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.2307/0.2307, allocations: 44.17 MB / 336.2 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 59.77 kB / 408 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09935/0.1007, allocations: 60.83 MB / 468.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.03432/0.135, allocations: 26.94 MB / 495.8 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004142/0.1392, allocations: 2.948 MB / 498.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002666/0.1395, allocations: 0 / 498.7 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004193/0.14, allocations: 51.7 kB / 498.8 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00283/0.1429, allocations: 0.6648 MB / 499.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.1433, allocations: 137.4 kB / 499.6 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007721/0.1441, allocations: 374.1 kB / 499.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.246e-05/0.1441, allocations: 13.67 kB / 499.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03724/0.1814, allocations: 14.91 MB / 0.5028 GB, free: 436 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004856/0.1819, allocations: 151.4 kB / 0.5029 GB, free: 284 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.684e-05/0.182, allocations: 8 kB / 0.5029 GB, free: 276 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2372/0.4192, allocations: 3.432 MB / 0.5063 GB, free: 24.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.4194, allocations: 45.89 kB / 0.5063 GB, free: 24.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.4196, allocations: 115.7 kB / 0.5064 GB, free: 24.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.4206, allocations: 465.7 kB / 0.5069 GB, free: 24.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4206, allocations: 0.7812 kB / 0.5069 GB, free: 24.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.4206, allocations: 0 / 0.5069 GB, free: 24.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.4206, allocations: 0 / 0.5069 GB, free: 24.05 MB / 382.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.001292/0.4219, allocations: 0.6038 MB / 0.5075 GB, free: 23.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.422, allocations: 8.875 kB / 0.5075 GB, free: 23.67 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.059e-05/0.4221, allocations: 63.83 kB / 0.5075 GB, free: 23.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.4222, allocations: 26.05 kB / 0.5076 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.4225, allocations: 224.3 kB / 0.5078 GB, free: 23.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.4226, allocations: 124.1 kB / 0.5079 GB, free: 23.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.4226, allocations: 27.03 kB / 0.5079 GB, free: 23.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/0.4231, allocations: 325.6 kB / 0.5082 GB, free: 23.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4232, allocations: 1.281 kB / 0.5082 GB, free: 23.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.4232, allocations: 13.09 kB / 0.5083 GB, free: 23.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.4232, allocations: 8.172 kB / 0.5083 GB, free: 23.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009401/0.4242, allocations: 0.7392 MB / 0.509 GB, free: 23.19 MB / 382.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.0012/0.4254, allocations: 1.299 MB / 0.5103 GB, free: 22.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003754/0.4258, allocations: 164.2 kB / 0.5104 GB, free: 22.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.4259, allocations: 84.16 kB / 0.5105 GB, free: 22.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/0.4279, allocations: 2.817 MB / 0.5132 GB, free: 19.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.4279, allocations: 35.75 kB / 0.5133 GB, free: 19.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.4279, allocations: 0 / 0.5133 GB, free: 19.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002923/0.4282, allocations: 121 kB / 0.5134 GB, free: 19.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.4283, allocations: 54.44 kB / 0.5134 GB, free: 19.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.4285, allocations: 219 kB / 0.5136 GB, free: 19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.4285, allocations: 30.08 kB / 0.5137 GB, free: 18.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.4286, allocations: 214.7 kB / 0.5139 GB, free: 18.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.4286, allocations: 49.84 kB / 0.5139 GB, free: 18.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.4287, allocations: 87.23 kB / 0.514 GB, free: 18.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.4288, allocations: 328.2 kB / 0.5143 GB, free: 18.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.891e-05/0.4289, allocations: 47.27 kB / 0.5144 GB, free: 18.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.4291, allocations: 345.2 kB / 0.5147 GB, free: 18.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.4295, allocations: 444.5 kB / 0.5151 GB, free: 17.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.4295, allocations: 3.656 kB / 0.5151 GB, free: 17.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005537/0.4301, allocations: 383.4 kB / 0.5155 GB, free: 17.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4301, allocations: 10.81 kB / 0.5155 GB, free: 17.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.4301, allocations: 18.25 kB / 0.5155 GB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.4301, allocations: 17.86 kB / 0.5155 GB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.4304, allocations: 95.56 kB / 0.5156 GB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/0.4304, allocations: 22.53 kB / 0.5157 GB, free: 17.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.4307, allocations: 58.8 kB / 0.5157 GB, free: 17.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.4307, allocations: 29.67 kB / 0.5157 GB, free: 17.57 MB / 382.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.0001041/0.4308, allocations: 147 kB / 0.5159 GB, free: 17.45 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.4309, allocations: 22.41 kB / 0.5159 GB, free: 17.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.4312, allocations: 151.6 kB / 0.516 GB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.4312, allocations: 2.672 kB / 0.516 GB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4312, allocations: 4 kB / 0.516 GB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4312, allocations: 3.891 kB / 0.5161 GB, free: 17.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.4316, allocations: 405.5 kB / 0.5164 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4316, allocations: 0 / 0.5164 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.4317, allocations: 15.92 kB / 0.5165 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4317, allocations: 6.406 kB / 0.5165 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4317, allocations: 5.188 kB / 0.5165 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4317, allocations: 6.297 kB / 0.5165 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4317, allocations: 1.469 kB / 0.5165 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.4319, allocations: 200.2 kB / 0.5167 GB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.4319, allocations: 98.38 kB / 0.5168 GB, free: 16.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.432, allocations: 15.47 kB / 0.5168 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.4321, allocations: 5.703 kB / 0.5168 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.4322, allocations: 8.203 kB / 0.5168 GB, free: 16.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.4322, allocations: 4.25 kB / 0.5168 GB, free: 16.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.4323, allocations: 156.2 kB / 0.5169 GB, free: 16.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4323, allocations: 0 / 0.5169 GB, free: 16.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004921/0.4328, allocations: 90.05 kB / 0.517 GB, free: 16.68 MB / 382.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.0005558/0.4334, allocations: 0.8066 MB / 0.5178 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.4337, allocations: 175.7 kB / 0.518 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4337, allocations: 0.5938 kB / 0.518 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.4337, allocations: 24.97 kB / 0.518 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.4342, allocations: 48.69 kB / 0.518 GB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.437, allocations: 2.854 MB / 0.5208 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.4372, allocations: 0.7269 MB / 0.5215 GB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.4375, allocations: 56.19 kB / 0.5216 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.776e-05/0.4376, allocations: 60.61 kB / 0.5217 GB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4376, allocations: 0.6562 kB / 0.5217 GB, free: 13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.4545, allocations: 5.09 MB / 0.5266 GB, free: 12.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/0.4548, allocations: 217.2 kB / 0.5268 GB, free: 12.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.348, allocations: 4 kB / 0.5268 GB, free: 12.2 MB / 382.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 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.mat","/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