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.0009804/0.0009804, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001559/0.001559, allocations: 169.1 kB / 24.91 MB, free: 9.184 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.029/1.029, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.2927/0.2927, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|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.803e-06/1.803e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.008e-05, allocations: 3.781 kB / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02787/0.0279, allocations: 26.64 MB / 349.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003044/0.03094, allocations: 3.126 MB / 353 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.03114, allocations: 0 / 353 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.03149, allocations: 47.67 kB / 353.1 MB, free: 11.76 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002149/0.03364, allocations: 0.8273 MB / 353.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.03396, allocations: 143.7 kB / 354 MB, free: 10.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006521/0.03462, allocations: 397.9 kB / 354.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.501e-05/0.03468, allocations: 14.41 kB / 354.4 MB, free: 10.38 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:900:9-900:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Media/Water/IF97_Utilities.mo:937:9-937:73:writable] Warning: Output parameter bpro.cv was not assigned a value Notification: Performance of NFEvalConstants.evaluate: time 0.0271/0.06178, allocations: 15.55 MB / 370 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003439/0.06213, allocations: 131.7 kB / 370.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.06216, allocations: 8 kB / 370.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005698/0.06786, allocations: 3.421 MB / 373.5 MB, free: 7.121 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.21e-05/0.06794, allocations: 47.75 kB / 373.6 MB, free: 7.074 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.06805, allocations: 87.77 kB / 373.7 MB, free: 6.988 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009222/0.06897, allocations: 466.6 kB / 374.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.06898, allocations: 0 / 374.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.06898, allocations: 0 / 374.1 MB, free: 6.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.06898, allocations: 0 / 374.1 MB, free: 6.531 MB / 346.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.001063/0.07005, allocations: 0.5072 MB / 374.6 MB, free: 6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.07009, allocations: 12.03 kB / 374.6 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001546/0.07024, allocations: 48.83 kB / 374.7 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.07048, allocations: 161.5 kB / 374.8 MB, free: 5.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.07062, allocations: 230.7 kB / 375.1 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.07065, allocations: 20.38 kB / 375.1 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.07103, allocations: 409.2 kB / 375.5 MB, free: 4.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.07104, allocations: 3.938 kB / 375.5 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.07106, allocations: 12 kB / 375.5 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.07109, allocations: 4 kB / 375.5 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.07144, allocations: 445.4 kB / 375.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009936/0.07243, allocations: 0.9346 MB / 376.9 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.07264, allocations: 151.4 kB / 377 MB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.0727, allocations: 57.48 kB / 377.1 MB, free: 3.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009377/0.07363, allocations: 0.7564 MB / 377.8 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.07366, allocations: 30.56 kB / 377.9 MB, free: 2.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.07366, allocations: 3.938 kB / 377.9 MB, free: 2.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001879/0.07385, allocations: 125.5 kB / 378 MB, free: 2.398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.07388, allocations: 51.41 kB / 378.1 MB, free: 2.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.07402, allocations: 245.9 kB / 378.3 MB, free: 2.082 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.07403, allocations: 29.7 kB / 378.3 MB, free: 2.047 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.07414, allocations: 227.5 kB / 378.5 MB, free: 1.816 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.07416, allocations: 39.69 kB / 378.6 MB, free: 1.777 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-05/0.07424, allocations: 86.06 kB / 378.7 MB, free: 1.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.07434, allocations: 334.7 kB / 379 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.732e-05/0.07438, allocations: 39.8 kB / 379 MB, free: 1.312 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.07456, allocations: 328 kB / 379.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00032/0.07488, allocations: 438.2 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.07489, allocations: 4 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003234/0.07521, allocations: 316.1 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.07523, allocations: 12 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.07524, allocations: 8 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.07526, allocations: 16 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.07541, allocations: 96.52 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.07542, allocations: 19.88 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.07556, allocations: 59.56 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.07558, allocations: 27.98 kB / 380.3 MB, free: 15.71 MB / 362.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 8.838e-05/0.07567, allocations: 148.4 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.0757, allocations: 15.98 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.07588, allocations: 137.6 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.0759, allocations: 0 / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.0759, allocations: 4 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.0759, allocations: 0 / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.07619, allocations: 329 kB / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.0762, allocations: 0 / 380.9 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.07623, allocations: 15.94 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.07623, allocations: 4 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.07624, allocations: 4.094 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.07624, allocations: 3.984 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.07624, allocations: 4 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.07636, allocations: 224.7 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.0764, allocations: 19.89 kB / 381.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.713e-05/0.07643, allocations: 7.953 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.0765, allocations: 8 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/0.07653, allocations: 15.95 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.07653, allocations: 3.984 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.405e-05/0.07659, allocations: 70.78 kB / 381.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.07659, allocations: 4 kB / 381.3 MB, free: 14.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003646/0.07695, allocations: 99.86 kB / 381.4 MB, free: 14.53 MB / 362.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.0002509/0.0772, allocations: 136.3 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.0774, allocations: 156.5 kB / 381.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/0.07741, allocations: 8.5 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.057e-05/0.07743, allocations: 24.78 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.07768, allocations: 48.45 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009126/0.07859, allocations: 0.5335 MB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.931e-05/0.07864, allocations: 80.27 kB / 382.4 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.07877, allocations: 58.95 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.07887, allocations: 99.34 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.07887, allocations: 0 / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of Templates: time 0.005739/0.08461, allocations: 3.443 MB / 386 MB, free: 9.957 MB / 362.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","",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: 3.552043966948986]