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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 187 kB / 16.64 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001001, allocations: 105.1 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3438/0.3438, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009756/0.0009758, allocations: 51.92 kB / 429.2 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1224, allocations: 57.77 MB / 487 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.2508/0.3732, allocations: 28.56 MB / 0.5035 GB, free: 37.7 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003605/0.3769, allocations: 3.027 MB / 0.5064 GB, free: 37.7 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.3771, allocations: 1.125 kB / 0.5064 GB, free: 37.7 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.3775, allocations: 50.41 kB / 0.5065 GB, free: 37.7 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00213/0.3797, allocations: 0.648 MB / 0.5071 GB, free: 37.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.3801, allocations: 125.5 kB / 0.5072 GB, free: 37.7 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007452/0.3808, allocations: 445.9 kB / 0.5077 GB, free: 37.7 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.96e-05/0.3809, allocations: 13.62 kB / 0.5077 GB, free: 37.7 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03981/0.4207, allocations: 14.43 MB / 0.5218 GB, free: 34.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004971/0.4213, allocations: 155.5 kB / 0.5219 GB, free: 34.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 7.349e-05/0.4214, allocations: 6.531 kB / 0.5219 GB, free: 34.21 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008689/0.4301, allocations: 3.42 MB / 0.5253 GB, free: 33.2 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.4302, allocations: 48.23 kB / 0.5253 GB, free: 33.2 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.4305, allocations: 109.6 kB / 0.5254 GB, free: 33.2 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.432, allocations: 467.5 kB / 0.5259 GB, free: 33.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.432, allocations: 3.281 kB / 0.5259 GB, free: 33.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.4321, allocations: 0 / 0.5259 GB, free: 33.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.4321, allocations: 4 kB / 0.5259 GB, free: 33.14 MB / 394.7 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.001216/0.4333, allocations: 0.5937 MB / 0.5265 GB, free: 32.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.4333, allocations: 10.12 kB / 0.5265 GB, free: 32.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.4336, allocations: 21.38 kB / 0.5265 GB, free: 32.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002472/0.4338, allocations: 233.3 kB / 0.5267 GB, free: 32.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.4339, allocations: 124 kB / 0.5268 GB, free: 32.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.434, allocations: 23.66 kB / 0.5268 GB, free: 32.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.4344, allocations: 326.3 kB / 0.5272 GB, free: 32.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4345, allocations: 4 kB / 0.5272 GB, free: 32.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.4345, allocations: 12.94 kB / 0.5272 GB, free: 32.27 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.4345, allocations: 10.06 kB / 0.5272 GB, free: 32.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006714/0.4352, allocations: 0.7379 MB / 0.5279 GB, free: 32.27 MB / 394.7 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.001213/0.4364, allocations: 1.307 MB / 0.5292 GB, free: 31.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.4368, allocations: 163.2 kB / 0.5293 GB, free: 31.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.4369, allocations: 90.91 kB / 0.5294 GB, free: 31.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/0.4387, allocations: 2.804 MB / 0.5322 GB, free: 28.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.4388, allocations: 36.41 kB / 0.5322 GB, free: 28.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 1.773e-06/0.4388, allocations: 0 / 0.5322 GB, free: 28.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002729/0.4391, allocations: 120.3 kB / 0.5323 GB, free: 28.24 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.4391, allocations: 58.62 kB / 0.5324 GB, free: 28.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.4393, allocations: 224.1 kB / 0.5326 GB, free: 28.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.4393, allocations: 25.7 kB / 0.5326 GB, free: 28.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.4394, allocations: 219.8 kB / 0.5328 GB, free: 27.86 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.4394, allocations: 40 kB / 0.5328 GB, free: 27.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.017e-05/0.4395, allocations: 87.14 kB / 0.5329 GB, free: 27.81 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.4395, allocations: 327.8 kB / 0.5332 GB, free: 27.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.242e-05/0.4396, allocations: 48.34 kB / 0.5333 GB, free: 27.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.4398, allocations: 349.4 kB / 0.5336 GB, free: 27.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.4401, allocations: 438.9 kB / 0.534 GB, free: 26.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.4401, allocations: 3.281 kB / 0.534 GB, free: 26.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004666/0.4406, allocations: 386.5 kB / 0.5344 GB, free: 26.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4406, allocations: 9.781 kB / 0.5344 GB, free: 26.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.4406, allocations: 9.625 kB / 0.5344 GB, free: 26.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.4407, allocations: 20.56 kB / 0.5345 GB, free: 26.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.4409, allocations: 97.62 kB / 0.5345 GB, free: 26.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.4409, allocations: 24.03 kB / 0.5346 GB, free: 26.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002681/0.4412, allocations: 61.53 kB / 0.5346 GB, free: 26.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.4412, allocations: 30.61 kB / 0.5347 GB, free: 26.36 MB / 394.7 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 9.318e-05/0.4413, allocations: 145.8 kB / 0.5348 GB, free: 26.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.4414, allocations: 17.69 kB / 0.5348 GB, free: 26.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.4416, allocations: 161 kB / 0.535 GB, free: 26.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.4416, allocations: 3.938 kB / 0.535 GB, free: 26.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4416, allocations: 0 / 0.535 GB, free: 26.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4416, allocations: 3.469 kB / 0.535 GB, free: 26.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.442, allocations: 410.7 kB / 0.5354 GB, free: 25.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.442, allocations: 0 / 0.5354 GB, free: 25.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.265e-05/0.4421, allocations: 16.66 kB / 0.5354 GB, free: 25.74 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4421, allocations: 0 / 0.5354 GB, free: 25.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4421, allocations: 3.219 kB / 0.5354 GB, free: 25.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4421, allocations: 0 / 0.5354 GB, free: 25.74 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4421, allocations: 3 kB / 0.5354 GB, free: 25.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.4424, allocations: 0.7949 MB / 0.5362 GB, free: 24.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.4425, allocations: 99.06 kB / 0.5363 GB, free: 24.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.057e-05/0.4425, allocations: 4 kB / 0.5363 GB, free: 24.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4427, allocations: 7.469 kB / 0.5363 GB, free: 24.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.4427, allocations: 13.91 kB / 0.5363 GB, free: 24.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.4427, allocations: 9.781 kB / 0.5363 GB, free: 24.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.057e-05/0.4428, allocations: 154.7 kB / 0.5364 GB, free: 24.74 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4428, allocations: 0 / 0.5364 GB, free: 24.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005485/0.4434, allocations: 94.25 kB / 0.5365 GB, free: 24.73 MB / 394.7 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.0002595/0.4437, allocations: 165.1 kB / 0.5367 GB, free: 24.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002463/0.4439, allocations: 167.8 kB / 0.5368 GB, free: 24.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4439, allocations: 0 / 0.5368 GB, free: 24.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.742e-05/0.444, allocations: 26.75 kB / 0.5369 GB, free: 24.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.4444, allocations: 50.8 kB / 0.5369 GB, free: 24.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008837/0.4453, allocations: 0.7231 MB / 0.5376 GB, free: 24.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.4454, allocations: 0.7271 MB / 0.5383 GB, free: 23.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002209/0.4457, allocations: 60.31 kB / 0.5384 GB, free: 23.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.4457, allocations: 30.34 kB / 0.5384 GB, free: 23.3 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4457, allocations: 0 / 0.5384 GB, free: 23.3 MB / 394.7 MB Notification: Performance of Templates: time 0.005721/0.4514, allocations: 3.073 MB / 0.5414 GB, free: 22.97 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches