Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.000943/0.000943, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 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.0009507/0.0009507, allocations: 140.4 kB / 25.59 MB, free: 8.906 MB / 18.57 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.9168/0.9168, allocations: 173.4 MB / 202.3 MB, free: 8.289 MB / 186.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.391e-05, allocations: 2.312 kB / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03777/0.0378, allocations: 24.69 MB / 293.9 MB, free: 1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.04014, allocations: 2.4 MB / 296.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001571/0.04029, allocations: 7.938 kB / 296.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.0407, allocations: 123.2 kB / 296.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004471/0.04114, allocations: 389.4 kB / 296.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01158/0.05273, allocations: 6.751 MB / 303.6 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.05396, allocations: 1.149 MB / 304.7 MB, free: 6.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.05415, allocations: 93.83 kB / 304.8 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00415/0.0583, allocations: 3.553 MB / 308.4 MB, free: 2.496 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.05867, allocations: 375 kB / 308.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.05873, allocations: 60 kB / 308.8 MB, free: 2.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01096/0.06969, allocations: 8.931 MB / 317.7 MB, free: 9.129 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.06994, allocations: 239.4 kB / 317.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.07023, allocations: 235.6 kB / 318.2 MB, free: 8.664 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009518/0.07975, allocations: 6.134 MB / 324.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.07976, allocations: 0 / 324.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.07976, allocations: 0 / 324.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.07976, allocations: 4 kB / 324.3 MB, free: 2.512 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002078/0.08184, allocations: 1.38 MB / 325.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.08187, allocations: 12.03 kB / 325.7 MB, free: 1.078 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.08213, allocations: 120.1 kB / 325.8 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.08243, allocations: 304 kB / 326.1 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.08245, allocations: 37 kB / 326.2 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.08251, allocations: 44 kB / 326.2 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.08314, allocations: 0.6082 MB / 326.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.08315, allocations: 3.984 kB / 326.8 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.08319, allocations: 20 kB / 326.8 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.0832, allocations: 12 kB / 326.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007103/0.08391, allocations: 298.7 kB / 327.1 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005489/0.0894, allocations: 3.219 MB / 330.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005137/0.08991, allocations: 298.2 kB / 330.6 MB, free: 11.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.09002, allocations: 107.2 kB / 330.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004233/0.09425, allocations: 2.293 MB / 333 MB, free: 9.586 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.09429, allocations: 41.89 kB / 333.1 MB, free: 9.535 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 2.314e-06/0.09429, allocations: 4 kB / 333.1 MB, free: 9.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.002776/0.09706, allocations: 1.218 MB / 334.3 MB, free: 8.273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.09709, allocations: 63.84 kB / 334.4 MB, free: 8.199 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.09725, allocations: 300 kB / 334.7 MB, free: 7.887 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.09728, allocations: 37.7 kB / 334.7 MB, free: 7.844 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.09739, allocations: 256 kB / 334.9 MB, free: 7.586 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.277e-05/0.09748, allocations: 198.2 kB / 335.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.0976, allocations: 123.9 kB / 335.3 MB, free: 7.262 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.09771, allocations: 0.5234 MB / 335.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.09781, allocations: 77.25 kB / 335.9 MB, free: 6.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/0.09807, allocations: 219.5 kB / 336.1 MB, free: 6.395 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.0985, allocations: 334.3 kB / 336.4 MB, free: 6.023 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.0985, allocations: 0 / 336.4 MB, free: 6.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008082/0.09931, allocations: 0.4918 MB / 336.9 MB, free: 5.512 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.09932, allocations: 10.03 kB / 336.9 MB, free: 5.504 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.09933, allocations: 4 kB / 336.9 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002371/0.09957, allocations: 95.27 kB / 337 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.09983, allocations: 123.8 kB / 337.1 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.1017, allocations: 4.339 MB / 341.5 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.1018, allocations: 19.98 kB / 341.5 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.1019, allocations: 27.98 kB / 341.5 MB, free: 0.625 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0001466/0.102, allocations: 188.5 kB / 341.7 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.1022, allocations: 99.31 kB / 341.8 MB, free: 340 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1047/0.207, allocations: 0.5928 MB / 342.4 MB, free: 48.6 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.207, allocations: 7.594 kB / 342.4 MB, free: 48.6 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.207, allocations: 1.25 kB / 342.4 MB, free: 48.6 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004966/0.2075, allocations: 0.5335 MB / 342.9 MB, free: 48.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.2086, allocations: 0.8331 MB / 343.8 MB, free: 47.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2086, allocations: 1.438 kB / 343.8 MB, free: 47.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.2089, allocations: 101.6 kB / 343.9 MB, free: 47.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004913/0.2094, allocations: 139.8 kB / 344 MB, free: 47.93 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.2094, allocations: 18.02 kB / 344 MB, free: 47.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001933/0.2096, allocations: 0.9162 MB / 344.9 MB, free: 47.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2096, allocations: 3.844 kB / 344.9 MB, free: 47.03 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000825/0.2104, allocations: 0.6366 MB / 345.6 MB, free: 46.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.29e-05/0.2105, allocations: 33.78 kB / 345.6 MB, free: 46.79 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.2105, allocations: 13.67 kB / 345.6 MB, free: 46.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.2107, allocations: 19.73 kB / 345.6 MB, free: 46.79 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.2108, allocations: 34.77 kB / 345.7 MB, free: 46.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.2108, allocations: 28.62 kB / 345.7 MB, free: 46.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.2109, allocations: 211.6 kB / 345.9 MB, free: 46.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2109, allocations: 1.438 kB / 345.9 MB, free: 46.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002568/0.2135, allocations: 1.29 MB / 347.2 MB, free: 46.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003599/0.2171, allocations: 1.822 MB / 349 MB, free: 46.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007236/0.2178, allocations: 0.656 MB / 349.7 MB, free: 46.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.2178, allocations: 1.75 kB / 349.7 MB, free: 46.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.218, allocations: 176.4 kB / 349.8 MB, free: 46.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.2187, allocations: 253.5 kB / 350.1 MB, free: 46.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.22, allocations: 0.9012 MB / 351 MB, free: 45.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.805e-05/0.22, allocations: 131.6 kB / 351.1 MB, free: 45.7 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002749/0.2203, allocations: 100.4 kB / 351.2 MB, free: 45.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/0.2208, allocations: 317.2 kB / 351.5 MB, free: 45.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.332e-06/0.2208, allocations: 0 / 351.5 MB, free: 45.61 MB / 314.7 MB Notification: Performance of Templates: time 0.04104/0.2618, allocations: 50.37 MB / 401.9 MB, free: 6.363 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.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: 7.479529396165162]