Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001278, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001646, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 230.3 MB / 258 MB, free: 8.223 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.89 MB / 361.3 MB, free: 4.445 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 79.86 kB / 0.4971 GB, free: 7.547 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3344, allocations: 66.04 MB / 0.5616 GB, free: 4.617 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006587/0.341, allocations: 4.643 MB / 0.5661 GB, free: 15.95 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005111/0.3461, allocations: 4.037 MB / 0.5701 GB, free: 11.9 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.3463, allocations: 4 kB / 0.5701 GB, free: 11.89 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.3466, allocations: 51.67 kB / 0.5701 GB, free: 11.84 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002161/0.3487, allocations: 0.746 MB / 0.5708 GB, free: 11.09 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.3491, allocations: 131.3 kB / 0.571 GB, free: 10.97 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000777/0.3499, allocations: 382 kB / 0.5713 GB, free: 10.59 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.35, allocations: 5.812 kB / 0.5713 GB, free: 10.59 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.3502, allocations: 147.4 kB / 0.5715 GB, free: 10.44 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.3505, allocations: 151.5 kB / 0.5716 GB, free: 10.29 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.635e-05/0.3506, allocations: 8 kB / 0.5716 GB, free: 10.29 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.3518, allocations: 443.4 kB / 0.572 GB, free: 9.852 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3519, allocations: 51.73 kB / 0.5721 GB, free: 9.801 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000152/0.3521, allocations: 103.5 kB / 0.5722 GB, free: 9.699 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008928/0.3529, allocations: 477 kB / 0.5726 GB, free: 9.238 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.353, allocations: 8 kB / 0.5727 GB, free: 9.23 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.364e-06/0.353, allocations: 0 / 0.5727 GB, free: 9.23 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 1.448e-05/0.353, allocations: 0 / 0.5727 GB, free: 9.23 MB / 414.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.001218/0.3542, allocations: 0.5285 MB / 0.5732 GB, free: 8.672 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3542, allocations: 8.031 kB / 0.5732 GB, free: 8.664 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.3544, allocations: 28.84 kB / 0.5732 GB, free: 8.637 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.3547, allocations: 174.2 kB / 0.5734 GB, free: 8.441 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.3549, allocations: 123.9 kB / 0.5735 GB, free: 8.293 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.3549, allocations: 20.38 kB / 0.5735 GB, free: 8.273 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005376/0.3555, allocations: 338.8 kB / 0.5738 GB, free: 7.918 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3555, allocations: 4 kB / 0.5738 GB, free: 7.914 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.3555, allocations: 8 kB / 0.5738 GB, free: 7.906 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.3555, allocations: 8 kB / 0.5739 GB, free: 7.898 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008736/0.3564, allocations: 0.7586 MB / 0.5746 GB, free: 7.137 MB / 414.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.001519/0.3579, allocations: 1.284 MB / 0.5758 GB, free: 5.742 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.3583, allocations: 155.7 kB / 0.576 GB, free: 5.582 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.3584, allocations: 81.42 kB / 0.5761 GB, free: 5.5 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.001531/0.36, allocations: 0.731 MB / 0.5768 GB, free: 4.75 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.36, allocations: 38.56 kB / 0.5768 GB, free: 4.703 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.36, allocations: 4 kB / 0.5768 GB, free: 4.699 MB / 414.1 MB
Notification: Performance of matching and sorting (n=11): time 0.0002983/0.3603, allocations: 129.6 kB / 0.577 GB, free: 4.566 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3603, allocations: 55.41 kB / 0.577 GB, free: 4.5 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.3605, allocations: 222 kB / 0.5772 GB, free: 4.277 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.3606, allocations: 25.7 kB / 0.5772 GB, free: 4.246 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.3607, allocations: 223.5 kB / 0.5775 GB, free: 4.023 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.3607, allocations: 43.64 kB / 0.5775 GB, free: 3.98 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3608, allocations: 82.08 kB / 0.5776 GB, free: 3.895 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001475/0.361, allocations: 330.8 kB / 0.5779 GB, free: 3.562 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.407e-05/0.3611, allocations: 44.84 kB / 0.5779 GB, free: 3.516 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.3614, allocations: 343.2 kB / 0.5783 GB, free: 3.035 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.3619, allocations: 444.6 kB / 0.5787 GB, free: 2.453 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.3619, allocations: 4 kB / 0.5787 GB, free: 2.449 MB / 414.1 MB
Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005516/0.3624, allocations: 385.1 kB / 0.5791 GB, free: 2.066 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.3624, allocations: 14.19 kB / 0.5791 GB, free: 2.055 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.3625, allocations: 8 kB / 0.5791 GB, free: 2.047 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.3625, allocations: 20.66 kB / 0.5791 GB, free: 2.027 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.3627, allocations: 99.83 kB / 0.5792 GB, free: 1.93 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.233e-05/0.3628, allocations: 31.91 kB / 0.5792 GB, free: 1.898 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.363, allocations: 55.56 kB / 0.5793 GB, free: 1.844 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.363, allocations: 28 kB / 0.5793 GB, free: 1.816 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.000125/0.3631, allocations: 146.9 kB / 0.5794 GB, free: 1.664 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.3632, allocations: 23.84 kB / 0.5795 GB, free: 1.641 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.3635, allocations: 144.6 kB / 0.5796 GB, free: 1.484 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.3635, allocations: 7.922 kB / 0.5796 GB, free: 1.477 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3635, allocations: 3.938 kB / 0.5796 GB, free: 1.473 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3635, allocations: 0 / 0.5796 GB, free: 1.473 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004771/0.364, allocations: 380 kB / 0.58 GB, free: 1.043 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.364, allocations: 96 / 0.58 GB, free: 1.043 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.364, allocations: 23.86 kB / 0.58 GB, free: 1.02 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.364, allocations: 0 / 0.58 GB, free: 1.02 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.364, allocations: 4 kB / 0.58 GB, free: 1.016 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.364, allocations: 8 kB / 0.58 GB, free: 1.008 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3641, allocations: 4 kB / 0.58 GB, free: 1.004 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.3643, allocations: 209.9 kB / 0.5802 GB, free: 0.7734 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/0.3643, allocations: 23.84 kB / 0.5802 GB, free: 0.75 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.508e-05/0.3644, allocations: 7.938 kB / 0.5802 GB, free: 0.7422 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.3645, allocations: 4 kB / 0.5802 GB, free: 0.7383 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.3645, allocations: 7.984 kB / 0.5803 GB, free: 0.7305 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3645, allocations: 8 kB / 0.5803 GB, free: 0.7227 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001385/0.3647, allocations: 156.5 kB / 0.5804 GB, free: 0.5703 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3647, allocations: 0 / 0.5804 GB, free: 0.5703 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0004694/0.3651, allocations: 91.88 kB / 0.5805 GB, free: 492 kB / 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.0002596/0.3654, allocations: 147.1 kB / 0.5806 GB, free: 332 kB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002974/0.3657, allocations: 172.5 kB / 0.5808 GB, free: 160 kB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3657, allocations: 1.875 kB / 0.5808 GB, free: 160 kB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.073e-05/0.3657, allocations: 27.92 kB / 0.5808 GB, free: 132 kB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.3662, allocations: 47.31 kB / 0.5809 GB, free: 88 kB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009765/0.3671, allocations: 0.5358 MB / 0.5814 GB, free: 15.52 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3675, allocations: 0.7206 MB / 0.5821 GB, free: 14.77 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0001651/0.3676, allocations: 54.92 kB / 0.5822 GB, free: 14.71 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.3677, allocations: 31.42 kB / 0.5822 GB, free: 14.68 MB / 430.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.3677, allocations: 0 / 0.5822 GB, free: 14.68 MB / 430.1 MB
Notification: Performance of Templates: time 0.00732/0.375, allocations: 3.316 MB / 0.5854 GB, free: 11.38 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat.
Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed!
"
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.042995356023312]