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.001178/0.001178, allocations: 80.11 kB / 9.937 MB, free: 0.75 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001919/0.003096, allocations: 445.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001089/0.001089, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002458, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.009/1.009, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1099/1.119, allocations: 53.87 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] 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.2746/0.2746, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02537/0.3, allocations: 13.24 MB / 292.6 MB, free: 6.461 MB / 282.7 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.[0-9,]+.|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.[0-9,]+.|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 1.543e-06/1.543e-06, allocations: 0 / 293.9 MB, free: 5.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.903e-05, allocations: 2.312 kB / 293.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004507/0.004526, allocations: 5.17 MB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003652/0.008178, allocations: 4.729 MB / 303.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/0.008277, allocations: 0 / 303.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.008476, allocations: 59.53 kB / 303.9 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.009861, allocations: 0.7065 MB / 304.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.01014, allocations: 160.5 kB / 304.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000385/0.01052, allocations: 409.9 kB / 305.1 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.01056, allocations: 18.38 kB / 305.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.01078, allocations: 211.4 kB / 305.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.0109, allocations: 107.7 kB / 305.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.01092, allocations: 8 kB / 305.5 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005255/0.01145, allocations: 347.3 kB / 305.8 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.01151, allocations: 27.88 kB / 305.8 MB, free: 9.191 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.01157, allocations: 63.88 kB / 305.9 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.012, allocations: 399.7 kB / 306.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.01201, allocations: 0 / 306.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01201, allocations: 0 / 306.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.01203, allocations: 4 kB / 306.3 MB, free: 8.734 MB / 298.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.0007588/0.01278, allocations: 0.6384 MB / 306.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.01282, allocations: 16.91 kB / 306.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.01292, allocations: 44.84 kB / 307 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.0131, allocations: 165.5 kB / 307.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.756e-05/0.0132, allocations: 222.7 kB / 307.4 MB, free: 7.539 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.01323, allocations: 24.38 kB / 307.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.01351, allocations: 438.9 kB / 307.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.01352, allocations: 192 / 307.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.01354, allocations: 15.94 kB / 307.8 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.01356, allocations: 8 kB / 307.8 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.01387, allocations: 439.5 kB / 308.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.01456, allocations: 0.9381 MB / 309.2 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.01474, allocations: 150.2 kB / 309.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.127e-05/0.01478, allocations: 44.84 kB / 309.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007178/0.01549, allocations: 0.681 MB / 310.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.01552, allocations: 42.56 kB / 310.1 MB, free: 4.629 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.01552, allocations: 4 kB / 310.1 MB, free: 4.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002472/0.01577, allocations: 175.1 kB / 310.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.01579, allocations: 55.41 kB / 310.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.0159, allocations: 225.8 kB / 310.6 MB, free: 4.148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.01591, allocations: 25.7 kB / 310.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.306e-05/0.016, allocations: 223.5 kB / 310.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.01602, allocations: 55.56 kB / 310.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.01608, allocations: 82.06 kB / 310.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.01616, allocations: 326.8 kB / 311.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.251e-05/0.01619, allocations: 35.8 kB / 311.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.01633, allocations: 300.1 kB / 311.6 MB, free: 2.973 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.01655, allocations: 384.1 kB / 312 MB, free: 2.469 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.01655, allocations: 4 kB / 312 MB, free: 2.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002434/0.01679, allocations: 292.5 kB / 312.3 MB, free: 2.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.01681, allocations: 8.188 kB / 312.3 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.01682, allocations: 16 kB / 312.3 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.01683, allocations: 12 kB / 312.3 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.01707, allocations: 119.8 kB / 312.4 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.01708, allocations: 19.92 kB / 312.4 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.0172, allocations: 51.62 kB / 312.5 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.01722, allocations: 27.98 kB / 312.5 MB, free: 1.922 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (50): * Single equations (assignments): 49 * 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 7.444e-05/0.0173, allocations: 144.4 kB / 312.6 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.01732, allocations: 19.98 kB / 312.7 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.01748, allocations: 125.5 kB / 312.8 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.01749, allocations: 0 / 312.8 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.01749, allocations: 4 kB / 312.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.0175, allocations: 0 / 312.8 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.01764, allocations: 121.8 kB / 312.9 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.01764, allocations: 7.938 kB / 312.9 MB, free: 1.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.991e-05/0.01773, allocations: 35.97 kB / 312.9 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.483e-05/0.01777, allocations: 23.89 kB / 313 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.01777, allocations: 4 kB / 313 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.01777, allocations: 0 / 313 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.01778, allocations: 0 / 313 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01778, allocations: 0 / 313 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.01811, allocations: 226.1 kB / 313.2 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.01813, allocations: 7.938 kB / 313.2 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.01821, allocations: 12 kB / 313.2 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.01823, allocations: 15.97 kB / 313.2 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.01824, allocations: 0 / 313.2 MB, free: 1.145 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.209e-05/0.01828, allocations: 70.78 kB / 313.3 MB, free: 1.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01828, allocations: 3.938 kB / 313.3 MB, free: 1.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002655/0.01854, allocations: 103.8 kB / 313.4 MB, free: 0.9688 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 12 * 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.0002062/0.01875, allocations: 150 kB / 313.6 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.0189, allocations: 146.3 kB / 313.7 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.475e-05/0.01892, allocations: 8.484 kB / 313.7 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.469e-05/0.01894, allocations: 34.41 kB / 313.7 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.01918, allocations: 85.89 kB / 313.8 MB, free: 0.5469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.02242, allocations: 493.1 kB / 314.3 MB, free: 36 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.917e-05/0.02248, allocations: 80.27 kB / 314.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.02261, allocations: 56.66 kB / 314.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.02275, allocations: 117.3 kB / 314.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of SimCode: time 9.12e-07/0.02275, allocations: 0 / 314.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of Templates: time 0.005393/0.02814, allocations: 3.902 MB / 318.5 MB, free: 11.95 MB / 314.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","",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] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.1284152222797275]