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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 106.6 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3438/0.3438, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 51.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3685, allocations: 60.8 MB / 0.5064 GB, free: 38.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.026/0.3945, allocations: 28.54 MB / 0.5343 GB, free: 18.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.3971, allocations: 3.02 MB / 0.5372 GB, free: 16.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.3971, allocations: 2.688 kB / 0.5372 GB, free: 16.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.3974, allocations: 44.5 kB / 0.5373 GB, free: 16.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001337/0.3988, allocations: 0.6557 MB / 0.5379 GB, free: 16.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.3991, allocations: 130.7 kB / 0.538 GB, free: 15.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000468/0.3996, allocations: 444.1 kB / 0.5384 GB, free: 15.79 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.3997, allocations: 18.28 kB / 0.5385 GB, free: 15.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03254/0.4322, allocations: 14.43 MB / 0.5525 GB, free: 9.008 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003555/0.4326, allocations: 158.9 kB / 0.5527 GB, free: 8.949 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.447e-05/0.4326, allocations: 5.656 kB / 0.5527 GB, free: 8.949 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008251/0.4409, allocations: 3.433 MB / 0.5561 GB, free: 7.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.657e-05/0.441, allocations: 41.91 kB / 0.5561 GB, free: 7.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.4412, allocations: 110.2 kB / 0.5562 GB, free: 7.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009338/0.4421, allocations: 472.2 kB / 0.5567 GB, free: 7.113 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4421, allocations: 0 / 0.5567 GB, free: 7.113 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4422, allocations: 1.062 kB / 0.5567 GB, free: 7.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.4422, allocations: 0 / 0.5567 GB, free: 7.113 MB / 378.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.001055/0.4432, allocations: 0.6005 MB / 0.5572 GB, free: 6.629 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/0.4433, allocations: 8.594 kB / 0.5572 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.4435, allocations: 26.36 kB / 0.5573 GB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.4437, allocations: 226.9 kB / 0.5575 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.4438, allocations: 120.9 kB / 0.5576 GB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.4438, allocations: 26.59 kB / 0.5576 GB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.4443, allocations: 330.4 kB / 0.5579 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4443, allocations: 0 / 0.5579 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.4444, allocations: 11.41 kB / 0.558 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.4444, allocations: 7.547 kB / 0.558 GB, free: 6.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008868/0.4453, allocations: 0.7414 MB / 0.5587 GB, free: 5.934 MB / 378.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.001171/0.4465, allocations: 1.301 MB / 0.56 GB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.4468, allocations: 163.9 kB / 0.5601 GB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.447, allocations: 88.23 kB / 0.5602 GB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001937/0.4489, allocations: 2.804 MB / 0.5629 GB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.4489, allocations: 41.14 kB / 0.563 GB, free: 1.621 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.449, allocations: 0 / 0.563 GB, free: 1.621 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002926/0.4493, allocations: 113.3 kB / 0.5631 GB, free: 1.562 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.4493, allocations: 58.3 kB / 0.5631 GB, free: 1.496 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.4495, allocations: 219.9 kB / 0.5633 GB, free: 1.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.4495, allocations: 30.8 kB / 0.5634 GB, free: 1.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.4496, allocations: 218.4 kB / 0.5636 GB, free: 1.125 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.4496, allocations: 40.72 kB / 0.5636 GB, free: 1.098 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.922e-05/0.4497, allocations: 89.38 kB / 0.5637 GB, free: 1.043 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.477e-05/0.4498, allocations: 332.9 kB / 0.564 GB, free: 0.7188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.4499, allocations: 44.09 kB / 0.5641 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.4501, allocations: 341.2 kB / 0.5644 GB, free: 304 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.4505, allocations: 445 kB / 0.5648 GB, free: 15.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.4505, allocations: 3.375 kB / 0.5648 GB, free: 15.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000585/0.4511, allocations: 381.2 kB / 0.5652 GB, free: 15.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.4511, allocations: 9.375 kB / 0.5652 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.4511, allocations: 10.34 kB / 0.5652 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/0.4512, allocations: 22.77 kB / 0.5652 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.4514, allocations: 99.86 kB / 0.5653 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/0.4514, allocations: 20.12 kB / 0.5653 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.4517, allocations: 64.5 kB / 0.5654 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.4518, allocations: 33.95 kB / 0.5654 GB, free: 15.57 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 0.0001315/0.4519, allocations: 143.4 kB / 0.5656 GB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.4519, allocations: 18.94 kB / 0.5656 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.4522, allocations: 150 kB / 0.5657 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.4523, allocations: 5.953 kB / 0.5657 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4523, allocations: 5.344 kB / 0.5657 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4523, allocations: 0.5156 kB / 0.5657 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.4528, allocations: 412.8 kB / 0.5661 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4528, allocations: 1.688 kB / 0.5661 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.4528, allocations: 11.78 kB / 0.5662 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4528, allocations: 3.078 kB / 0.5662 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.4529, allocations: 1.094 kB / 0.5662 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.4529, allocations: 7.312 kB / 0.5662 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4529, allocations: 1.156 kB / 0.5662 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/0.4533, allocations: 0.7836 MB / 0.5669 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.4534, allocations: 102.7 kB / 0.567 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.4535, allocations: 4.016 kB / 0.567 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.4536, allocations: 7.359 kB / 0.567 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.4537, allocations: 9.594 kB / 0.567 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.4537, allocations: 4.219 kB / 0.5671 GB, free: 14.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001355/0.4538, allocations: 161.4 kB / 0.5672 GB, free: 13.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4538, allocations: 1.125 kB / 0.5672 GB, free: 13.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006088/0.4544, allocations: 97.38 kB / 0.5673 GB, free: 13.91 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.000275/0.4547, allocations: 169.6 kB / 0.5675 GB, free: 13.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.455, allocations: 167.2 kB / 0.5676 GB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.455, allocations: 4.062 kB / 0.5676 GB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.803e-05/0.4551, allocations: 23.44 kB / 0.5676 GB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004462/0.4555, allocations: 45.02 kB / 0.5677 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.4566, allocations: 0.7196 MB / 0.5684 GB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.4569, allocations: 0.7361 MB / 0.5691 GB, free: 12.37 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002502/0.4572, allocations: 50.55 kB / 0.5692 GB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.4572, allocations: 30.67 kB / 0.5692 GB, free: 12.33 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4572, allocations: 0 / 0.5692 GB, free: 12.33 MB / 394.7 MB Notification: Performance of Templates: time 0.006469/0.4637, allocations: 3.088 MB / 0.5722 GB, free: 10.75 MB / 394.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches