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.002668/0.002668, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002161/0.002161, allocations: 169.3 kB / 24.28 MB, free: 148 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.594/1.594, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.4188/0.4188, allocations: 34.27 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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 1.413e-06/1.413e-06, allocations: 0 / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.842e-05, allocations: 2.312 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007811/0.007839, allocations: 5.082 MB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006514/0.01435, allocations: 4.683 MB / 387.1 MB, free: 9.121 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.0145, allocations: 0 / 387.1 MB, free: 9.121 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.01484, allocations: 47.62 kB / 387.1 MB, free: 9.074 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.01695, allocations: 0.7026 MB / 387.8 MB, free: 8.367 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.01739, allocations: 163.6 kB / 388 MB, free: 8.207 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006347/0.01802, allocations: 377.9 kB / 388.4 MB, free: 7.836 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.519e-05/0.01807, allocations: 9.812 kB / 388.4 MB, free: 7.824 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.01842, allocations: 203.4 kB / 388.6 MB, free: 7.625 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.01865, allocations: 111.6 kB / 388.7 MB, free: 7.516 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.01869, allocations: 8 kB / 388.7 MB, free: 7.508 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008845/0.01958, allocations: 327.3 kB / 389 MB, free: 7.188 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.856e-05/0.01967, allocations: 39.83 kB / 389 MB, free: 7.148 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.01981, allocations: 91.77 kB / 389.1 MB, free: 7.059 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008723/0.02069, allocations: 450.6 kB / 389.6 MB, free: 6.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.02069, allocations: 0 / 389.6 MB, free: 6.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.02069, allocations: 0 / 389.6 MB, free: 6.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.0207, allocations: 0 / 389.6 MB, free: 6.617 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.001171/0.02187, allocations: 0.6203 MB / 390.2 MB, free: 5.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.02191, allocations: 8.031 kB / 390.2 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/0.02212, allocations: 52.73 kB / 390.2 MB, free: 5.902 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.02243, allocations: 180.2 kB / 390.4 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.02266, allocations: 226.7 kB / 390.6 MB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.0227, allocations: 24.38 kB / 390.7 MB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/0.02337, allocations: 471.2 kB / 391.1 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.02338, allocations: 192 / 391.1 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.02342, allocations: 15.94 kB / 391.1 MB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/0.02346, allocations: 7.984 kB / 391.2 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/0.02433, allocations: 0.5987 MB / 391.8 MB, free: 4.246 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.02604, allocations: 1.354 MB / 393.1 MB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.02643, allocations: 147.3 kB / 393.2 MB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.02656, allocations: 71.64 kB / 393.3 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001613/0.02818, allocations: 0.7491 MB / 394.1 MB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.02822, allocations: 37.39 kB / 394.1 MB, free: 1.777 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.02822, allocations: 0 / 394.1 MB, free: 1.777 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008151/0.02903, allocations: 224.7 kB / 394.3 MB, free: 1.555 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.02909, allocations: 55.41 kB / 394.4 MB, free: 1.488 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003274/0.02942, allocations: 301.1 kB / 394.7 MB, free: 1.176 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.02944, allocations: 25.7 kB / 394.7 MB, free: 1.145 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.02966, allocations: 270.3 kB / 395 MB, free: 0.875 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.02972, allocations: 55.56 kB / 395 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.02984, allocations: 91.75 kB / 395.1 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002813/0.03013, allocations: 0.5118 MB / 395.6 MB, free: 204 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.03023, allocations: 48.95 kB / 395.7 MB, free: 156 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004942/0.03072, allocations: 435.8 kB / 396.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.03137, allocations: 0.5139 MB / 396.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.03138, allocations: 0 / 396.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006576/0.03204, allocations: 393.5 kB / 397 MB, free: 14.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.03206, allocations: 8 kB / 397 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.03207, allocations: 11.98 kB / 397 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.0321, allocations: 12 kB / 397 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004005/0.0325, allocations: 107.8 kB / 397.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/0.03252, allocations: 19.92 kB / 397.1 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.03275, allocations: 16 kB / 397.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.03279, allocations: 28.28 kB / 397.2 MB, free: 14.27 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 0.0001911/0.03298, allocations: 200.3 kB / 397.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-05/0.03305, allocations: 23.86 kB / 397.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/0.03342, allocations: 158.8 kB / 397.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/0.03344, allocations: 8 kB / 397.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.03344, allocations: 0 / 397.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.03345, allocations: 3.984 kB / 397.6 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007295/0.03418, allocations: 432.9 kB / 398 MB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/0.0342, allocations: 7.984 kB / 398 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.03437, allocations: 27.98 kB / 398 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.03438, allocations: 4 kB / 398 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.03439, allocations: 3.984 kB / 398 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.03439, allocations: 0 / 398 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.0344, allocations: 11.97 kB / 398.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.03475, allocations: 275.5 kB / 398.3 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.03483, allocations: 23.84 kB / 398.3 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.03487, allocations: 4 kB / 398.3 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.03507, allocations: 7.984 kB / 398.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/0.03511, allocations: 11.92 kB / 398.4 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.03515, allocations: 15.98 kB / 398.4 MB, free: 12.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.03534, allocations: 189.1 kB / 398.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03534, allocations: 0 / 398.6 MB, free: 12.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005324/0.03587, allocations: 103.9 kB / 398.7 MB, free: 12.7 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.0003795/0.03625, allocations: 171 kB / 398.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.03666, allocations: 190.7 kB / 399 MB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.03666, allocations: 0 / 399 MB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.7e-05/0.03675, allocations: 54.42 kB / 399.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.03732, allocations: 63.38 kB / 399.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.03856, allocations: 495 kB / 399.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.0387, allocations: 120.9 kB / 399.7 MB, free: 11.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002235/0.03893, allocations: 62.77 kB / 399.8 MB, free: 11.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/0.039, allocations: 32.48 kB / 399.8 MB, free: 11.47 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.039, allocations: 3.938 kB / 399.8 MB, free: 11.47 MB / 378.7 MB Notification: Performance of Templates: time 0.00946/0.04846, allocations: 3.443 MB / 403.3 MB, free: 8.074 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","/var/lib/jenkins/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.2223809430142865]