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.0008809/0.0008809, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.002034, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006951/0.0006951, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009509/0.001646, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9042/0.9042, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07761/0.9818, allocations: 53.86 MB / 243.9 MB, free: 14.86 MB / 250.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.363e-06/1.363e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.038e-05, allocations: 2.312 kB / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2558/0.2558, allocations: 147.6 MB / 392.8 MB, free: 4.418 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000951/0.2567, allocations: 0.712 MB / 393.5 MB, free: 3.723 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.893e-05/0.2568, allocations: 4 kB / 393.5 MB, free: 3.719 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.2571, allocations: 71.5 kB / 393.6 MB, free: 3.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.2575, allocations: 306 kB / 393.8 MB, free: 3.359 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.2593, allocations: 1.085 MB / 394.9 MB, free: 2.277 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003075/0.2624, allocations: 5.723 MB / 400.7 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002786/0.2627, allocations: 112.2 kB / 400.8 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003711/0.2664, allocations: 3.17 MB / 403.9 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00222/0.2686, allocations: 1.965 MB / 405.9 MB, free: 7.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005795/0.2692, allocations: 232 kB / 406.1 MB, free: 7.023 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.2716, allocations: 1.587 MB / 407.7 MB, free: 5.434 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007558/0.2724, allocations: 0.9278 MB / 408.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.2735, allocations: 0.8972 MB / 409.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002998/0.2765, allocations: 3.432 MB / 413 MB, free: 168 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.343e-05/0.2765, allocations: 3.938 kB / 413 MB, free: 164 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2765, allocations: 0 / 413 MB, free: 164 kB / 378.7 MB Notification: Performance of Transformations before backend: time 5.813e-05/0.2766, allocations: 4 kB / 413 MB, free: 160 kB / 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.004517/0.2811, allocations: 3.628 MB / 416.6 MB, free: 12.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2811, allocations: 12.62 kB / 416.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/0.2826, allocations: 0.6839 MB / 417.3 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.2838, allocations: 0.7742 MB / 418.1 MB, free: 10.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.665e-05/0.2839, allocations: 180.9 kB / 418.3 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003489/0.2842, allocations: 280 kB / 418.5 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.2868, allocations: 4.05 MB / 422.6 MB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.2869, allocations: 0 / 422.6 MB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002349/0.2871, allocations: 117.2 kB / 422.7 MB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.2871, allocations: 56 kB / 422.7 MB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.2892, allocations: 1.847 MB / 424.6 MB, free: 3.848 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1543/0.4435, allocations: 4.338 MB / 428.9 MB, free: 27.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003129/0.4467, allocations: 2.54 MB / 431.5 MB, free: 27.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.4478, allocations: 0.7646 MB / 432.2 MB, free: 27.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003651/0.4482, allocations: 136.9 kB / 432.4 MB, free: 27.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.037e-05/0.4483, allocations: 95.89 kB / 432.5 MB, free: 27.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 7.073e-06/0.4483, allocations: 0 / 432.5 MB, free: 27.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.003097/0.4514, allocations: 1.81 MB / 434.3 MB, free: 27.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.4514, allocations: 97.34 kB / 434.4 MB, free: 27.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.4518, allocations: 473.2 kB / 434.8 MB, free: 26.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002454/0.452, allocations: 103.6 kB / 434.9 MB, free: 26.87 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.4522, allocations: 0.5069 MB / 435.4 MB, free: 26.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005315/0.4527, allocations: 1.353 MB / 436.8 MB, free: 25.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005871/0.4533, allocations: 0.562 MB / 437.4 MB, free: 25.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.4534, allocations: 341.2 kB / 437.7 MB, free: 25.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006512/0.454, allocations: 494.1 kB / 438.2 MB, free: 25.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007052/0.4547, allocations: 0.8973 MB / 439.1 MB, free: 25.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.4564, allocations: 1.779 MB / 440.8 MB, free: 24.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.545e-05/0.4565, allocations: 4.5 kB / 440.9 MB, free: 24.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.002066/0.4585, allocations: 1.759 MB / 442.6 MB, free: 24.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.4585, allocations: 11.72 kB / 442.6 MB, free: 24.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.4586, allocations: 12.09 kB / 442.6 MB, free: 24.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/0.4586, allocations: 26.25 kB / 442.7 MB, free: 24.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/0.4605, allocations: 0.8719 MB / 443.5 MB, free: 24.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.052e-05/0.4605, allocations: 30.27 kB / 443.6 MB, free: 24.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.4615, allocations: 300.8 kB / 443.9 MB, free: 24.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.4616, allocations: 107.5 kB / 444 MB, free: 24.32 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.0006441/0.4623, allocations: 327.6 kB / 444.3 MB, free: 24.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003557/0.4626, allocations: 278.3 kB / 444.6 MB, free: 24.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.465, allocations: 2.248 MB / 446.8 MB, free: 23.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.4651, allocations: 41.19 kB / 446.8 MB, free: 23.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4651, allocations: 0.8438 kB / 446.8 MB, free: 23.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.079e-05/0.4651, allocations: 20.39 kB / 446.9 MB, free: 23.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.4667, allocations: 1.259 MB / 448.1 MB, free: 23.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4668, allocations: 4.219 kB / 448.1 MB, free: 23.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/0.4684, allocations: 0.7784 MB / 448.9 MB, free: 23.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.4686, allocations: 227.8 kB / 449.1 MB, free: 23.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.4686, allocations: 12.25 kB / 449.1 MB, free: 23.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/0.4687, allocations: 83.28 kB / 449.2 MB, free: 23.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.989e-06/0.4688, allocations: 17.91 kB / 449.2 MB, free: 23.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4688, allocations: 3.562 kB / 449.2 MB, free: 23.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.4712, allocations: 2.523 MB / 451.8 MB, free: 23.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.4714, allocations: 87.12 kB / 451.8 MB, free: 23.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.4724, allocations: 170.9 kB / 452 MB, free: 23.27 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.4727, allocations: 269.8 kB / 452.3 MB, free: 23.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/0.4729, allocations: 130.5 kB / 452.4 MB, free: 23.27 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001797/0.4731, allocations: 231.1 kB / 452.6 MB, free: 23.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4731, allocations: 0.9062 kB / 452.6 MB, free: 23.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001635/0.4747, allocations: 1.148 MB / 453.8 MB, free: 23.16 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.0008188/0.4756, allocations: 498.1 kB / 454.3 MB, free: 23.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.4774, allocations: 1.687 MB / 456 MB, free: 22.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.279e-05/0.4775, allocations: 58.33 kB / 456 MB, free: 22.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.4786, allocations: 1.251 MB / 457.3 MB, free: 22.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.4811, allocations: 1.977 MB / 459.2 MB, free: 22.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.496, allocations: 4.574 MB / 463.8 MB, free: 20.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.4964, allocations: 0.5786 MB / 464.4 MB, free: 20.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002148/0.4986, allocations: 0.5831 MB / 465 MB, free: 20.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00267/0.5012, allocations: 1.19 MB / 466.2 MB, free: 20.53 MB / 394.7 MB Notification: Performance of SimCode: time 1.974e-06/0.5012, allocations: 0 / 466.2 MB, free: 20.53 MB / 394.7 MB Notification: Performance of Templates: time 0.05813/0.5594, allocations: 69.02 MB / 0.5226 GB, free: 6.16 MB / 442.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.770774797536433]