Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002461, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006359/0.0006359, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000918/0.001554, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8809/0.8809, allocations: 173.4 MB / 185.8 MB, free: 8.969 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07662/0.9575, allocations: 52.49 MB / 238.3 MB, free: 4.422 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 239.5 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.114e-05, allocations: 2.312 kB / 239.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2649/0.2649, allocations: 144.6 MB / 384.2 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2659, allocations: 0.7228 MB / 384.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-05/0.266, allocations: 4 kB / 384.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.2663, allocations: 73.77 kB / 385 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.2667, allocations: 305.2 kB / 385.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.2688, allocations: 1.091 MB / 386.4 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003354/0.2722, allocations: 5.71 MB / 392.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002537/0.2725, allocations: 112.2 kB / 392.2 MB, free: 8.125 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004207/0.2767, allocations: 3.168 MB / 395.3 MB, free: 4.953 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002458/0.2791, allocations: 1.953 MB / 397.3 MB, free: 2.996 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007449/0.2799, allocations: 236 kB / 397.5 MB, free: 2.766 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.2826, allocations: 1.555 MB / 399.1 MB, free: 1.211 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008526/0.2835, allocations: 0.9278 MB / 400 MB, free: 288 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001391/0.2848, allocations: 0.8934 MB / 400.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003719/0.2886, allocations: 3.405 MB / 404.3 MB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.079e-05/0.2886, allocations: 3.984 kB / 404.3 MB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2886, allocations: 0 / 404.3 MB, free: 11.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.788e-05/0.2887, allocations: 0 / 404.3 MB, free: 11.96 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.004236/0.2929, allocations: 3.617 MB / 407.9 MB, free: 8.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.2929, allocations: 16.03 kB / 407.9 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.2941, allocations: 0.6839 MB / 408.6 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.2953, allocations: 0.7665 MB / 409.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.434e-05/0.2954, allocations: 188.8 kB / 409.6 MB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.2957, allocations: 280 kB / 409.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/0.2991, allocations: 4.042 MB / 413.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.2991, allocations: 0 / 413.9 MB, free: 1.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002467/0.2994, allocations: 116 kB / 414 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.131e-05/0.2994, allocations: 64 kB / 414.1 MB, free: 1.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1343/0.4337, allocations: 1.838 MB / 415.9 MB, free: 27.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009814/0.4436, allocations: 4.347 MB / 420.3 MB, free: 27.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.4458, allocations: 2.54 MB / 422.8 MB, free: 26.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009094/0.4468, allocations: 0.7639 MB / 423.6 MB, free: 26.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/0.4471, allocations: 134.4 kB / 423.7 MB, free: 26.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.957e-05/0.4471, allocations: 100.6 kB / 423.8 MB, free: 26.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 6.202e-06/0.4471, allocations: 0.9375 kB / 423.8 MB, free: 26.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.002506/0.4497, allocations: 1.807 MB / 425.6 MB, free: 26.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.4497, allocations: 92.84 kB / 425.7 MB, free: 26.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.4501, allocations: 485.7 kB / 426.2 MB, free: 26.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002618/0.4504, allocations: 104.8 kB / 426.3 MB, free: 26.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.4506, allocations: 0.5026 MB / 426.8 MB, free: 26.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006035/0.4512, allocations: 1.352 MB / 428.1 MB, free: 25.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005798/0.4518, allocations: 0.5612 MB / 428.7 MB, free: 25.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.4518, allocations: 340 kB / 429 MB, free: 25.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006517/0.4525, allocations: 492.2 kB / 429.5 MB, free: 25.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008499/0.4533, allocations: 0.8973 MB / 430.4 MB, free: 24.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.4551, allocations: 1.748 MB / 432.1 MB, free: 24.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/0.4551, allocations: 3.875 kB / 432.1 MB, free: 24.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.002494/0.4576, allocations: 1.758 MB / 433.9 MB, free: 23.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.4577, allocations: 11.84 kB / 433.9 MB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.4577, allocations: 15.62 kB / 433.9 MB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/0.4577, allocations: 26.12 kB / 434 MB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.4597, allocations: 0.8662 MB / 434.8 MB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.425e-05/0.4597, allocations: 34.16 kB / 434.9 MB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.4608, allocations: 293.3 kB / 435.1 MB, free: 23.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/0.461, allocations: 108.8 kB / 435.2 MB, free: 23.76 MB / 378.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.0009652/0.462, allocations: 334 kB / 435.6 MB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003925/0.4624, allocations: 276.4 kB / 435.8 MB, free: 23.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/0.4651, allocations: 2.249 MB / 438.1 MB, free: 23.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.4651, allocations: 40.16 kB / 438.1 MB, free: 23.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4651, allocations: 0 / 438.1 MB, free: 23.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.226e-05/0.4651, allocations: 22.56 kB / 438.1 MB, free: 23.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.467, allocations: 1.255 MB / 439.4 MB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.467, allocations: 3.844 kB / 439.4 MB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001789/0.4688, allocations: 0.7753 MB / 440.2 MB, free: 23.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.4691, allocations: 224.9 kB / 440.4 MB, free: 23.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.4691, allocations: 21.69 kB / 440.4 MB, free: 23.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/0.4693, allocations: 82.19 kB / 440.5 MB, free: 23.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/0.4693, allocations: 16.95 kB / 440.5 MB, free: 23.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4693, allocations: 0 / 440.5 MB, free: 23.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00343/0.4727, allocations: 2.529 MB / 443 MB, free: 22.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/0.473, allocations: 77.98 kB / 443.1 MB, free: 22.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.4746, allocations: 180.2 kB / 443.3 MB, free: 22.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000423/0.4751, allocations: 266 kB / 443.6 MB, free: 22.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003275/0.4754, allocations: 129.8 kB / 443.7 MB, free: 22.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002646/0.4757, allocations: 236.9 kB / 443.9 MB, free: 22.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4757, allocations: 0 / 443.9 MB, free: 22.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002198/0.4778, allocations: 1.142 MB / 445.1 MB, free: 22.59 MB / 378.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.001144/0.479, allocations: 0.4922 MB / 445.6 MB, free: 22.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002682/0.4817, allocations: 1.642 MB / 447.2 MB, free: 22.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-05/0.4818, allocations: 62.86 kB / 447.3 MB, free: 22.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.483, allocations: 0.9958 MB / 448.3 MB, free: 22.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/0.4863, allocations: 1.447 MB / 449.7 MB, free: 22.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/0.5065, allocations: 4.576 MB / 454.3 MB, free: 20.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.507, allocations: 0.5807 MB / 454.9 MB, free: 19.81 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002797/0.5098, allocations: 0.5754 MB / 455.4 MB, free: 19.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003391/0.5132, allocations: 1.179 MB / 456.6 MB, free: 18.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.024e-06/0.5132, allocations: 0.9062 kB / 456.6 MB, free: 18.61 MB / 378.7 MB Notification: Performance of Templates: time 0.06211/0.5753, allocations: 68.43 MB / 0.5127 GB, free: 0.8125 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.963095912709832]