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.0009678/0.0009678, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.002819/0.002819, allocations: 171.9 kB / 24.92 MB, free: 8.723 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 0.9555/0.9555, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2477/0.2477, allocations: 34.25 MB / 296.1 MB, free: 0.6875 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.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.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.[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.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.588e-05/3.718e-05, allocations: 4.062 kB / 325.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02522/0.02526, allocations: 26.64 MB / 351.9 MB, free: 12.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.02806, allocations: 3.115 MB / 355 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.02817, allocations: 0 / 355 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.02844, allocations: 59.59 kB / 355.1 MB, free: 9.754 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.03004, allocations: 0.8195 MB / 355.9 MB, free: 8.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.03029, allocations: 139.8 kB / 356 MB, free: 8.793 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.03075, allocations: 401.9 kB / 356.4 MB, free: 8.398 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.0308, allocations: 18.41 kB / 356.5 MB, free: 8.383 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.02603/0.05682, allocations: 15.54 MB / 372 MB, free: 8.707 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.05712, allocations: 135.6 kB / 372.1 MB, free: 8.574 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.05715, allocations: 8 kB / 372.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005226/0.06238, allocations: 3.425 MB / 375.6 MB, free: 5.113 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.734e-05/0.06245, allocations: 47.77 kB / 375.6 MB, free: 5.066 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.132e-05/0.06255, allocations: 83.81 kB / 375.7 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007715/0.06332, allocations: 458.6 kB / 376.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.06332, allocations: 3.938 kB / 376.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.06332, allocations: 0 / 376.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.06333, allocations: 0 / 376.1 MB, free: 4.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.0007118/0.06404, allocations: 0.515 MB / 376.7 MB, free: 3.992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.06407, allocations: 12.03 kB / 376.7 MB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.0642, allocations: 44.84 kB / 376.7 MB, free: 3.938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.06437, allocations: 161.5 kB / 376.9 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.06448, allocations: 226.7 kB / 377.1 MB, free: 3.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.84e-05/0.06451, allocations: 28.31 kB / 377.1 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.06479, allocations: 409.2 kB / 377.5 MB, free: 2.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.0648, allocations: 7.938 kB / 377.5 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.06482, allocations: 12 kB / 377.5 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.06485, allocations: 4 kB / 377.5 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.06514, allocations: 437.5 kB / 378 MB, free: 2.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007388/0.06588, allocations: 0.9385 MB / 378.9 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.06608, allocations: 159.4 kB / 379.1 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.06613, allocations: 49.5 kB / 379.1 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008721/0.067, allocations: 0.7564 MB / 379.9 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.06703, allocations: 34.56 kB / 379.9 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.06703, allocations: 0 / 379.9 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001591/0.06719, allocations: 123.2 kB / 380 MB, free: 412 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.06722, allocations: 63.34 kB / 380.1 MB, free: 336 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.06733, allocations: 233.9 kB / 380.3 MB, free: 88 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.06734, allocations: 29.7 kB / 380.3 MB, free: 52 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.463e-05/0.06744, allocations: 227.5 kB / 380.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.06746, allocations: 39.67 kB / 380.6 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.06752, allocations: 90.06 kB / 380.7 MB, free: 15.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.06759, allocations: 330.7 kB / 381 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.415e-05/0.06763, allocations: 39.8 kB / 381.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.06778, allocations: 324.1 kB / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.06803, allocations: 442.2 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.06803, allocations: 4 kB / 381.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002657/0.0683, allocations: 320.5 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.06832, allocations: 12 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.06833, allocations: 8 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.06835, allocations: 16 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.06849, allocations: 95.83 kB / 382.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.0685, allocations: 19.92 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.06863, allocations: 59.55 kB / 382.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.06865, allocations: 24 kB / 382.3 MB, free: 13.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.266e-05/0.06873, allocations: 156.6 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.06876, allocations: 15.98 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.06893, allocations: 130.8 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.06894, allocations: 4 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.06895, allocations: 4 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.06895, allocations: 0 / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.06919, allocations: 329 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.06919, allocations: 4 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.852e-05/0.06922, allocations: 11.98 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.06922, allocations: 4 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-06/0.06923, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.06923, allocations: 0 / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.06923, allocations: 7.938 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.06934, allocations: 232.8 kB / 383.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.06937, allocations: 15.91 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.06938, allocations: 11.89 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.06946, allocations: 15.92 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.414e-05/0.06947, allocations: 7.938 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.06948, allocations: 3.984 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.657e-05/0.06953, allocations: 70.78 kB / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06953, allocations: 0 / 383.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000306/0.06983, allocations: 95.88 kB / 383.4 MB, free: 12.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.000202/0.07003, allocations: 140.4 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.07019, allocations: 167.9 kB / 383.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.07021, allocations: 4.5 kB / 383.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.07022, allocations: 21.61 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.07044, allocations: 52.64 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008484/0.07129, allocations: 0.5268 MB / 384.3 MB, free: 11.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.335e-05/0.07133, allocations: 72.33 kB / 384.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.07144, allocations: 54.14 kB / 384.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.07155, allocations: 107.3 kB / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.07155, allocations: 0 / 384.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of Templates: time 0.005118/0.07667, allocations: 3.437 MB / 388 MB, free: 7.961 MB / 362.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","",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: 3.164658846799284]