Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.002053/0.002053, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002064/0.002064, allocations: 161.3 kB / 24.27 MB, free: 152 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.578/1.578, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3797/0.3797, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.LinearWater_pT_Ambient,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.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.035e-05/3.204e-05, allocations: 4.703 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.04087/0.0409, allocations: 26.59 MB / 401.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004939/0.04584, allocations: 3.072 MB / 405 MB, free: 7.176 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.04599, allocations: 0 / 405 MB, free: 7.176 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.0463, allocations: 55.61 kB / 405 MB, free: 7.121 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.04888, allocations: 0.7648 MB / 405.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.0493, allocations: 131.8 kB / 405.9 MB, free: 6.223 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000681/0.04998, allocations: 377.9 kB / 406.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.061e-05/0.05005, allocations: 9.812 kB / 406.3 MB, free: 5.844 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04597/0.09601, allocations: 15.48 MB / 421.8 MB, free: 6.238 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000441/0.09645, allocations: 131.7 kB / 421.9 MB, free: 6.109 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.0965, allocations: 11.94 kB / 421.9 MB, free: 6.098 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01019/0.1067, allocations: 3.394 MB / 425.3 MB, free: 2.672 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1068, allocations: 55.73 kB / 425.3 MB, free: 2.617 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.107, allocations: 75.84 kB / 425.4 MB, free: 2.543 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.108, allocations: 482.6 kB / 425.9 MB, free: 2.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.108, allocations: 0 / 425.9 MB, free: 2.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.108, allocations: 0 / 425.9 MB, free: 2.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.108, allocations: 0 / 425.9 MB, free: 2.07 MB / 394.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.001362/0.1094, allocations: 0.632 MB / 426.5 MB, free: 1.402 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1094, allocations: 8.031 kB / 426.5 MB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.1096, allocations: 56.73 kB / 426.6 MB, free: 1.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.1099, allocations: 172.3 kB / 426.8 MB, free: 1.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.1102, allocations: 230.6 kB / 427 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.1102, allocations: 28.38 kB / 427 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006461/0.1109, allocations: 445.5 kB / 427.4 MB, free: 344 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.1109, allocations: 3.938 kB / 427.4 MB, free: 340 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.1109, allocations: 12 kB / 427.5 MB, free: 328 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.111, allocations: 7.984 kB / 427.5 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008844/0.1118, allocations: 0.5988 MB / 428.1 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.1136, allocations: 1.362 MB / 429.4 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004041/0.114, allocations: 155.3 kB / 429.6 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.1142, allocations: 80.3 kB / 429.7 MB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001809/0.116, allocations: 0.8284 MB / 430.5 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.116, allocations: 41.39 kB / 430.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.116, allocations: 3.938 kB / 430.5 MB, free: 13.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003204/0.1164, allocations: 113.5 kB / 430.6 MB, free: 13.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.195e-05/0.1164, allocations: 55.41 kB / 430.7 MB, free: 12.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.1167, allocations: 309.2 kB / 431 MB, free: 12.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1167, allocations: 29.7 kB / 431 MB, free: 12.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002213/0.117, allocations: 278.2 kB / 431.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.1172, allocations: 43.69 kB / 431.3 MB, free: 12.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.1174, allocations: 91.75 kB / 431.4 MB, free: 12.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002836/0.1176, allocations: 0.504 MB / 431.9 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.183e-05/0.1177, allocations: 44.97 kB / 432 MB, free: 11.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.1182, allocations: 483.8 kB / 432.5 MB, free: 10.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007062/0.119, allocations: 0.5707 MB / 433 MB, free: 10.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.119, allocations: 4 kB / 433 MB, free: 10.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006676/0.1196, allocations: 401.4 kB / 433.4 MB, free: 9.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1196, allocations: 8 kB / 433.4 MB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.1197, allocations: 15.98 kB / 433.4 MB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.1197, allocations: 12 kB / 433.5 MB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.12, allocations: 99.83 kB / 433.6 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.12, allocations: 19.88 kB / 433.6 MB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.1202, allocations: 60.06 kB / 433.6 MB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.1203, allocations: 32 kB / 433.7 MB, free: 9.527 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001829/0.1205, allocations: 200.3 kB / 433.9 MB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.811e-05/0.1205, allocations: 19.91 kB / 433.9 MB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.1209, allocations: 150.6 kB / 434 MB, free: 9.133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.1209, allocations: 4 kB / 434 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1209, allocations: 0 / 434 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1209, allocations: 0 / 434 MB, free: 9.129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006091/0.1215, allocations: 428.2 kB / 434.4 MB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1215, allocations: 0 / 434.4 MB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.377e-05/0.1216, allocations: 15.98 kB / 434.5 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.1216, allocations: 0 / 434.5 MB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1216, allocations: 4 kB / 434.5 MB, free: 8.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.1216, allocations: 7.969 kB / 434.5 MB, free: 8.629 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1216, allocations: 4 kB / 434.5 MB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.1219, allocations: 262.8 kB / 434.7 MB, free: 8.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.1219, allocations: 23.83 kB / 434.8 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.122, allocations: 8 kB / 434.8 MB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.1221, allocations: 11.92 kB / 434.8 MB, free: 8.293 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.1222, allocations: 7.938 kB / 434.8 MB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1222, allocations: 3.984 kB / 434.8 MB, free: 8.281 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.1224, allocations: 201.1 kB / 435 MB, free: 8.082 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1224, allocations: 0 / 435 MB, free: 8.082 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005634/0.1229, allocations: 99.81 kB / 435.1 MB, free: 7.984 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0003535/0.1233, allocations: 167 kB / 435.2 MB, free: 7.812 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003822/0.1237, allocations: 183.4 kB / 435.4 MB, free: 7.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1237, allocations: 3.938 kB / 435.4 MB, free: 7.629 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.62e-05/0.1237, allocations: 27.67 kB / 435.5 MB, free: 7.598 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.1242, allocations: 44.47 kB / 435.5 MB, free: 7.555 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1253, allocations: 0.5161 MB / 436 MB, free: 6.996 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.1254, allocations: 116.6 kB / 436.1 MB, free: 6.867 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001968/0.1256, allocations: 55.03 kB / 436.2 MB, free: 6.812 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.585e-05/0.1257, allocations: 32.5 kB / 436.2 MB, free: 6.781 MB / 410.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1257, allocations: 0 / 436.2 MB, free: 6.781 MB / 410.7 MB Notification: Performance of Templates: time 0.009166/0.1349, allocations: 3.11 MB / 439.3 MB, free: 3.719 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",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.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.594141021021642]