Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001249/0.001249, 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.001537/0.001537, 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.4/1.4, allocations: 230.3 MB / 258 MB, free: 8.227 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.2207/0.2207, allocations: 46.89 MB / 361.3 MB, free: 4.477 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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater")
translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 76.16 kB / 0.4971 GB, free: 7.578 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3368, allocations: 66.02 MB / 0.5616 GB, free: 4.609 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007279/0.3441, allocations: 5.081 MB / 0.5665 GB, free: 15.49 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005298/0.3494, allocations: 4.586 MB / 0.571 GB, free: 10.89 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.424e-05/0.3495, allocations: 0 / 0.571 GB, free: 10.89 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00029/0.3498, allocations: 71.52 kB / 0.5711 GB, free: 10.82 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001619/0.3514, allocations: 0.6759 MB / 0.5717 GB, free: 10.14 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.3518, allocations: 158.2 kB / 0.5719 GB, free: 9.996 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005588/0.3523, allocations: 378.1 kB / 0.5722 GB, free: 9.625 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.06e-05/0.3524, allocations: 17.8 kB / 0.5723 GB, free: 9.605 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.3526, allocations: 151.5 kB / 0.5724 GB, free: 9.457 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.3528, allocations: 135.4 kB / 0.5725 GB, free: 9.324 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.168e-05/0.3529, allocations: 8 kB / 0.5725 GB, free: 9.316 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000762/0.3536, allocations: 371.5 kB / 0.5729 GB, free: 8.953 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.915e-05/0.3537, allocations: 43.83 kB / 0.5729 GB, free: 8.91 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.3538, allocations: 107.5 kB / 0.573 GB, free: 8.805 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006993/0.3545, allocations: 437.1 kB / 0.5735 GB, free: 8.383 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3545, allocations: 0 / 0.5735 GB, free: 8.383 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.212e-06/0.3546, allocations: 4 kB / 0.5735 GB, free: 8.379 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 6.752e-06/0.3546, allocations: 0 / 0.5735 GB, free: 8.379 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.001055/0.3556, allocations: 0.5285 MB / 0.574 GB, free: 7.82 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3556, allocations: 8.031 kB / 0.574 GB, free: 7.812 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.3558, allocations: 24.84 kB / 0.574 GB, free: 7.789 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.3561, allocations: 174.2 kB / 0.5742 GB, free: 7.594 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.3563, allocations: 131.8 kB / 0.5743 GB, free: 7.438 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.703e-05/0.3563, allocations: 16.38 kB / 0.5743 GB, free: 7.422 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.3569, allocations: 346.8 kB / 0.5746 GB, free: 7.059 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3569, allocations: 0 / 0.5746 GB, free: 7.059 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.3569, allocations: 12 kB / 0.5747 GB, free: 7.047 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.904e-05/0.357, allocations: 4 kB / 0.5747 GB, free: 7.043 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009466/0.3579, allocations: 0.7547 MB / 0.5754 GB, free: 6.285 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.001424/0.3593, allocations: 1.225 MB / 0.5766 GB, free: 4.965 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.3596, allocations: 139.4 kB / 0.5767 GB, free: 4.82 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.3598, allocations: 72.83 kB / 0.5768 GB, free: 4.746 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.001338/0.3611, allocations: 0.6633 MB / 0.5774 GB, free: 4.062 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3611, allocations: 34.56 kB / 0.5775 GB, free: 4.02 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.3611, allocations: 0 / 0.5775 GB, free: 4.02 MB / 414.1 MB
Notification: Performance of matching and sorting (n=14): time 0.0006885/0.3618, allocations: 219 kB / 0.5777 GB, free: 3.801 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3619, allocations: 63.34 kB / 0.5777 GB, free: 3.727 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.3621, allocations: 214.8 kB / 0.578 GB, free: 3.508 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3621, allocations: 29.7 kB / 0.578 GB, free: 3.473 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.3622, allocations: 215.6 kB / 0.5782 GB, free: 3.258 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/0.3623, allocations: 55.53 kB / 0.5782 GB, free: 3.203 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.3624, allocations: 86.02 kB / 0.5783 GB, free: 3.113 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001471/0.3625, allocations: 330.8 kB / 0.5786 GB, free: 2.781 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-05/0.3626, allocations: 52.84 kB / 0.5787 GB, free: 2.727 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.363, allocations: 320.1 kB / 0.579 GB, free: 2.289 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.3635, allocations: 415.5 kB / 0.5794 GB, free: 1.754 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3635, allocations: 4 kB / 0.5794 GB, free: 1.75 MB / 414.1 MB
Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005593/0.364, allocations: 369.6 kB / 0.5797 GB, free: 1.383 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.364, allocations: 14.56 kB / 0.5798 GB, free: 1.371 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.364, allocations: 8 kB / 0.5798 GB, free: 1.363 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.3641, allocations: 12 kB / 0.5798 GB, free: 1.352 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.3644, allocations: 111.8 kB / 0.5799 GB, free: 1.242 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.875e-05/0.3644, allocations: 19.94 kB / 0.5799 GB, free: 1.223 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.3646, allocations: 12 kB / 0.5799 GB, free: 1.211 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.3647, allocations: 31.98 kB / 0.5799 GB, free: 1.18 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 42
 * 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.0001439/0.3648, allocations: 154.8 kB / 0.5801 GB, free: 1.02 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/0.3649, allocations: 27.84 kB / 0.5801 GB, free: 0.9922 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.3652, allocations: 142.9 kB / 0.5803 GB, free: 0.8438 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.3652, allocations: 7.922 kB / 0.5803 GB, free: 0.8359 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3652, allocations: 4 kB / 0.5803 GB, free: 0.832 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3652, allocations: 0 / 0.5803 GB, free: 0.832 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.3658, allocations: 410.3 kB / 0.5807 GB, free: 388 kB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3658, allocations: 0 / 0.5807 GB, free: 388 kB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.3659, allocations: 36.05 kB / 0.5807 GB, free: 352 kB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3659, allocations: 0 / 0.5807 GB, free: 352 kB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.366, allocations: 11.98 kB / 0.5807 GB, free: 340 kB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.366, allocations: 3.938 kB / 0.5807 GB, free: 336 kB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.366, allocations: 0 / 0.5807 GB, free: 336 kB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.3662, allocations: 223.9 kB / 0.5809 GB, free: 96 kB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.3663, allocations: 23.83 kB / 0.5809 GB, free: 72 kB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.3663, allocations: 8 kB / 0.581 GB, free: 64 kB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.3665, allocations: 7.984 kB / 0.581 GB, free: 56 kB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.3665, allocations: 7.984 kB / 0.581 GB, free: 48 kB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/0.3666, allocations: 15.98 kB / 0.581 GB, free: 32 kB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0001452/0.3667, allocations: 144.5 kB / 0.5811 GB, free: 15.89 MB / 430.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3667, allocations: 0 / 0.5811 GB, free: 15.89 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.0004692/0.3672, allocations: 103.9 kB / 0.5812 GB, free: 15.79 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * 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 (14):
 * Single equations (assignments): 13
 * 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.0002807/0.3675, allocations: 159 kB / 0.5814 GB, free: 15.62 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003176/0.3678, allocations: 169 kB / 0.5815 GB, free: 15.46 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3678, allocations: 0 / 0.5815 GB, free: 15.46 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 6.109e-05/0.3678, allocations: 35.92 kB / 0.5816 GB, free: 15.43 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.3683, allocations: 57.33 kB / 0.5816 GB, free: 15.37 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/0.3692, allocations: 0.5183 MB / 0.5821 GB, free: 14.82 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.3696, allocations: 0.7245 MB / 0.5828 GB, free: 14.07 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0002039/0.3698, allocations: 62.83 kB / 0.5829 GB, free: 14 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.3699, allocations: 31.42 kB / 0.5829 GB, free: 13.97 MB / 430.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.3699, allocations: 0 / 0.5829 GB, free: 13.97 MB / 430.1 MB
Notification: Performance of Templates: time 0.007912/0.3778, allocations: 3.691 MB / 0.5865 GB, free: 10.3 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater_res.mat.
Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed!
"
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.084878618828952]