Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 106 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 189.2 kB / 24.51 MB, free: 4.051 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.235/0.235, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB
"
[Timeout remaining time 179]
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: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.LinearColdWater")
translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.LinearColdWater") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002634/0.002634, allocations: 75.88 kB / 497.7 MB, free: 0.9844 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4861, allocations: 64.28 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007907/0.494, allocations: 4.6 MB / 0.5533 GB, free: 9.43 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005642/0.4996, allocations: 4.024 MB / 0.5573 GB, free: 6.168 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.4999, allocations: 1.062 kB / 0.5573 GB, free: 6.168 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.5002, allocations: 59.25 kB / 0.5573 GB, free: 6.117 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002846/0.503, allocations: 0.7405 MB / 0.5581 GB, free: 5.543 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.5034, allocations: 145.1 kB / 0.5582 GB, free: 5.445 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000809/0.5042, allocations: 374 kB / 0.5585 GB, free: 5.238 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.873e-05/0.5043, allocations: 7.531 kB / 0.5586 GB, free: 5.234 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.5047, allocations: 147.4 kB / 0.5587 GB, free: 5.164 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004345/0.5052, allocations: 148.7 kB / 0.5588 GB, free: 5.09 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.838e-05/0.5052, allocations: 7.938 kB / 0.5588 GB, free: 5.09 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001684/0.5069, allocations: 451.8 kB / 0.5593 GB, free: 4.719 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000129/0.5071, allocations: 43.77 kB / 0.5593 GB, free: 4.676 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.5073, allocations: 111.5 kB / 0.5594 GB, free: 4.566 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001523/0.5088, allocations: 473.1 kB / 0.5599 GB, free: 4.109 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.5088, allocations: 0 / 0.5599 GB, free: 4.109 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.475e-06/0.5088, allocations: 0 / 0.5599 GB, free: 4.109 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.584e-05/0.5088, allocations: 4 kB / 0.5599 GB, free: 4.105 MB / 398.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.001449/0.5103, allocations: 0.5285 MB / 0.5604 GB, free: 3.547 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5103, allocations: 12.86 kB / 0.5604 GB, free: 3.535 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.5106, allocations: 32.78 kB / 0.5604 GB, free: 3.504 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.511, allocations: 166.2 kB / 0.5606 GB, free: 3.316 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.5111, allocations: 127.9 kB / 0.5607 GB, free: 3.168 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.5111, allocations: 20.38 kB / 0.5607 GB, free: 3.148 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00063/0.5118, allocations: 338.8 kB / 0.5611 GB, free: 2.789 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5118, allocations: 0 / 0.5611 GB, free: 2.789 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.5118, allocations: 19.97 kB / 0.5611 GB, free: 2.77 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.5119, allocations: 8 kB / 0.5611 GB, free: 2.762 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009163/0.5128, allocations: 0.7547 MB / 0.5618 GB, free: 2.004 MB / 398.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.001677/0.5144, allocations: 1.28 MB / 0.5631 GB, free: 0.6133 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000406/0.5148, allocations: 147.7 kB / 0.5632 GB, free: 472 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.515, allocations: 93.34 kB / 0.5633 GB, free: 376 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.001688/0.5167, allocations: 0.731 MB / 0.564 GB, free: 15.62 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.5167, allocations: 42.55 kB / 0.5641 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.5167, allocations: 0 / 0.5641 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0003318/0.5171, allocations: 105.5 kB / 0.5642 GB, free: 15.46 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.5171, allocations: 59.34 kB / 0.5642 GB, free: 15.39 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/0.5174, allocations: 227.9 kB / 0.5644 GB, free: 15.16 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.5174, allocations: 29.7 kB / 0.5645 GB, free: 15.12 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.5176, allocations: 223.5 kB / 0.5647 GB, free: 14.9 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.5176, allocations: 51.66 kB / 0.5647 GB, free: 14.85 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.5177, allocations: 82.05 kB / 0.5648 GB, free: 14.76 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001645/0.5179, allocations: 334.8 kB / 0.5651 GB, free: 14.43 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.93e-05/0.518, allocations: 44.84 kB / 0.5652 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.5184, allocations: 343.2 kB / 0.5655 GB, free: 13.9 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000547/0.5189, allocations: 452.6 kB / 0.5659 GB, free: 13.31 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.5189, allocations: 4 kB / 0.5659 GB, free: 13.3 MB / 414.1 MB
Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006639/0.5196, allocations: 377.7 kB / 0.5663 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.5196, allocations: 12 kB / 0.5663 GB, free: 12.92 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.5196, allocations: 8 kB / 0.5663 GB, free: 12.91 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.205e-05/0.5197, allocations: 19.94 kB / 0.5663 GB, free: 12.89 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.52, allocations: 99.77 kB / 0.5664 GB, free: 12.79 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.229e-05/0.52, allocations: 19.94 kB / 0.5664 GB, free: 12.77 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.5203, allocations: 55.56 kB / 0.5665 GB, free: 12.72 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.5203, allocations: 35.98 kB / 0.5665 GB, free: 12.68 MB / 414.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.0001699/0.5205, allocations: 145.9 kB / 0.5667 GB, free: 12.53 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.444e-05/0.5206, allocations: 23.86 kB / 0.5667 GB, free: 12.51 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.5209, allocations: 144.5 kB / 0.5668 GB, free: 12.35 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.5209, allocations: 7.938 kB / 0.5668 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.5209, allocations: 0 / 0.5668 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5209, allocations: 0 / 0.5668 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005969/0.5215, allocations: 388 kB / 0.5672 GB, free: 11.9 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5215, allocations: 0 / 0.5672 GB, free: 11.9 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.5216, allocations: 12 kB / 0.5672 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5216, allocations: 4.078 kB / 0.5672 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.5216, allocations: 8 kB / 0.5672 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5216, allocations: 0 / 0.5672 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5216, allocations: 4.031 kB / 0.5672 GB, free: 11.88 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.5219, allocations: 209.8 kB / 0.5674 GB, free: 11.64 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.5219, allocations: 27.83 kB / 0.5675 GB, free: 11.62 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.522, allocations: 4 kB / 0.5675 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.5221, allocations: 4 kB / 0.5675 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.5222, allocations: 7.984 kB / 0.5675 GB, free: 11.6 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.5222, allocations: 4 kB / 0.5675 GB, free: 11.6 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001565/0.5223, allocations: 156.5 kB / 0.5676 GB, free: 11.45 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.5223, allocations: 0 / 0.5676 GB, free: 11.45 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.000558/0.5229, allocations: 99.81 kB / 0.5677 GB, free: 11.35 MB / 414.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.0003661/0.5233, allocations: 155.1 kB / 0.5679 GB, free: 11.19 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003717/0.5236, allocations: 169.9 kB / 0.568 GB, free: 11.02 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.5236, allocations: 0 / 0.568 GB, free: 11.02 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.789e-05/0.5237, allocations: 27.92 kB / 0.5681 GB, free: 11 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004773/0.5242, allocations: 44.33 kB / 0.5681 GB, free: 10.95 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.5254, allocations: 0.5408 MB / 0.5686 GB, free: 10.38 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.5258, allocations: 0.7323 MB / 0.5693 GB, free: 9.621 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.000231/0.526, allocations: 46.78 kB / 0.5694 GB, free: 9.57 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.5261, allocations: 27.44 kB / 0.5694 GB, free: 9.543 MB / 414.1 MB
Notification: Performance of SimCode: time 4.81e-07/0.5261, allocations: 4 kB / 0.5694 GB, free: 9.539 MB / 414.1 MB
Notification: Performance of Templates: time 0.008972/0.5351, allocations: 3.33 MB / 0.5727 GB, free: 6.238 MB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
"Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat.
Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed!
"
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.9772464875131845]