Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.00109/0.00109, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001636/0.002726, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009987/0.0009987, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001712/0.00271, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8582/0.8582, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1557/1.014, allocations: 52.49 MB / 238.5 MB, free: 7.648 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.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.[0-9,]+.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.153e-06/1.153e-06, allocations: 0 / 239.8 MB, free: 6.375 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.935e-05, allocations: 2.312 kB / 239.8 MB, free: 6.371 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.01923/0.01925, allocations: 26.1 MB / 265.9 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.02161, allocations: 2.751 MB / 268.6 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.02174, allocations: 7.938 kB / 268.6 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.02207, allocations: 166.9 kB / 268.8 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.02255, allocations: 0.5356 MB / 269.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008996/0.03154, allocations: 6.348 MB / 275.7 MB, free: 2.363 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.03261, allocations: 1.629 MB / 277.3 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.03281, allocations: 154.1 kB / 277.4 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005914/0.0334, allocations: 0.8503 MB / 278.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/0.03386, allocations: 0.5064 MB / 278.8 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.902e-05/0.03394, allocations: 84 kB / 278.9 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009903/0.04384, allocations: 9.486 MB / 288.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002192/0.04406, allocations: 291.4 kB / 288.7 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.04429, allocations: 271.7 kB / 288.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005456/0.04975, allocations: 4.904 MB / 293.8 MB, free: 172 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/0.04976, allocations: 0 / 293.8 MB, free: 172 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.04976, allocations: 0 / 293.8 MB, free: 172 kB / 282.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.04977, allocations: 0 / 293.8 MB, free: 172 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.001913/0.05168, allocations: 1.95 MB / 295.8 MB, free: 14.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.05171, allocations: 11.98 kB / 295.8 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/0.05204, allocations: 225 kB / 296 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.05238, allocations: 315.7 kB / 296.3 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.05241, allocations: 45.31 kB / 296.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.05249, allocations: 71.98 kB / 296.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007832/0.05327, allocations: 0.848 MB / 297.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.05329, allocations: 0 / 297.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/0.05333, allocations: 28 kB / 297.3 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.05334, allocations: 12 kB / 297.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005728/0.05391, allocations: 362 kB / 297.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005247/0.05916, allocations: 3.444 MB / 301.1 MB, free: 8.676 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006631/0.05982, allocations: 452.3 kB / 301.5 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.05998, allocations: 157.6 kB / 301.7 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003938/0.06391, allocations: 2.417 MB / 304.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.06394, allocations: 43.22 kB / 304.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 1.873e-06/0.06394, allocations: 0 / 304.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.004122/0.06806, allocations: 2.231 MB / 306.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.06809, allocations: 60.41 kB / 306.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.06823, allocations: 252.9 kB / 306.7 MB, free: 2.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.06833, allocations: 45.7 kB / 306.7 MB, free: 2.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.06841, allocations: 225.5 kB / 307 MB, free: 2.711 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001315/0.06854, allocations: 329.2 kB / 307.3 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.06868, allocations: 150.6 kB / 307.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.92e-05/0.06876, allocations: 358.7 kB / 307.8 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.0689, allocations: 112.8 kB / 307.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.06918, allocations: 224.3 kB / 308.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005899/0.06977, allocations: 451.6 kB / 308.6 MB, free: 1.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.06977, allocations: 4 kB / 308.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008969/0.07067, allocations: 0.5879 MB / 309.1 MB, free: 420 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.07069, allocations: 4 kB / 309.1 MB, free: 416 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.07069, allocations: 4.281 kB / 309.2 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/0.07103, allocations: 131.8 kB / 309.3 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.0715, allocations: 231.7 kB / 309.5 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.07292, allocations: 3.562 MB / 313.1 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.07307, allocations: 23.97 kB / 313.1 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.07312, allocations: 35.98 kB / 313.1 MB, free: 12.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.07326, allocations: 164.4 kB / 313.3 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/0.07349, allocations: 135.2 kB / 313.4 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008434/0.07433, allocations: 0.7653 MB / 314.2 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.07434, allocations: 8 kB / 314.2 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.07434, allocations: 7.938 kB / 314.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005687/0.07491, allocations: 0.8273 MB / 315 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.07601, allocations: 1.037 MB / 316.1 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.07601, allocations: 3.938 kB / 316.1 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.07643, allocations: 199.8 kB / 316.3 MB, free: 8.812 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.764e-05/0.07646, allocations: 43.66 kB / 316.3 MB, free: 8.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007623/0.07723, allocations: 290.9 kB / 316.6 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.07726, allocations: 27.92 kB / 316.6 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000471/0.07774, allocations: 1.204 MB / 317.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.07774, allocations: 0 / 317.8 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008735/0.07861, allocations: 0.8186 MB / 318.6 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.07866, allocations: 28.05 kB / 318.7 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.07887, allocations: 31.98 kB / 318.7 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.07893, allocations: 64.81 kB / 318.8 MB, free: 6.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.07897, allocations: 27.97 kB / 318.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.076e-05/0.07904, allocations: 100.6 kB / 318.9 MB, free: 6.094 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.07904, allocations: 0 / 318.9 MB, free: 6.094 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002202/0.08124, allocations: 1.395 MB / 320.3 MB, free: 4.695 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00321/0.08445, allocations: 1.939 MB / 322.2 MB, free: 2.758 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007704/0.08522, allocations: 0.6859 MB / 322.9 MB, free: 2.039 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/0.08524, allocations: 8 kB / 322.9 MB, free: 2.031 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003598/0.0856, allocations: 332 kB / 323.2 MB, free: 1.703 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.08673, allocations: 1.307 MB / 324.5 MB, free: 192 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.114/0.2007, allocations: 1.261 MB / 325.8 MB, free: 43.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.2008, allocations: 172.3 kB / 326 MB, free: 43.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005448/0.2014, allocations: 146.3 kB / 326.1 MB, free: 43.04 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006775/0.202, allocations: 344.6 kB / 326.5 MB, free: 43 MB / 314.7 MB Notification: Performance of SimCode: time 1.512e-06/0.202, allocations: 1.688 kB / 326.5 MB, free: 43 MB / 314.7 MB Notification: Performance of Templates: time 0.04464/0.2467, allocations: 55.36 MB / 381.8 MB, free: 6.555 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.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: 8.566313442774117]