Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001938/0.001938, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002146/0.002146, allocations: 160.8 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.658/1.658, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3806/0.3806, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 377.2 MB, free: 2.875 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.981e-05/3.161e-05, allocations: 2.312 kB / 377.2 MB, free: 2.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.04036/0.04039, allocations: 26.6 MB / 403.8 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004955/0.04534, allocations: 3.072 MB / 406.9 MB, free: 5.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.04551, allocations: 4 kB / 406.9 MB, free: 5.086 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003784/0.04589, allocations: 55.59 kB / 407 MB, free: 5.031 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.04855, allocations: 0.761 MB / 407.7 MB, free: 4.266 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.04894, allocations: 131.7 kB / 407.9 MB, free: 4.137 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006283/0.04957, allocations: 373.9 kB / 408.2 MB, free: 3.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.419e-05/0.04962, allocations: 17.8 kB / 408.2 MB, free: 3.754 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.04559/0.09521, allocations: 15.47 MB / 423.7 MB, free: 4.152 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004252/0.09564, allocations: 135.7 kB / 423.8 MB, free: 4.02 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-05/0.09569, allocations: 8 kB / 423.9 MB, free: 4.012 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01022/0.1059, allocations: 3.398 MB / 427.3 MB, free: 0.582 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.106, allocations: 43.83 kB / 427.3 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.1062, allocations: 87.75 kB / 427.4 MB, free: 464 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.1073, allocations: 486.6 kB / 427.9 MB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1073, allocations: 0 / 427.9 MB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1073, allocations: 0 / 427.9 MB, free: 15.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1073, allocations: 0 / 427.9 MB, free: 15.98 MB / 410.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.001632/0.1089, allocations: 0.6281 MB / 428.5 MB, free: 15.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.109, allocations: 8.031 kB / 428.5 MB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.1092, allocations: 52.73 kB / 428.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1096, allocations: 168.4 kB / 428.7 MB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.1098, allocations: 230.6 kB / 428.9 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.1098, allocations: 20.38 kB / 429 MB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007168/0.1106, allocations: 445.6 kB / 429.4 MB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.1106, allocations: 11.88 kB / 429.4 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.1106, allocations: 12 kB / 429.4 MB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.887e-05/0.1107, allocations: 4 kB / 429.4 MB, free: 14.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009166/0.1116, allocations: 0.6027 MB / 430 MB, free: 13.63 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.1136, allocations: 1.355 MB / 431.4 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004639/0.114, allocations: 160.2 kB / 431.5 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.1142, allocations: 76.25 kB / 431.6 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001895/0.1161, allocations: 0.844 MB / 432.4 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.1161, allocations: 33.39 kB / 432.5 MB, free: 11.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.133e-06/0.1161, allocations: 0 / 432.5 MB, free: 11.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003341/0.1165, allocations: 113.5 kB / 432.6 MB, free: 10.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.1165, allocations: 51.41 kB / 432.6 MB, free: 10.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003259/0.1168, allocations: 313.2 kB / 432.9 MB, free: 10.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.1169, allocations: 29.7 kB / 433 MB, free: 10.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.1171, allocations: 266.2 kB / 433.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.04e-05/0.1172, allocations: 47.67 kB / 433.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.1173, allocations: 91.75 kB / 433.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003217/0.1176, allocations: 0.5195 MB / 433.9 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.369e-05/0.1177, allocations: 44.97 kB / 433.9 MB, free: 9.531 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/0.1183, allocations: 475.9 kB / 434.4 MB, free: 8.863 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009866/0.1192, allocations: 0.5706 MB / 435 MB, free: 8.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.1192, allocations: 8 kB / 435 MB, free: 8.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006891/0.1199, allocations: 393.8 kB / 435.4 MB, free: 7.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.12, allocations: 12.03 kB / 435.4 MB, free: 7.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.12, allocations: 12 kB / 435.4 MB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.12, allocations: 16 kB / 435.4 MB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.1203, allocations: 103.8 kB / 435.5 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.81e-05/0.1203, allocations: 19.92 kB / 435.5 MB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.1206, allocations: 55.56 kB / 435.6 MB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.1206, allocations: 28.05 kB / 435.6 MB, free: 7.449 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.0002078/0.1208, allocations: 200.3 kB / 435.8 MB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.426e-05/0.1209, allocations: 27.89 kB / 435.8 MB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003396/0.1212, allocations: 158.6 kB / 436 MB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.1212, allocations: 0 / 436 MB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1212, allocations: 0 / 436 MB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.1212, allocations: 0 / 436 MB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.1218, allocations: 420.3 kB / 436.4 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1218, allocations: 0 / 436.4 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.1219, allocations: 19.94 kB / 436.4 MB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1219, allocations: 0 / 436.4 MB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.1219, allocations: 4 kB / 436.4 MB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.1219, allocations: 3.938 kB / 436.4 MB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1219, allocations: 4 kB / 436.4 MB, free: 6.543 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.1222, allocations: 262.8 kB / 436.7 MB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.1223, allocations: 19.84 kB / 436.7 MB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.1223, allocations: 12.08 kB / 436.7 MB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1224, allocations: 7.938 kB / 436.7 MB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.1225, allocations: 11.98 kB / 436.7 MB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.1225, allocations: 4 kB / 436.7 MB, free: 6.199 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001857/0.1227, allocations: 201.1 kB / 436.9 MB, free: 6 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1227, allocations: 0 / 436.9 MB, free: 6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004991/0.1232, allocations: 91.83 kB / 437 MB, free: 5.91 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.0003236/0.1235, allocations: 174.9 kB / 437.2 MB, free: 5.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003631/0.1239, allocations: 187 kB / 437.4 MB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1239, allocations: 0 / 437.4 MB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.1239, allocations: 28.25 kB / 437.4 MB, free: 5.516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.1244, allocations: 52.83 kB / 437.5 MB, free: 5.465 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.1255, allocations: 0.5157 MB / 438 MB, free: 4.906 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.1256, allocations: 116.6 kB / 438.1 MB, free: 4.777 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000193/0.1258, allocations: 55.05 kB / 438.1 MB, free: 4.723 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.507e-05/0.1258, allocations: 28.5 kB / 438.2 MB, free: 4.695 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.1258, allocations: 0 / 438.2 MB, free: 4.695 MB / 410.7 MB Notification: Performance of Templates: time 0.008228/0.1341, allocations: 3.112 MB / 441.3 MB, free: 1.625 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.47835509700235]