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.001235/0.001235, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001214/0.001214, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.004/1.004, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2802/0.2802, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 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.[0-9,]+.|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.[0-9,]+.|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 1.573e-06/1.573e-06, allocations: 3.938 kB / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.934e-05, allocations: 2.312 kB / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004905/0.004935, allocations: 5.125 MB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.008164, allocations: 4.691 MB / 387.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.716e-05/0.008221, allocations: 0 / 387.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.00842, allocations: 55.61 kB / 387.9 MB, free: 8.676 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009632/0.009383, allocations: 0.7143 MB / 388.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.009634, allocations: 171.6 kB / 388.8 MB, free: 7.789 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007701/0.0104, allocations: 401.9 kB / 389.2 MB, free: 7.395 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.01044, allocations: 5.812 kB / 389.2 MB, free: 7.387 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.01067, allocations: 211.4 kB / 389.4 MB, free: 7.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001196/0.01079, allocations: 119.6 kB / 389.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.01081, allocations: 8 kB / 389.6 MB, free: 7.055 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003945/0.01121, allocations: 327.3 kB / 389.9 MB, free: 6.734 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.01127, allocations: 47.77 kB / 389.9 MB, free: 6.688 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.01134, allocations: 79.83 kB / 390 MB, free: 6.609 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.01179, allocations: 434.6 kB / 390.4 MB, free: 6.184 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.01179, allocations: 4 kB / 390.4 MB, free: 6.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.01179, allocations: 0 / 390.4 MB, free: 6.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.0118, allocations: 0 / 390.4 MB, free: 6.18 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.0006429/0.01244, allocations: 0.6129 MB / 391 MB, free: 5.531 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.01248, allocations: 8.031 kB / 391 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.01262, allocations: 60.66 kB / 391.1 MB, free: 5.465 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.0128, allocations: 176.2 kB / 391.3 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.0129, allocations: 238.6 kB / 391.5 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.01292, allocations: 24.38 kB / 391.5 MB, free: 4.961 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.01326, allocations: 464 kB / 392 MB, free: 4.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.01326, allocations: 192 / 392 MB, free: 4.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.01328, allocations: 11.94 kB / 392 MB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.01331, allocations: 12 kB / 392 MB, free: 4.406 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/0.0137, allocations: 0.5177 MB / 392.5 MB, free: 3.887 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00083/0.01453, allocations: 1.339 MB / 393.9 MB, free: 2.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.01472, allocations: 131.3 kB / 394 MB, free: 2.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.331e-05/0.01479, allocations: 55.66 kB / 394.1 MB, free: 2.281 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007193/0.01551, allocations: 0.7451 MB / 394.8 MB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.767e-05/0.01552, allocations: 37.39 kB / 394.8 MB, free: 1.469 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.01552, allocations: 0 / 394.8 MB, free: 1.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003847/0.01591, allocations: 219.9 kB / 395 MB, free: 1.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.968e-05/0.01593, allocations: 55.41 kB / 395.1 MB, free: 1.184 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.01606, allocations: 289.1 kB / 395.4 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.01608, allocations: 25.7 kB / 395.4 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.01618, allocations: 266.3 kB / 395.7 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.01621, allocations: 59.52 kB / 395.7 MB, free: 0.5273 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.01627, allocations: 87.8 kB / 395.8 MB, free: 444 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004822/0.01675, allocations: 0.504 MB / 396.3 MB, free: 15.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.595e-05/0.0168, allocations: 36.97 kB / 396.4 MB, free: 15.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.01699, allocations: 427.8 kB / 396.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.01727, allocations: 0.4944 MB / 397.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.01728, allocations: 4 kB / 397.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000334/0.01761, allocations: 373.5 kB / 397.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.01762, allocations: 8 kB / 397.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.01763, allocations: 12 kB / 397.7 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.01764, allocations: 12 kB / 397.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.01783, allocations: 111.8 kB / 397.8 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.01784, allocations: 15.94 kB / 397.8 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.01795, allocations: 19.98 kB / 397.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.01797, allocations: 27.98 kB / 397.8 MB, free: 14.04 MB / 378.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 8.146e-05/0.01806, allocations: 204.5 kB / 398 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.01809, allocations: 23.84 kB / 398.1 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.01825, allocations: 142.8 kB / 398.2 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.01826, allocations: 4 kB / 398.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01826, allocations: 0 / 398.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01827, allocations: 4 kB / 398.2 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.01857, allocations: 420.9 kB / 398.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.01857, allocations: 3.984 kB / 398.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.01865, allocations: 27.98 kB / 398.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.01865, allocations: 4 kB / 398.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.01866, allocations: 0 / 398.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.135e-06/0.01866, allocations: 3.938 kB / 398.7 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.01866, allocations: 12.02 kB / 398.7 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.0188, allocations: 266.2 kB / 398.9 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.426e-05/0.01883, allocations: 27.84 kB / 399 MB, free: 12.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.01885, allocations: 7.938 kB / 399 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.01894, allocations: 7.984 kB / 399 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.649e-05/0.01896, allocations: 15.92 kB / 399 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.01897, allocations: 4.125 kB / 399 MB, free: 12.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.65e-05/0.01905, allocations: 193.1 kB / 399.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01905, allocations: 0 / 399.2 MB, free: 12.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002805/0.01933, allocations: 95.92 kB / 399.3 MB, free: 12.52 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.0001793/0.01951, allocations: 163 kB / 399.4 MB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002077/0.01971, allocations: 182 kB / 399.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01972, allocations: 0 / 399.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.01975, allocations: 44.3 kB / 399.7 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.02002, allocations: 67.38 kB / 399.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008937/0.02091, allocations: 0.495 MB / 400.2 MB, free: 11.53 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.107e-05/0.02096, allocations: 76.64 kB / 400.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.02108, allocations: 62.77 kB / 400.4 MB, free: 11.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.02112, allocations: 32.48 kB / 400.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02112, allocations: 0 / 400.4 MB, free: 11.34 MB / 378.7 MB Notification: Performance of Templates: time 0.00539/0.02651, allocations: 3.85 MB / 404.2 MB, free: 7.547 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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_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: 3.2722651339136064]