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.001451/0.001451, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00109/0.00109, allocations: 169 kB / 24.82 MB, free: 9.27 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2793/0.2793, allocations: 34.26 MB / 296.1 MB, free: 0.7148 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 2.194e-06/2.194e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.925e-05/2.144e-05, allocations: 6.312 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006669/0.00669, allocations: 5.096 MB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004849/0.01154, allocations: 4.652 MB / 388.3 MB, free: 8.574 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.01166, allocations: 4 kB / 388.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.01199, allocations: 47.67 kB / 388.3 MB, free: 8.523 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.01375, allocations: 0.7298 MB / 389.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.01411, allocations: 167.7 kB / 389.2 MB, free: 7.625 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.01467, allocations: 393.9 kB / 389.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.901e-05/0.01472, allocations: 13.81 kB / 389.6 MB, free: 7.223 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.01501, allocations: 199.4 kB / 389.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.01519, allocations: 115.7 kB / 389.9 MB, free: 6.914 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.01522, allocations: 8 kB / 389.9 MB, free: 6.906 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006752/0.0159, allocations: 335.2 kB / 390.3 MB, free: 6.578 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.825e-05/0.01599, allocations: 43.83 kB / 390.3 MB, free: 6.535 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.194e-05/0.01608, allocations: 83.77 kB / 390.4 MB, free: 6.453 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.01658, allocations: 438.7 kB / 390.8 MB, free: 6.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.01658, allocations: 0 / 390.8 MB, free: 6.023 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01658, allocations: 0 / 390.8 MB, free: 6.023 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.01659, allocations: 0 / 390.8 MB, free: 6.023 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.0007565/0.01734, allocations: 0.6206 MB / 391.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.01739, allocations: 8.031 kB / 391.5 MB, free: 5.359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.01751, allocations: 48.73 kB / 391.5 MB, free: 5.312 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.0177, allocations: 188.2 kB / 391.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.01782, allocations: 222.7 kB / 391.9 MB, free: 4.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.01785, allocations: 24.38 kB / 391.9 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.01817, allocations: 451.9 kB / 392.4 MB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.01819, allocations: 4.188 kB / 392.4 MB, free: 4.289 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.01821, allocations: 11.94 kB / 392.4 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/0.01823, allocations: 8 kB / 392.4 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003356/0.01857, allocations: 464.6 kB / 392.8 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008646/0.01943, allocations: 1.312 MB / 394.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.01962, allocations: 123.2 kB / 394.3 MB, free: 2.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.01968, allocations: 47.66 kB / 394.3 MB, free: 2.262 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008893/0.02057, allocations: 0.7784 MB / 395.1 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.02059, allocations: 37.38 kB / 395.1 MB, free: 1.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.02059, allocations: 4 kB / 395.1 MB, free: 1.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004102/0.021, allocations: 191.9 kB / 395.3 MB, free: 1.227 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.02103, allocations: 55.41 kB / 395.4 MB, free: 1.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.02118, allocations: 285 kB / 395.7 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.02119, allocations: 33.7 kB / 395.7 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.0213, allocations: 262.3 kB / 395.9 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.02133, allocations: 59.55 kB / 396 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.291e-05/0.0214, allocations: 91.72 kB / 396.1 MB, free: 416 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.02156, allocations: 0.5039 MB / 396.6 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.731e-05/0.0216, allocations: 32.97 kB / 396.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.02183, allocations: 415.7 kB / 397 MB, free: 15.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.02214, allocations: 0.4904 MB / 397.5 MB, free: 14.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.02214, allocations: 4 kB / 397.5 MB, free: 14.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003208/0.02246, allocations: 345 kB / 397.9 MB, free: 14.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.02247, allocations: 8 kB / 397.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.02249, allocations: 12 kB / 397.9 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.02251, allocations: 16.77 kB / 397.9 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.0227, allocations: 111.8 kB / 398 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.654e-05/0.02279, allocations: 19.92 kB / 398 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.023, allocations: 24.12 kB / 398.1 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.02302, allocations: 16 kB / 398.1 MB, free: 14.05 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.0001063/0.02313, allocations: 200.2 kB / 398.3 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.195e-05/0.02317, allocations: 27.86 kB / 398.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002106/0.02338, allocations: 138.8 kB / 398.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.02339, allocations: 4 kB / 398.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.02339, allocations: 0 / 398.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.0234, allocations: 0 / 398.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.02377, allocations: 388.9 kB / 398.8 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.02377, allocations: 0 / 398.8 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.968e-05/0.02386, allocations: 35.95 kB / 398.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.02386, allocations: 0 / 398.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.02387, allocations: 11.94 kB / 398.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.02388, allocations: 3.984 kB / 398.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.02388, allocations: 0 / 398.9 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.02406, allocations: 263.4 kB / 399.1 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.0241, allocations: 31.83 kB / 399.2 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.02412, allocations: 7.938 kB / 399.2 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.465e-05/0.02421, allocations: 8 kB / 399.2 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.02424, allocations: 11.97 kB / 399.2 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.02425, allocations: 11.94 kB / 399.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.47e-05/0.02432, allocations: 185.1 kB / 399.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02432, allocations: 0 / 399.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003175/0.02464, allocations: 103.8 kB / 399.5 MB, free: 12.58 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.0002151/0.02486, allocations: 163.1 kB / 399.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.02505, allocations: 162.3 kB / 399.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.02505, allocations: 3.938 kB / 399.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.157e-05/0.02508, allocations: 39.64 kB / 399.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.02535, allocations: 52.39 kB / 399.9 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008529/0.0262, allocations: 495.5 kB / 400.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.322e-05/0.02625, allocations: 76.64 kB / 400.4 MB, free: 11.53 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.02638, allocations: 58.83 kB / 400.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.02653, allocations: 150.1 kB / 400.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02653, allocations: 0 / 400.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of Templates: time 0.005454/0.03199, allocations: 3.845 MB / 404.5 MB, free: 7.527 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.394640937913209]