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.001283/0.001283, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001389/0.001389, allocations: 161 kB / 24.56 MB, free: 16 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 0.918/0.918, allocations: 177.1 MB / 205 MB, free: 5.617 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.2474/0.2474, allocations: 34.25 MB / 295.7 MB, free: 0.7734 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.613e-06/1.613e-06, allocations: 0 / 378.1 MB, free: 2.633 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.123e-05, allocations: 9.906 kB / 378.1 MB, free: 2.625 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.04667/0.04669, allocations: 26.71 MB / 404.8 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.04898, allocations: 3.103 MB / 407.9 MB, free: 4.699 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.44e-05/0.04908, allocations: 4 kB / 407.9 MB, free: 4.695 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.04936, allocations: 55.61 kB / 407.9 MB, free: 4.641 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.05095, allocations: 0.8079 MB / 408.7 MB, free: 3.828 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.05118, allocations: 143.8 kB / 408.9 MB, free: 3.688 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.05161, allocations: 401.8 kB / 409.3 MB, free: 3.293 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.05165, allocations: 13.75 kB / 409.3 MB, free: 3.281 MB / 378.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.02461/0.07626, allocations: 15.52 MB / 424.8 MB, free: 3.633 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.07653, allocations: 131.7 kB / 424.9 MB, free: 3.504 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.07656, allocations: 8 kB / 424.9 MB, free: 3.496 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004633/0.08119, allocations: 3.418 MB / 428.4 MB, free: 48 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.844e-05/0.08126, allocations: 47.77 kB / 428.4 MB, free: 0 / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.723e-05/0.08135, allocations: 83.77 kB / 428.5 MB, free: 15.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005929/0.08195, allocations: 462.6 kB / 428.9 MB, free: 15.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.08195, allocations: 0 / 428.9 MB, free: 15.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.08195, allocations: 0 / 428.9 MB, free: 15.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.08196, allocations: 4 kB / 428.9 MB, free: 15.46 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.0007794/0.08274, allocations: 0.6242 MB / 429.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.08277, allocations: 12.03 kB / 429.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.08292, allocations: 56.61 kB / 429.6 MB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.08312, allocations: 172.4 kB / 429.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.08323, allocations: 226.7 kB / 430 MB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.08326, allocations: 24.38 kB / 430.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003545/0.08362, allocations: 438.3 kB / 430.5 MB, free: 13.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.08363, allocations: 7.938 kB / 430.5 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.08365, allocations: 11.98 kB / 430.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.08368, allocations: 11.98 kB / 430.5 MB, free: 13.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003756/0.08405, allocations: 0.5255 MB / 431 MB, free: 13.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009034/0.08496, allocations: 1.339 MB / 432.4 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.08519, allocations: 144.2 kB / 432.5 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.08527, allocations: 68.31 kB / 432.6 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008378/0.0861, allocations: 0.8205 MB / 433.4 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.08613, allocations: 41.38 kB / 433.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.08613, allocations: 0 / 433.4 MB, free: 10.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001908/0.08632, allocations: 109.5 kB / 433.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.08634, allocations: 55.41 kB / 433.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.08648, allocations: 297.3 kB / 433.9 MB, free: 10.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.08649, allocations: 25.7 kB / 433.9 MB, free: 10.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.137e-05/0.08658, allocations: 278.2 kB / 434.2 MB, free: 9.867 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.0866, allocations: 43.69 kB / 434.2 MB, free: 9.824 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.524e-05/0.08667, allocations: 99.67 kB / 434.3 MB, free: 9.719 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.08678, allocations: 0.5039 MB / 434.8 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.402e-05/0.08682, allocations: 36.97 kB / 434.9 MB, free: 9.168 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.08703, allocations: 471.9 kB / 435.3 MB, free: 8.504 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.08734, allocations: 0.5551 MB / 435.9 MB, free: 7.746 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.08735, allocations: 0 / 435.9 MB, free: 7.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003477/0.0877, allocations: 389.1 kB / 436.3 MB, free: 7.359 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.08771, allocations: 8 kB / 436.3 MB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.08772, allocations: 12 kB / 436.3 MB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.08774, allocations: 12.78 kB / 436.3 MB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.08788, allocations: 103.8 kB / 436.4 MB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.08789, allocations: 19.94 kB / 436.4 MB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.08802, allocations: 59.56 kB / 436.5 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.08804, allocations: 35.92 kB / 436.5 MB, free: 7.113 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 8.377e-05/0.08812, allocations: 192.3 kB / 436.7 MB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.08815, allocations: 23.86 kB / 436.7 MB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001822/0.08833, allocations: 142.7 kB / 436.9 MB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.08834, allocations: 0 / 436.9 MB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.08834, allocations: 3.984 kB / 436.9 MB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.08835, allocations: 4 kB / 436.9 MB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/0.08861, allocations: 404.2 kB / 437.3 MB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.08861, allocations: 7.984 kB / 437.3 MB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.08864, allocations: 12 kB / 437.3 MB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.08865, allocations: 8.094 kB / 437.3 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.08865, allocations: 0 / 437.3 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.08866, allocations: 7.938 kB / 437.3 MB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.08866, allocations: 0 / 437.3 MB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.08878, allocations: 262.7 kB / 437.6 MB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.08881, allocations: 23.84 kB / 437.6 MB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.08883, allocations: 4 kB / 437.6 MB, free: 5.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.0889, allocations: 15.98 kB / 437.6 MB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.698e-05/0.08892, allocations: 3.984 kB / 437.6 MB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.08893, allocations: 8 kB / 437.6 MB, free: 5.895 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.295e-05/0.08901, allocations: 197.1 kB / 437.8 MB, free: 5.699 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08901, allocations: 0 / 437.8 MB, free: 5.699 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003205/0.08933, allocations: 95.83 kB / 437.9 MB, free: 5.605 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.0001965/0.08953, allocations: 163 kB / 438.1 MB, free: 5.438 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.08972, allocations: 175.1 kB / 438.2 MB, free: 5.266 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.08973, allocations: 0 / 438.2 MB, free: 5.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.08975, allocations: 27.62 kB / 438.3 MB, free: 5.234 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.09002, allocations: 55.3 kB / 438.3 MB, free: 5.184 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009296/0.09095, allocations: 0.536 MB / 438.8 MB, free: 4.605 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.966e-05/0.09099, allocations: 72.33 kB / 438.9 MB, free: 4.516 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.0911, allocations: 50.92 kB / 439 MB, free: 4.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/0.09114, allocations: 32.48 kB / 439 MB, free: 4.438 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.09114, allocations: 0 / 439 MB, free: 4.438 MB / 410.7 MB Notification: Performance of Templates: time 0.005045/0.09618, allocations: 3.468 MB / 442.5 MB, free: 1.023 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","",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.3765309061855078]