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.001367/0.001367, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.001621/0.001621, allocations: 156.5 kB / 24.55 MB, free: 16 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 0.9756/0.9756, allocations: 177 MB / 204.8 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 179] 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.2521/0.2521, allocations: 34.85 MB / 296.3 MB, free: 492 kB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|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.382e-06/1.382e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.815e-05, allocations: 3.156 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02196/0.02198, allocations: 26.7 MB / 405.5 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.02406, allocations: 3.107 MB / 408.6 MB, free: 4.129 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.576e-05/0.02412, allocations: 0 / 408.6 MB, free: 4.129 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.02439, allocations: 59.61 kB / 408.7 MB, free: 4.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001145/0.02553, allocations: 0.8156 MB / 409.5 MB, free: 3.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.02575, allocations: 139.8 kB / 409.6 MB, free: 3.113 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.02613, allocations: 393.9 kB / 410 MB, free: 2.727 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.02617, allocations: 13.73 kB / 410 MB, free: 2.715 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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 trunk/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 trunk/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.02217/0.04834, allocations: 15.52 MB / 425.5 MB, free: 3.066 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.04859, allocations: 139.6 kB / 425.7 MB, free: 2.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.04862, allocations: 8 kB / 425.7 MB, free: 2.922 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004532/0.05315, allocations: 3.41 MB / 429.1 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.05323, allocations: 55.73 kB / 429.1 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.981e-05/0.05332, allocations: 71.84 kB / 429.2 MB, free: 15.36 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006086/0.05393, allocations: 462.6 kB / 429.7 MB, free: 14.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.05393, allocations: 4 kB / 429.7 MB, free: 14.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.05393, allocations: 3.938 kB / 429.7 MB, free: 14.89 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.05394, allocations: 0 / 429.7 MB, free: 14.89 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.0008048/0.05474, allocations: 0.6242 MB / 430.3 MB, free: 14.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.05478, allocations: 11.97 kB / 430.3 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.05493, allocations: 60.67 kB / 430.4 MB, free: 14.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.05513, allocations: 176.3 kB / 430.5 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.05524, allocations: 222.7 kB / 430.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.05527, allocations: 24.38 kB / 430.8 MB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.05562, allocations: 446.2 kB / 431.2 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.05564, allocations: 3.938 kB / 431.2 MB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.05566, allocations: 12 kB / 431.2 MB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.663e-05/0.05568, allocations: 4 kB / 431.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.05607, allocations: 0.5255 MB / 431.8 MB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.05724, allocations: 1.343 MB / 433.1 MB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000235/0.05747, allocations: 136.3 kB / 433.2 MB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.623e-05/0.05755, allocations: 68.31 kB / 433.3 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000832/0.05838, allocations: 0.8283 MB / 434.1 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.05841, allocations: 41.33 kB / 434.2 MB, free: 10.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.05841, allocations: 0 / 434.2 MB, free: 10.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002064/0.05861, allocations: 113.5 kB / 434.3 MB, free: 9.977 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.05864, allocations: 55.41 kB / 434.3 MB, free: 9.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.05879, allocations: 293 kB / 434.6 MB, free: 9.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.05881, allocations: 33.7 kB / 434.7 MB, free: 9.566 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.05891, allocations: 274.2 kB / 434.9 MB, free: 9.293 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.05893, allocations: 39.69 kB / 435 MB, free: 9.254 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-05/0.05899, allocations: 91.75 kB / 435.1 MB, free: 9.156 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.0591, allocations: 0.504 MB / 435.6 MB, free: 8.641 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.573e-05/0.05915, allocations: 36.97 kB / 435.6 MB, free: 8.605 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.05936, allocations: 471.8 kB / 436.1 MB, free: 7.941 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003115/0.05967, allocations: 0.5589 MB / 436.6 MB, free: 7.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.05967, allocations: 4 kB / 436.6 MB, free: 7.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003442/0.06002, allocations: 376.9 kB / 437 MB, free: 6.801 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.06004, allocations: 12.95 kB / 437 MB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.06004, allocations: 12 kB / 437 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.06007, allocations: 20 kB / 437 MB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.0602, allocations: 99.78 kB / 437.1 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.06021, allocations: 19.92 kB / 437.1 MB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.06033, allocations: 55.56 kB / 437.2 MB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.06035, allocations: 28 kB / 437.2 MB, free: 6.559 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.424e-05/0.06044, allocations: 196.3 kB / 437.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.06047, allocations: 23.86 kB / 437.4 MB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.06064, allocations: 150.6 kB / 437.6 MB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.06065, allocations: 4 kB / 437.6 MB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.06065, allocations: 0 / 437.6 MB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.06066, allocations: 0 / 437.6 MB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.06092, allocations: 420.2 kB / 438 MB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.06092, allocations: 0 / 438 MB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-05/0.06095, allocations: 20.08 kB / 438 MB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.06095, allocations: 0 / 438 MB, free: 5.676 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.06096, allocations: 7.938 kB / 438 MB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.06096, allocations: 3.938 kB / 438 MB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.06096, allocations: 0 / 438 MB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.06109, allocations: 262.8 kB / 438.3 MB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.06111, allocations: 19.83 kB / 438.3 MB, free: 5.355 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.06113, allocations: 4 kB / 438.3 MB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.0612, allocations: 7.938 kB / 438.3 MB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.031e-05/0.06122, allocations: 19.95 kB / 438.3 MB, free: 5.324 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.06123, allocations: 8 kB / 438.3 MB, free: 5.316 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.246e-05/0.06131, allocations: 193.1 kB / 438.5 MB, free: 5.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06131, allocations: 0 / 438.5 MB, free: 5.125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005559/0.06187, allocations: 95.81 kB / 438.6 MB, free: 5.031 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.0001991/0.06207, allocations: 159.1 kB / 438.8 MB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001993/0.06226, allocations: 170.6 kB / 439 MB, free: 4.699 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.06227, allocations: 4 kB / 439 MB, free: 4.695 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.322e-05/0.06229, allocations: 27.67 kB / 439 MB, free: 4.664 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.06256, allocations: 41.58 kB / 439 MB, free: 4.625 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009333/0.0635, allocations: 0.5391 MB / 439.6 MB, free: 4.043 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.303e-05/0.06354, allocations: 76.33 kB / 439.6 MB, free: 3.949 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.06365, allocations: 55.03 kB / 439.7 MB, free: 3.898 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.06369, allocations: 24.5 kB / 439.7 MB, free: 3.875 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.06369, allocations: 0 / 439.7 MB, free: 3.875 MB / 410.7 MB Notification: Performance of Templates: time 0.004525/0.06821, allocations: 3.062 MB / 442.8 MB, free: 0.8711 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","",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: 3.5179620860144496]