Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 210.9 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2296/0.2296, allocations: 46.97 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 67.91 kB / 0.4974 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3432, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006849/0.3501, allocations: 4.696 MB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004885/0.355, allocations: 4.084 MB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.755e-05/0.355, allocations: 4 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.3553, allocations: 55.61 kB / 0.5705 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.357, allocations: 0.672 MB / 0.5711 GB, free: 10.6 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.3574, allocations: 162.7 kB / 0.5713 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000512/0.3579, allocations: 378.1 kB / 0.5716 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.169e-05/0.3579, allocations: 17.8 kB / 0.5717 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.3582, allocations: 159.4 kB / 0.5718 GB, free: 9.898 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.3584, allocations: 135.5 kB / 0.5719 GB, free: 9.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.3584, allocations: 8 kB / 0.572 GB, free: 9.758 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007213/0.3591, allocations: 323.6 kB / 0.5723 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3592, allocations: 47.81 kB / 0.5723 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.3594, allocations: 95.52 kB / 0.5724 GB, free: 9.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007347/0.3601, allocations: 433.1 kB / 0.5728 GB, free: 8.883 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3601, allocations: 0 / 0.5728 GB, free: 8.883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3601, allocations: 0 / 0.5728 GB, free: 8.883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.3601, allocations: 0 / 0.5728 GB, free: 8.883 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.001259/0.3614, allocations: 0.5207 MB / 0.5733 GB, free: 8.332 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3614, allocations: 16.02 kB / 0.5733 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.3616, allocations: 24.84 kB / 0.5734 GB, free: 8.293 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.362, allocations: 174.2 kB / 0.5735 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002271/0.3622, allocations: 230.7 kB / 0.5737 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.3623, allocations: 20.38 kB / 0.5738 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.3629, allocations: 0.5065 MB / 0.5743 GB, free: 7.227 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3629, allocations: 4 kB / 0.5743 GB, free: 7.223 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.363, allocations: 12 kB / 0.5743 GB, free: 7.211 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.363, allocations: 4 kB / 0.5743 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009209/0.3639, allocations: 0.7196 MB / 0.575 GB, free: 6.484 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.001376/0.3653, allocations: 1.038 MB / 0.576 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.3656, allocations: 135.5 kB / 0.5761 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.3658, allocations: 72.77 kB / 0.5762 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001381/0.3671, allocations: 0.6477 MB / 0.5768 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3672, allocations: 38.56 kB / 0.5769 GB, free: 4.465 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3672, allocations: 0 / 0.5769 GB, free: 4.465 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006842/0.3679, allocations: 220.5 kB / 0.5771 GB, free: 4.246 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.3679, allocations: 63.33 kB / 0.5771 GB, free: 4.172 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.3681, allocations: 230.6 kB / 0.5774 GB, free: 3.938 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.3682, allocations: 29.7 kB / 0.5774 GB, free: 3.902 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3683, allocations: 219.5 kB / 0.5776 GB, free: 3.684 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.3683, allocations: 51.59 kB / 0.5776 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.643e-05/0.3684, allocations: 82.08 kB / 0.5777 GB, free: 3.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3686, allocations: 330.8 kB / 0.578 GB, free: 3.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.321e-05/0.3687, allocations: 52.84 kB / 0.5781 GB, free: 3.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.369, allocations: 312.1 kB / 0.5784 GB, free: 2.727 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.3694, allocations: 415.5 kB / 0.5788 GB, free: 2.191 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3694, allocations: 7.938 kB / 0.5788 GB, free: 2.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005577/0.37, allocations: 368.9 kB / 0.5791 GB, free: 1.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.37, allocations: 8 kB / 0.5791 GB, free: 1.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.37, allocations: 12.91 kB / 0.5792 GB, free: 1.797 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.3701, allocations: 15.98 kB / 0.5792 GB, free: 1.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/0.3704, allocations: 107.8 kB / 0.5793 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/0.3704, allocations: 23.86 kB / 0.5793 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.3706, allocations: 23.98 kB / 0.5793 GB, free: 1.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.3707, allocations: 24 kB / 0.5793 GB, free: 1.605 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.0001476/0.3708, allocations: 153.5 kB / 0.5795 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.3709, allocations: 19.89 kB / 0.5795 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.3712, allocations: 150.9 kB / 0.5797 GB, free: 1.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.3712, allocations: 4 kB / 0.5797 GB, free: 1.266 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3712, allocations: 7.922 kB / 0.5797 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3712, allocations: 0 / 0.5797 GB, free: 1.258 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006004/0.3718, allocations: 367 kB / 0.58 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3718, allocations: 0 / 0.58 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.372, allocations: 36.12 kB / 0.58 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.372, allocations: 0 / 0.58 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.372, allocations: 15.88 kB / 0.5801 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.372, allocations: 0 / 0.5801 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.372, allocations: 0 / 0.5801 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.3723, allocations: 216.2 kB / 0.5803 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/0.3724, allocations: 35.83 kB / 0.5803 GB, free: 0.543 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.35e-05/0.3724, allocations: 7.875 kB / 0.5803 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.3726, allocations: 8 kB / 0.5803 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.3727, allocations: 11.97 kB / 0.5803 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.3727, allocations: 8 kB / 0.5803 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.3728, allocations: 156.5 kB / 0.5805 GB, free: 368 kB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3728, allocations: 0 / 0.5805 GB, free: 368 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005008/0.3733, allocations: 99.88 kB / 0.5806 GB, free: 268 kB / 414.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.0003248/0.3737, allocations: 170.9 kB / 0.5807 GB, free: 88 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003689/0.374, allocations: 169.2 kB / 0.5809 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.374, allocations: 0 / 0.5809 GB, free: 15.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.956e-05/0.3741, allocations: 39.67 kB / 0.5809 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.3746, allocations: 54.39 kB / 0.581 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.3756, allocations: 0.5106 MB / 0.5815 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.3757, allocations: 116.6 kB / 0.5816 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.376, allocations: 62.83 kB / 0.5817 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.088e-05/0.376, allocations: 27.44 kB / 0.5817 GB, free: 15.07 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.376, allocations: 0 / 0.5817 GB, free: 15.07 MB / 430.1 MB Notification: Performance of Templates: time 0.008145/0.3842, allocations: 3.843 MB / 0.5854 GB, free: 11.28 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1757792540011]