Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001793/0.001793, 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.001909/0.001909, allocations: 165.3 kB / 24.27 MB, free: 156 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.572/1.572, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.495/0.495, allocations: 34.27 MB / 295.3 MB, free: 0.6914 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.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.1.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.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.531e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.04105/0.04108, allocations: 26.6 MB / 403.9 MB, free: 8.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.04569, allocations: 3.068 MB / 407 MB, free: 5.168 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001434/0.04583, allocations: 3.938 kB / 407 MB, free: 5.164 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.04617, allocations: 47.67 kB / 407 MB, free: 5.117 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.04837, allocations: 0.7648 MB / 407.8 MB, free: 4.348 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.04874, allocations: 127.8 kB / 407.9 MB, free: 4.223 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006065/0.04935, allocations: 381.9 kB / 408.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.04939, allocations: 9.812 kB / 408.3 MB, free: 3.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04461/0.094, allocations: 15.48 MB / 423.8 MB, free: 4.23 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005302/0.09453, allocations: 135.7 kB / 423.9 MB, free: 4.098 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.183e-05/0.09459, allocations: 12 kB / 423.9 MB, free: 4.086 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.1055, allocations: 3.386 MB / 427.3 MB, free: 0.668 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.1056, allocations: 55.75 kB / 427.4 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.1058, allocations: 83.77 kB / 427.5 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.107, allocations: 486.5 kB / 427.9 MB, free: 56 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.107, allocations: 3.984 kB / 427.9 MB, free: 52 kB / 394.7 MB Notification: Performance of FrontEnd: time 3.667e-06/0.107, allocations: 0 / 427.9 MB, free: 52 kB / 394.7 MB Notification: Performance of Transformations before backend: time 8.837e-06/0.107, allocations: 0 / 427.9 MB, free: 52 kB / 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.001822/0.1088, allocations: 0.6283 MB / 428.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.1089, allocations: 8.031 kB / 428.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.1092, allocations: 52.73 kB / 428.6 MB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003967/0.1096, allocations: 164.4 kB / 428.8 MB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.1098, allocations: 226.7 kB / 429 MB, free: 14.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.802e-05/0.1099, allocations: 24.38 kB / 429 MB, free: 14.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007348/0.1106, allocations: 445.6 kB / 429.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1106, allocations: 3.938 kB / 429.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.751e-05/0.1107, allocations: 12 kB / 429.5 MB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.1107, allocations: 11.98 kB / 429.5 MB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00093/0.1116, allocations: 0.5987 MB / 430.1 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.1135, allocations: 1.359 MB / 431.4 MB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.1139, allocations: 156.2 kB / 431.6 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1141, allocations: 76.31 kB / 431.7 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002081/0.1162, allocations: 0.8323 MB / 432.5 MB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.1162, allocations: 53.31 kB / 432.6 MB, free: 11.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 3.907e-06/0.1162, allocations: 3.984 kB / 432.6 MB, free: 11.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003332/0.1165, allocations: 105.6 kB / 432.7 MB, free: 11.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.1166, allocations: 59.34 kB / 432.7 MB, free: 10.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.1169, allocations: 309.2 kB / 433 MB, free: 10.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1169, allocations: 29.7 kB / 433.1 MB, free: 10.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.1171, allocations: 274.2 kB / 433.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.1172, allocations: 43.69 kB / 433.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.1173, allocations: 91.75 kB / 433.5 MB, free: 10.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002886/0.1176, allocations: 0.5117 MB / 434 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.1177, allocations: 40.97 kB / 434 MB, free: 9.609 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.1183, allocations: 483.9 kB / 434.5 MB, free: 8.938 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/0.119, allocations: 0.5668 MB / 435 MB, free: 8.168 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/0.119, allocations: 7.938 kB / 435.1 MB, free: 8.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000689/0.1197, allocations: 401.7 kB / 435.4 MB, free: 7.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.1197, allocations: 8 kB / 435.5 MB, free: 7.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.1197, allocations: 16.16 kB / 435.5 MB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.1198, allocations: 12 kB / 435.5 MB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.1201, allocations: 103.8 kB / 435.6 MB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.1201, allocations: 15.94 kB / 435.6 MB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.1203, allocations: 55.56 kB / 435.7 MB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.1204, allocations: 31.98 kB / 435.7 MB, free: 7.523 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.0001912/0.1206, allocations: 200.3 kB / 435.9 MB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.1206, allocations: 23.91 kB / 435.9 MB, free: 7.293 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.121, allocations: 146.6 kB / 436 MB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.121, allocations: 4 kB / 436 MB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.121, allocations: 3.984 kB / 436.1 MB, free: 7.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.121, allocations: 3.938 kB / 436.1 MB, free: 7.117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.1216, allocations: 416.4 kB / 436.5 MB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1216, allocations: 3.984 kB / 436.5 MB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.1217, allocations: 12 kB / 436.5 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1217, allocations: 0 / 436.5 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.1217, allocations: 8 kB / 436.5 MB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.1217, allocations: 7.875 kB / 436.5 MB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1217, allocations: 0 / 436.5 MB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.122, allocations: 266.8 kB / 436.8 MB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.249e-05/0.1221, allocations: 19.84 kB / 436.8 MB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.1221, allocations: 4 kB / 436.8 MB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.1222, allocations: 20.02 kB / 436.8 MB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.1223, allocations: 7.984 kB / 436.8 MB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.1223, allocations: 4 kB / 436.8 MB, free: 6.277 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001913/0.1225, allocations: 205.1 kB / 437 MB, free: 6.074 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1225, allocations: 0 / 437 MB, free: 6.074 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004978/0.123, allocations: 91.83 kB / 437.1 MB, free: 5.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.0003363/0.1233, allocations: 167 kB / 437.3 MB, free: 5.812 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003675/0.1237, allocations: 195.4 kB / 437.5 MB, free: 5.621 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1237, allocations: 0 / 437.5 MB, free: 5.621 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.471e-05/0.1237, allocations: 23.62 kB / 437.5 MB, free: 5.594 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000477/0.1242, allocations: 59.98 kB / 437.5 MB, free: 5.539 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1253, allocations: 0.5157 MB / 438 MB, free: 4.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.1255, allocations: 116.6 kB / 438.2 MB, free: 4.852 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.1257, allocations: 59.03 kB / 438.2 MB, free: 4.793 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.442e-05/0.1257, allocations: 24.5 kB / 438.2 MB, free: 4.77 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1257, allocations: 0 / 438.2 MB, free: 4.77 MB / 410.7 MB Notification: Performance of Templates: time 0.008668/0.1344, allocations: 3.107 MB / 441.4 MB, free: 1.711 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5285759679973125]