Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.0009831/0.0009831, allocations: 76.06 kB / 20.72 MB, free: 3.766 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.0009975/0.0009975, allocations: 169 kB / 24.14 MB, free: 356 kB / 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.8891/0.8891, allocations: 158.6 MB / 186 MB, free: 2.727 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.14/0.14, allocations: 32.38 MB / 270.7 MB, free: 14.59 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.547e-05/1.759e-05, allocations: 2.312 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.294/0.294, allocations: 148.6 MB / 447.8 MB, free: 9.105 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006689/0.3007, allocations: 5.386 MB / 453.2 MB, free: 3.703 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005435/0.3013, allocations: 31.69 kB / 453.2 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007384/0.302, allocations: 238.4 kB / 453.4 MB, free: 3.438 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003919/0.3059, allocations: 1.752 MB / 455.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001645/0.3076, allocations: 1.009 MB / 456.2 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.2253/0.5329, allocations: 2.277 MB / 458.5 MB, free: 4.66 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.5339, allocations: 0.5479 MB / 459 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002558/0.5365, allocations: 1.391 MB / 460.4 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.5378, allocations: 0.7375 MB / 461.1 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.538, allocations: 92.5 kB / 461.2 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.541, allocations: 1.508 MB / 462.7 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004434/0.5414, allocations: 469 kB / 463.2 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005986/0.542, allocations: 398.8 kB / 463.6 MB, free: 4.617 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002793/0.5448, allocations: 1.86 MB / 465.4 MB, free: 4.559 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5448, allocations: 0.9375 kB / 465.4 MB, free: 4.559 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5448, allocations: 0 / 465.4 MB, free: 4.559 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.863e-05/0.5449, allocations: 0.7812 kB / 465.4 MB, free: 4.559 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002653/0.5475, allocations: 1.347 MB / 466.8 MB, free: 19.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5476, allocations: 10.75 kB / 466.8 MB, free: 19.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004239/0.548, allocations: 162.5 kB / 467 MB, free: 19.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008161/0.5488, allocations: 489.8 kB / 467.4 MB, free: 19.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.5489, allocations: 168.2 kB / 467.6 MB, free: 19.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.549, allocations: 83.31 kB / 467.7 MB, free: 19.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008726/0.5499, allocations: 1.134 MB / 468.8 MB, free: 18.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.5499, allocations: 5.828 kB / 468.8 MB, free: 18.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.55, allocations: 30.66 kB / 468.9 MB, free: 18.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.08e-05/0.5501, allocations: 64.14 kB / 468.9 MB, free: 18.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005585/0.5506, allocations: 426.8 kB / 469.3 MB, free: 18.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.5534, allocations: 2.688 MB / 472 MB, free: 17.46 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.554, allocations: 446.9 kB / 472.5 MB, free: 17.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.5542, allocations: 139.4 kB / 472.6 MB, free: 17.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/0.5545, allocations: 220.6 kB / 472.8 MB, free: 17.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.5545, allocations: 48.31 kB / 472.9 MB, free: 17.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 2.214e-06/0.5545, allocations: 0.75 kB / 472.9 MB, free: 17.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=82): time 0.004087/0.5586, allocations: 2.109 MB / 475 MB, free: 17.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.5586, allocations: 112.4 kB / 475.1 MB, free: 16.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.5589, allocations: 474.5 kB / 475.5 MB, free: 16.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.559, allocations: 42.17 kB / 475.6 MB, free: 16.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.5591, allocations: 359.2 kB / 475.9 MB, free: 16.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.5592, allocations: 308.1 kB / 476.2 MB, free: 16.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.5594, allocations: 188.5 kB / 476.4 MB, free: 16.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5595, allocations: 392.3 kB / 476.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.5597, allocations: 136.8 kB / 476.9 MB, free: 15.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.56, allocations: 478.6 kB / 477.4 MB, free: 15.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/0.5606, allocations: 0.6492 MB / 478.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5606, allocations: 3.031 kB / 478.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0008604/0.5615, allocations: 0.706 MB / 478.8 MB, free: 15.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5615, allocations: 10.5 kB / 478.8 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.5615, allocations: 8.656 kB / 478.8 MB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/0.5641, allocations: 0.989 MB / 479.8 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003271/0.5644, allocations: 167.4 kB / 479.9 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007521/0.5652, allocations: 0.8406 MB / 480.8 MB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.5655, allocations: 37.03 kB / 480.8 MB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/0.5656, allocations: 54.17 kB / 480.9 MB, free: 14.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0002095/0.5658, allocations: 177.2 kB / 481 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.5659, allocations: 77.06 kB / 481.1 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.5669, allocations: 0.8332 MB / 481.9 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.567, allocations: 9.906 kB / 482 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.567, allocations: 3.141 kB / 482 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.567, allocations: 3.719 kB / 482 MB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001332/0.5683, allocations: 1.171 MB / 483.1 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5683, allocations: 3.469 kB / 483.1 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/0.5689, allocations: 238.4 kB / 483.4 MB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006036/0.5695, allocations: 238.9 kB / 483.6 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/0.5696, allocations: 28.42 kB / 483.6 MB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009791/0.5706, allocations: 1.838 MB / 485.5 MB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5706, allocations: 4.156 kB / 485.5 MB, free: 12.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009076/0.5715, allocations: 0.8124 MB / 486.3 MB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.5717, allocations: 135.4 kB / 486.4 MB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.5717, allocations: 19.72 kB / 486.4 MB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003095/0.5721, allocations: 43.47 kB / 486.5 MB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.821e-05/0.5721, allocations: 60.86 kB / 486.5 MB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.318e-05/0.5722, allocations: 38.97 kB / 486.6 MB, free: 11.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001756/0.5724, allocations: 211.2 kB / 486.8 MB, free: 11.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5724, allocations: 0 / 486.8 MB, free: 11.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001059/0.5734, allocations: 488.6 kB / 487.3 MB, free: 11.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (80): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000877/0.5743, allocations: 0.5246 MB / 487.8 MB, free: 11.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007283/0.5751, allocations: 0.5422 MB / 488.3 MB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/0.5751, allocations: 10.73 kB / 488.3 MB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005137/0.5756, allocations: 351.8 kB / 488.7 MB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009455/0.5765, allocations: 468.6 kB / 489.1 MB, free: 11.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.5788, allocations: 1.653 MB / 490.8 MB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.5789, allocations: 226.4 kB / 491 MB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004514/0.5794, allocations: 171.7 kB / 491.2 MB, free: 10.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007315/0.5801, allocations: 412.3 kB / 491.6 MB, free: 10.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5801, allocations: 3.938 kB / 491.6 MB, free: 10.68 MB / 426.7 MB Notification: Performance of Templates: time 0.02885/0.609, allocations: 28.77 MB / 0.5082 GB, free: 13.32 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.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.124773818068206]