Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001481/0.001481, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001128/0.001128, allocations: 168.9 kB / 25.69 MB, free: 8.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8865/0.8865, allocations: 158.6 MB / 187.6 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.135e-05, allocations: 10.31 kB / 251.6 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.02441/0.02443, allocations: 26.12 MB / 277.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003225/0.02765, allocations: 2.724 MB / 280.4 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.0279, allocations: 11.94 kB / 280.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.02835, allocations: 162.9 kB / 280.6 MB, free: 10.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006582/0.02901, allocations: 0.5356 MB / 281.1 MB, free: 9.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01165/0.04066, allocations: 6.061 MB / 287.2 MB, free: 3.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.04229, allocations: 1.617 MB / 288.8 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.04254, allocations: 154.1 kB / 289 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009503/0.04349, allocations: 0.8264 MB / 289.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008808/0.04437, allocations: 0.5025 MB / 290.3 MB, free: 336 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.04449, allocations: 84 kB / 290.4 MB, free: 252 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01283/0.05732, allocations: 9.345 MB / 299.7 MB, free: 6.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004176/0.05774, allocations: 355.1 kB / 300.1 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004753/0.05822, allocations: 331.4 kB / 300.4 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.06904, allocations: 6.298 MB / 306.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.06904, allocations: 4 kB / 306.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.06905, allocations: 0 / 306.7 MB, free: 15.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.06906, allocations: 0 / 306.7 MB, free: 15.91 MB / 298.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.002503/0.07156, allocations: 1.419 MB / 308.1 MB, free: 14.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.0716, allocations: 8.031 kB / 308.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.07201, allocations: 155.8 kB / 308.3 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/0.0724, allocations: 311.8 kB / 308.6 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.07243, allocations: 45.31 kB / 308.6 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.0725, allocations: 71.98 kB / 308.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008519/0.07336, allocations: 0.8479 MB / 309.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.07337, allocations: 3.938 kB / 309.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.07342, allocations: 28 kB / 309.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.07343, allocations: 16 kB / 309.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006165/0.07405, allocations: 358.1 kB / 309.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006571/0.08062, allocations: 3.436 MB / 313.4 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007278/0.08135, allocations: 440.6 kB / 313.8 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.08152, allocations: 157.6 kB / 314 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004496/0.08601, allocations: 2.418 MB / 316.4 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.08606, allocations: 43.22 kB / 316.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 3.727e-06/0.08606, allocations: 0 / 316.4 MB, free: 5.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.004472/0.09053, allocations: 2.072 MB / 318.5 MB, free: 3.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.09056, allocations: 60.41 kB / 318.6 MB, free: 3.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.09074, allocations: 256.9 kB / 318.8 MB, free: 3.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.09079, allocations: 41.7 kB / 318.9 MB, free: 3.477 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.643e-05/0.09088, allocations: 225.5 kB / 319.1 MB, free: 3.25 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003461/0.09123, allocations: 329.1 kB / 319.4 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.09138, allocations: 154.5 kB / 319.5 MB, free: 2.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.09148, allocations: 358.7 kB / 319.9 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.09163, allocations: 104.8 kB / 320 MB, free: 2.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.09195, allocations: 232.3 kB / 320.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006228/0.09257, allocations: 446.2 kB / 320.7 MB, free: 1.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.09257, allocations: 0 / 320.7 MB, free: 1.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001037/0.09361, allocations: 0.588 MB / 321.2 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.09363, allocations: 4 kB / 321.3 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.09364, allocations: 4 kB / 321.3 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003959/0.09403, allocations: 136 kB / 321.4 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.09452, allocations: 215.7 kB / 321.6 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.09611, allocations: 3.542 MB / 325.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.09633, allocations: 23.94 kB / 325.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.09639, allocations: 31.98 kB / 325.2 MB, free: 12.75 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.0001842/0.09657, allocations: 164.7 kB / 325.4 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.09685, allocations: 143.1 kB / 325.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.09797, allocations: 0.7576 MB / 326.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.09797, allocations: 11.98 kB / 326.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.09798, allocations: 3.938 kB / 326.3 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006373/0.09861, allocations: 0.8234 MB / 327.1 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.09993, allocations: 1.033 MB / 328.1 MB, free: 9.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.09993, allocations: 8 kB / 328.1 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.1004, allocations: 183.8 kB / 328.3 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008773/0.1012, allocations: 286.9 kB / 328.6 MB, free: 9.117 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/0.1013, allocations: 23.98 kB / 328.6 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004011/0.1017, allocations: 1.211 MB / 329.8 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1017, allocations: 0 / 329.8 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.1027, allocations: 0.8147 MB / 330.6 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.1028, allocations: 39.7 kB / 330.7 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.1028, allocations: 27.94 kB / 330.7 MB, free: 6.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.103, allocations: 31.97 kB / 330.7 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.231e-05/0.1031, allocations: 52.89 kB / 330.8 MB, free: 6.832 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/0.1032, allocations: 39.84 kB / 330.8 MB, free: 6.793 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.478e-05/0.1032, allocations: 96.64 kB / 330.9 MB, free: 6.699 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1032, allocations: 4.031 kB / 330.9 MB, free: 6.695 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002647/0.1059, allocations: 1.349 MB / 332.3 MB, free: 5.344 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.003977/0.1099, allocations: 1.891 MB / 334.2 MB, free: 3.449 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009606/0.1108, allocations: 0.6802 MB / 334.8 MB, free: 2.734 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.1108, allocations: 4 kB / 334.9 MB, free: 2.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.1112, allocations: 270.1 kB / 335.1 MB, free: 2.457 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008162/0.112, allocations: 348.4 kB / 335.5 MB, free: 2.117 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1137, allocations: 1.234 MB / 336.7 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.1138, allocations: 176.9 kB / 336.9 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004018/0.1142, allocations: 141 kB / 337 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006429/0.1149, allocations: 337 kB / 337.3 MB, free: 188 kB / 314.7 MB Notification: Performance of SimCode: time 1.613e-06/0.1149, allocations: 0 / 337.3 MB, free: 188 kB / 314.7 MB Notification: Performance of Templates: time 0.1469/0.2618, allocations: 57.45 MB / 394.8 MB, free: 50.97 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.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: 9.199535416904837]