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.001092/0.001092, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001878/0.001878, allocations: 162.7 kB / 24.99 MB, free: 9.281 MB / 18.57 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.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.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.2677/0.2677, allocations: 32.8 MB / 294.6 MB, free: 1.18 MB / 266.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.312e-06/1.312e-06, allocations: 0 / 376 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.634e-05, allocations: 2.312 kB / 376 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005934/0.00596, allocations: 5.128 MB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004396/0.01036, allocations: 4.676 MB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.01054, allocations: 0 / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.01088, allocations: 47.67 kB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.01316, allocations: 0.7064 MB / 386.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.01347, allocations: 159.6 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006656/0.01414, allocations: 377.9 kB / 387.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.699e-05/0.01422, allocations: 9.812 kB / 387.1 MB, free: 9.773 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003798/0.0146, allocations: 199.4 kB / 387.3 MB, free: 9.578 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.01484, allocations: 119.7 kB / 387.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.01488, allocations: 8 kB / 387.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008872/0.01576, allocations: 327.3 kB / 387.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.474e-05/0.01585, allocations: 43.81 kB / 387.8 MB, free: 9.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.827e-05/0.01594, allocations: 83.78 kB / 387.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006218/0.01656, allocations: 434.6 kB / 388.3 MB, free: 8.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.01656, allocations: 0 / 388.3 MB, free: 8.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.01657, allocations: 4 kB / 388.3 MB, free: 8.578 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.01657, allocations: 0 / 388.3 MB, free: 8.578 MB / 362.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.0008706/0.01744, allocations: 0.6168 MB / 388.9 MB, free: 7.926 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.01749, allocations: 8.031 kB / 388.9 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.01769, allocations: 56.67 kB / 389 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002607/0.01795, allocations: 176.2 kB / 389.2 MB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.0181, allocations: 230.7 kB / 389.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.01813, allocations: 20.38 kB / 389.4 MB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.01857, allocations: 468 kB / 389.9 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.01858, allocations: 4.188 kB / 389.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.01861, allocations: 11.94 kB / 389.9 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.01864, allocations: 8 kB / 389.9 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.01907, allocations: 0.5216 MB / 390.4 MB, free: 6.285 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.02012, allocations: 1.335 MB / 391.8 MB, free: 4.883 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.02037, allocations: 131.3 kB / 391.9 MB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.503e-05/0.02044, allocations: 63.66 kB / 391.9 MB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008667/0.02131, allocations: 0.7451 MB / 392.7 MB, free: 3.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.02134, allocations: 37.39 kB / 392.7 MB, free: 3.863 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.02134, allocations: 0 / 392.7 MB, free: 3.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005505/0.02189, allocations: 217 kB / 392.9 MB, free: 3.645 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.02193, allocations: 55.39 kB / 393 MB, free: 3.578 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.0221, allocations: 286.2 kB / 393.3 MB, free: 3.281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.02212, allocations: 33.67 kB / 393.3 MB, free: 3.242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.02224, allocations: 262.3 kB / 393.6 MB, free: 2.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.02227, allocations: 59.52 kB / 393.6 MB, free: 2.922 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003729/0.02264, allocations: 87.8 kB / 393.7 MB, free: 2.828 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.02276, allocations: 0.5039 MB / 394.2 MB, free: 2.312 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.081e-05/0.02281, allocations: 36.97 kB / 394.2 MB, free: 2.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.02302, allocations: 427.8 kB / 394.7 MB, free: 1.684 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.02333, allocations: 0.4944 MB / 395.2 MB, free: 1.012 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02333, allocations: 8 kB / 395.2 MB, free: 1.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003666/0.0237, allocations: 373.6 kB / 395.5 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.02372, allocations: 8 kB / 395.5 MB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.02373, allocations: 16.12 kB / 395.6 MB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.02375, allocations: 12 kB / 395.6 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.02398, allocations: 103.8 kB / 395.7 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.02399, allocations: 19.92 kB / 395.7 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.02411, allocations: 16 kB / 395.7 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.02414, allocations: 24 kB / 395.7 MB, free: 448 kB / 362.7 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 9.713e-05/0.02423, allocations: 204.2 kB / 395.9 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/0.02427, allocations: 19.91 kB / 395.9 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.02449, allocations: 146.8 kB / 396.1 MB, free: 60 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.02451, allocations: 7.984 kB / 396.1 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.02451, allocations: 0 / 396.1 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.02451, allocations: 0 / 396.1 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.02489, allocations: 424.7 kB / 396.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.0249, allocations: 4 kB / 396.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.493e-05/0.02499, allocations: 27.97 kB / 396.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.02499, allocations: 4 kB / 396.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.025, allocations: 0 / 396.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.02501, allocations: 0 / 396.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.02501, allocations: 7.938 kB / 396.5 MB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.02517, allocations: 263.5 kB / 396.8 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.02521, allocations: 31.84 kB / 396.8 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.02524, allocations: 7.922 kB / 396.8 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.02534, allocations: 15.97 kB / 396.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.02537, allocations: 11.92 kB / 396.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.02538, allocations: 8.109 kB / 396.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.584e-05/0.02546, allocations: 189.1 kB / 397.1 MB, free: 15.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02546, allocations: 0 / 397.1 MB, free: 15.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.0258, allocations: 95.92 kB / 397.2 MB, free: 14.92 MB / 378.7 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.0002627/0.02606, allocations: 178.9 kB / 397.3 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.0263, allocations: 177 kB / 397.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.0263, allocations: 0 / 397.5 MB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.717e-05/0.02634, allocations: 45.28 kB / 397.6 MB, free: 14.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.02664, allocations: 60.44 kB / 397.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.02769, allocations: 0.4912 MB / 398.1 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.26e-05/0.02774, allocations: 68.66 kB / 398.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001402/0.02788, allocations: 62.83 kB / 398.2 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.02792, allocations: 32.5 kB / 398.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02792, allocations: 0 / 398.3 MB, free: 13.75 MB / 378.7 MB Notification: Performance of Templates: time 0.005615/0.03354, allocations: 3.44 MB / 401.7 MB, free: 10.35 MB / 378.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 -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] Reference file matches [Calling sys.exit(0), Time elapsed: 3.36806006077677]