Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.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.001217/0.001217, allocations: 80.8 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.0009509/0.0009509, allocations: 166.9 kB / 24.91 MB, free: 9.152 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.8949/0.8949, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.[0-9,]+.|x",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 4 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.328e-05/1.551e-05, allocations: 2.312 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2241/0.2241, allocations: 147.1 MB / 420.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009377/0.2251, allocations: 0.7125 MB / 421.2 MB, free: 13.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.525e-05/0.2251, allocations: 7.938 kB / 421.3 MB, free: 13.36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.2255, allocations: 71.52 kB / 421.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004525/0.2259, allocations: 298.4 kB / 421.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.228, allocations: 1.163 MB / 422.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003129/0.2311, allocations: 5.696 MB / 428.5 MB, free: 6.129 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002091/0.2313, allocations: 104.2 kB / 428.6 MB, free: 5.992 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003429/0.2347, allocations: 3.167 MB / 431.7 MB, free: 2.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002135/0.2369, allocations: 1.957 MB / 433.7 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005644/0.2374, allocations: 236 kB / 433.9 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.155/0.3924, allocations: 1.515 MB / 435.4 MB, free: 6.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001738/0.3942, allocations: 1.279 MB / 436.7 MB, free: 6.77 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003197/0.3974, allocations: 1.26 MB / 438 MB, free: 6.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004503/0.4019, allocations: 4.129 MB / 442.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4019, allocations: 0.5312 kB / 442.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4019, allocations: 0.7812 kB / 442.1 MB, free: 6.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.542e-05/0.4019, allocations: 3.188 kB / 442.1 MB, free: 6.574 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.004057/0.406, allocations: 2.952 MB / 445.1 MB, free: 5.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.406, allocations: 10.97 kB / 445.1 MB, free: 5.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.4072, allocations: 0.6015 MB / 445.7 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009969/0.4082, allocations: 0.761 MB / 446.4 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.432e-05/0.4083, allocations: 181 kB / 446.6 MB, free: 5.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003579/0.4086, allocations: 285.1 kB / 446.9 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.411, allocations: 4.038 MB / 450.9 MB, free: 18.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.411, allocations: 3.5 kB / 450.9 MB, free: 18.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/0.4112, allocations: 114.6 kB / 451 MB, free: 18.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.748e-05/0.4113, allocations: 61.14 kB / 451.1 MB, free: 18.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001965/0.4132, allocations: 1.837 MB / 452.9 MB, free: 18.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006601/0.4198, allocations: 4.309 MB / 457.3 MB, free: 17.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.4217, allocations: 2.532 MB / 459.8 MB, free: 17.51 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007121/0.4224, allocations: 0.7586 MB / 460.5 MB, free: 17.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/0.4227, allocations: 136.6 kB / 460.7 MB, free: 17.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/0.4227, allocations: 96.25 kB / 460.8 MB, free: 17.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 4.739e-06/0.4227, allocations: 0 / 460.8 MB, free: 17.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.002117/0.4249, allocations: 1.795 MB / 462.6 MB, free: 17.31 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.4249, allocations: 90.94 kB / 462.7 MB, free: 17.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.4252, allocations: 477.4 kB / 463.1 MB, free: 17.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.4254, allocations: 104.9 kB / 463.2 MB, free: 17.06 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.4255, allocations: 0.5066 MB / 463.7 MB, free: 16.72 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004731/0.426, allocations: 1.355 MB / 465.1 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005495/0.4266, allocations: 0.5685 MB / 465.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.4266, allocations: 337.3 kB / 466 MB, free: 15.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/0.4272, allocations: 489 kB / 466.5 MB, free: 15.46 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/0.4279, allocations: 0.8927 MB / 467.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.4294, allocations: 1.741 MB / 469.1 MB, free: 14.51 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.4294, allocations: 2.188 kB / 469.1 MB, free: 14.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.001828/0.4312, allocations: 1.75 MB / 470.8 MB, free: 14.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.4312, allocations: 12 kB / 470.9 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.4312, allocations: 12.16 kB / 470.9 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.4313, allocations: 25.47 kB / 470.9 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.4328, allocations: 0.7302 MB / 471.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/0.4328, allocations: 35.42 kB / 471.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.4339, allocations: 291.4 kB / 471.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.434, allocations: 112.3 kB / 472.1 MB, free: 14.21 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.0005677/0.4346, allocations: 328 kB / 472.4 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.435, allocations: 277.8 kB / 472.6 MB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.4373, allocations: 2.224 MB / 474.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.4373, allocations: 41.12 kB / 474.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4373, allocations: 0.9375 kB / 474.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.4373, allocations: 20.39 kB / 474.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.4389, allocations: 1.25 MB / 476.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.4389, allocations: 4.188 kB / 476.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001499/0.4404, allocations: 0.662 MB / 476.8 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.477e-05/0.4405, allocations: 13.91 kB / 476.9 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.4406, allocations: 92.3 kB / 477 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.297e-05/0.4406, allocations: 13.25 kB / 477 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4406, allocations: 0.6875 kB / 477 MB, free: 13.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/0.4432, allocations: 2.503 MB / 479.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.4434, allocations: 225.9 kB / 479.7 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.4436, allocations: 89.58 kB / 479.8 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.4446, allocations: 176.2 kB / 479.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.4449, allocations: 265.8 kB / 480.2 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001972/0.4451, allocations: 133.5 kB / 480.3 MB, free: 13.14 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.4453, allocations: 236.5 kB / 480.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4453, allocations: 0 / 480.6 MB, free: 13.12 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001733/0.447, allocations: 1.118 MB / 481.7 MB, free: 13.04 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.0006813/0.4477, allocations: 444.5 kB / 482.1 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.4493, allocations: 1.631 MB / 483.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.626e-05/0.4493, allocations: 16.69 kB / 483.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000871/0.4502, allocations: 0.9861 MB / 484.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002349/0.4526, allocations: 1.163 MB / 485.9 MB, free: 12.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/0.4579, allocations: 4.554 MB / 490.5 MB, free: 8.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.4583, allocations: 0.5776 MB / 491 MB, free: 8.113 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001594/0.4599, allocations: 0.5808 MB / 491.6 MB, free: 7.598 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002681/0.4626, allocations: 1.177 MB / 492.8 MB, free: 6.453 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4626, allocations: 0 / 492.8 MB, free: 6.453 MB / 394.7 MB Notification: Performance of Templates: time 0.05543/0.518, allocations: 64.45 MB / 0.5442 GB, free: 7.199 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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: 4.8905641683377326]