Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0007874/0.0007874, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001116/0.001903, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007356/0.0007356, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009539/0.00169, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.072/1.072, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1252/1.198, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] 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.3404/0.3404, allocations: 32.8 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03328/0.3737, allocations: 12.53 MB / 289.3 MB, free: 8.656 MB / 282.7 MB " [Timeout remaining time 180] 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.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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 290.6 MB, free: 7.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.656e-05/3.813e-05, allocations: 3.188 kB / 290.6 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006307/0.006345, allocations: 5.176 MB / 295.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004572/0.01092, allocations: 4.733 MB / 300.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.01105, allocations: 0 / 300.5 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.01127, allocations: 55.55 kB / 300.6 MB, free: 14.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.01323, allocations: 0.7065 MB / 301.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.01356, allocations: 163.7 kB / 301.5 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005537/0.01411, allocations: 398.9 kB / 301.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.184e-05/0.01417, allocations: 10.47 kB / 301.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.0147, allocations: 215.4 kB / 302.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.01489, allocations: 111.7 kB / 302.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.613e-05/0.01491, allocations: 8 kB / 302.2 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000919/0.01583, allocations: 343.3 kB / 302.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.01591, allocations: 35.86 kB / 302.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.786e-05/0.01599, allocations: 63.88 kB / 302.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006801/0.01667, allocations: 394.8 kB / 303 MB, free: 11.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.92e-05/0.01669, allocations: 0 / 303 MB, free: 11.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.01669, allocations: 0 / 303 MB, free: 11.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.01671, allocations: 0 / 303 MB, free: 11.83 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.0009347/0.01765, allocations: 0.6496 MB / 303.7 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.0177, allocations: 12.03 kB / 303.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.01785, allocations: 44.8 kB / 303.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.01808, allocations: 161.5 kB / 303.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.01821, allocations: 230.7 kB / 304.1 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.01824, allocations: 20.38 kB / 304.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.0186, allocations: 438.9 kB / 304.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.01861, allocations: 192 / 304.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.01863, allocations: 15.94 kB / 304.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.01866, allocations: 8 kB / 304.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.01903, allocations: 435.5 kB / 305 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.02005, allocations: 0.942 MB / 305.9 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.02023, allocations: 151.5 kB / 306.1 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.538e-05/0.02028, allocations: 48.83 kB / 306.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008117/0.02109, allocations: 0.6771 MB / 306.8 MB, free: 7.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.02112, allocations: 38.56 kB / 306.9 MB, free: 7.723 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.02112, allocations: 0 / 306.9 MB, free: 7.723 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002891/0.02141, allocations: 175.6 kB / 307 MB, free: 7.547 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.02144, allocations: 59.41 kB / 307.1 MB, free: 7.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.02157, allocations: 224.1 kB / 307.3 MB, free: 7.246 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.02159, allocations: 29.7 kB / 307.3 MB, free: 7.211 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.02169, allocations: 219.5 kB / 307.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.02172, allocations: 47.58 kB / 307.6 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.0218, allocations: 86.05 kB / 307.7 MB, free: 6.855 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.0219, allocations: 330.8 kB / 308 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/0.02194, allocations: 35.81 kB / 308 MB, free: 6.488 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.02212, allocations: 288.1 kB / 308.3 MB, free: 6.078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002947/0.02241, allocations: 392.1 kB / 308.7 MB, free: 5.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.02242, allocations: 4 kB / 308.7 MB, free: 5.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002615/0.02268, allocations: 300.5 kB / 309 MB, free: 5.262 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.0227, allocations: 8 kB / 309 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.02271, allocations: 12 kB / 309 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.02273, allocations: 16.06 kB / 309 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.02296, allocations: 115.8 kB / 309.1 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.02298, allocations: 19.92 kB / 309.2 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.02312, allocations: 51.62 kB / 309.2 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.02315, allocations: 27.98 kB / 309.2 MB, free: 5.016 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 9.332e-05/0.02324, allocations: 148.4 kB / 309.4 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.02327, allocations: 19.97 kB / 309.4 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.02345, allocations: 119.9 kB / 309.5 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.02346, allocations: 3.984 kB / 309.5 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.02346, allocations: 0 / 309.5 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.02347, allocations: 4 kB / 309.5 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.02362, allocations: 113.7 kB / 309.6 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.02363, allocations: 7.938 kB / 309.6 MB, free: 4.578 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.02373, allocations: 39.97 kB / 309.7 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.9e-05/0.02377, allocations: 15.91 kB / 309.7 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.02377, allocations: 4 kB / 309.7 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.02378, allocations: 3.984 kB / 309.7 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.02378, allocations: 0 / 309.7 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02378, allocations: 0 / 309.7 MB, free: 4.516 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.02392, allocations: 230.1 kB / 309.9 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.02395, allocations: 7.938 kB / 309.9 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.02403, allocations: 15.98 kB / 310 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.02405, allocations: 7.984 kB / 310 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.02406, allocations: 0 / 310 MB, free: 4.242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.806e-05/0.02411, allocations: 66.78 kB / 310 MB, free: 4.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02411, allocations: 4 kB / 310 MB, free: 4.176 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003263/0.02443, allocations: 103.8 kB / 310.1 MB, free: 4.074 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.0002507/0.02468, allocations: 148.2 kB / 310.3 MB, free: 3.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.02486, allocations: 156.1 kB / 310.4 MB, free: 3.77 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/0.02487, allocations: 8.484 kB / 310.4 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.856e-05/0.0249, allocations: 32.84 kB / 310.5 MB, free: 3.727 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.02514, allocations: 89.69 kB / 310.6 MB, free: 3.641 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00322/0.02836, allocations: 0.4928 MB / 311.1 MB, free: 3.117 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.49e-05/0.0284, allocations: 72.33 kB / 311.1 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.02855, allocations: 63.19 kB / 311.2 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.0287, allocations: 113.3 kB / 311.3 MB, free: 2.855 MB / 298.7 MB Notification: Performance of SimCode: time 1.292e-06/0.0287, allocations: 0 / 311.3 MB, free: 2.855 MB / 298.7 MB Notification: Performance of Templates: time 0.006123/0.03482, allocations: 3.898 MB / 315.2 MB, free: 15.04 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_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","",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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_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.4340461529791355]