Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.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.001362/0.001362, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001542/0.001542, allocations: 160.6 kB / 24.91 MB, free: 9.145 MB / 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.955/0.955, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.[0-9,]+.|x",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.[0-9,]+.|x",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 273.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.887e-05/2.007e-05, allocations: 6.312 kB / 273.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2446/0.2446, allocations: 147.1 MB / 420.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2457, allocations: 0.7044 MB / 421.2 MB, free: 13.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.514e-05/0.2458, allocations: 4 kB / 421.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.2462, allocations: 75.5 kB / 421.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000493/0.2466, allocations: 310.3 kB / 421.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.2488, allocations: 1.159 MB / 422.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003275/0.2521, allocations: 5.692 MB / 428.4 MB, free: 5.992 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.2523, allocations: 108.2 kB / 428.5 MB, free: 5.852 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003555/0.2559, allocations: 3.159 MB / 431.7 MB, free: 2.688 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.2581, allocations: 1.965 MB / 433.6 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000514/0.2586, allocations: 236 kB / 433.9 MB, free: 500 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1397/0.3984, allocations: 1.514 MB / 435.4 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001546/0.3999, allocations: 1.279 MB / 436.7 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003043/0.403, allocations: 1.258 MB / 437.9 MB, free: 6.762 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005449/0.4084, allocations: 4.129 MB / 442 MB, free: 6.562 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.4084, allocations: 0 / 442 MB, free: 6.562 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4084, allocations: 1.5 kB / 442 MB, free: 6.562 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001191/0.4085, allocations: 0 / 442 MB, free: 6.562 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.005778/0.4143, allocations: 2.954 MB / 445 MB, free: 5.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4143, allocations: 13.95 kB / 445 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.4157, allocations: 0.605 MB / 445.6 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.417, allocations: 0.762 MB / 446.4 MB, free: 5.203 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/0.4171, allocations: 184 kB / 446.6 MB, free: 5.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003841/0.4174, allocations: 287 kB / 446.8 MB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002745/0.4202, allocations: 4.036 MB / 450.9 MB, free: 18.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.4202, allocations: 3.625 kB / 450.9 MB, free: 18.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/0.4205, allocations: 113.8 kB / 451 MB, free: 18.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.4205, allocations: 62.14 kB / 451.1 MB, free: 18.4 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/0.4227, allocations: 1.844 MB / 452.9 MB, free: 18.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007931/0.4306, allocations: 4.299 MB / 457.2 MB, free: 17.73 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.4326, allocations: 2.528 MB / 459.7 MB, free: 17.49 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007733/0.4334, allocations: 0.7643 MB / 460.5 MB, free: 17.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003069/0.4337, allocations: 133 kB / 460.6 MB, free: 17.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.632e-05/0.4338, allocations: 96.38 kB / 460.7 MB, free: 17.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 5.981e-06/0.4338, allocations: 1.094 kB / 460.7 MB, free: 17.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.002492/0.4363, allocations: 1.792 MB / 462.5 MB, free: 17.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.4363, allocations: 94.41 kB / 462.6 MB, free: 17.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.4367, allocations: 482 kB / 463.1 MB, free: 17.08 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002608/0.4369, allocations: 103.1 kB / 463.2 MB, free: 17.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.4371, allocations: 0.5044 MB / 463.7 MB, free: 16.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005387/0.4376, allocations: 1.354 MB / 465 MB, free: 15.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005874/0.4382, allocations: 0.5655 MB / 465.6 MB, free: 15.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.4383, allocations: 335.6 kB / 465.9 MB, free: 15.47 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000637/0.439, allocations: 491.4 kB / 466.4 MB, free: 15.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/0.4397, allocations: 0.8962 MB / 467.3 MB, free: 15.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.4413, allocations: 1.736 MB / 469 MB, free: 14.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.4413, allocations: 4.531 kB / 469 MB, free: 14.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.002114/0.4434, allocations: 1.755 MB / 470.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4434, allocations: 11.72 kB / 470.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.4435, allocations: 10.89 kB / 470.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/0.4435, allocations: 29.06 kB / 470.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.4452, allocations: 0.7216 MB / 471.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.843e-05/0.4452, allocations: 36.3 kB / 471.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.4464, allocations: 295.9 kB / 471.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.4466, allocations: 109.4 kB / 472 MB, free: 14.19 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * Array equations: 0 * 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.0007866/0.4473, allocations: 336.6 kB / 472.3 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004183/0.4478, allocations: 276.2 kB / 472.6 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/0.4503, allocations: 2.222 MB / 474.8 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.652e-05/0.4503, allocations: 40.5 kB / 474.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4503, allocations: 4.156 kB / 474.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/0.4503, allocations: 20.16 kB / 474.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.4522, allocations: 1.25 MB / 476.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.4522, allocations: 1.062 kB / 476.1 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/0.4538, allocations: 0.6617 MB / 476.8 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.828e-05/0.4538, allocations: 14.69 kB / 476.8 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/0.454, allocations: 90.84 kB / 476.9 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.454, allocations: 13.28 kB / 476.9 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.454, allocations: 2.938 kB / 476.9 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/0.4568, allocations: 2.503 MB / 479.4 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.457, allocations: 229.2 kB / 479.6 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/0.4573, allocations: 91.34 kB / 479.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.4584, allocations: 167.9 kB / 479.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/0.4586, allocations: 272 kB / 480.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/0.4589, allocations: 131.1 kB / 480.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001837/0.459, allocations: 230.4 kB / 480.5 MB, free: 13.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.459, allocations: 0 / 480.5 MB, free: 13.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00179/0.4608, allocations: 1.119 MB / 481.6 MB, free: 13.03 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * Array equations: 0 * 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.0007794/0.4616, allocations: 446.5 kB / 482.1 MB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.4634, allocations: 1.632 MB / 483.7 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.926e-05/0.4634, allocations: 14.14 kB / 483.7 MB, free: 12.83 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008493/0.4643, allocations: 0.9902 MB / 484.7 MB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.4666, allocations: 1.159 MB / 485.9 MB, free: 12.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/0.4723, allocations: 4.559 MB / 490.4 MB, free: 8.492 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.4727, allocations: 0.5702 MB / 491 MB, free: 7.996 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001772/0.4745, allocations: 0.5867 MB / 491.6 MB, free: 7.473 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002859/0.4774, allocations: 1.18 MB / 492.8 MB, free: 6.328 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4774, allocations: 4 kB / 492.8 MB, free: 6.324 MB / 394.7 MB Notification: Performance of Templates: time 0.06154/0.5389, allocations: 64.39 MB / 0.5441 GB, free: 7.031 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.003672040998936]