Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.00242/0.00242, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009775/0.0009775, allocations: 168.8 kB / 24.91 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9465/0.9465, allocations: 177.1 MB / 205.3 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2447/0.2447, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 323.2 MB, free: 9.703 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.558e-05, allocations: 4.656 kB / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3307/0.3307, allocations: 150.3 MB / 473.5 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003043/0.3338, allocations: 2.962 MB / 476.5 MB, free: 12.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.334, allocations: 26.81 kB / 476.5 MB, free: 12.21 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005197/0.3346, allocations: 239.2 kB / 476.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.3373, allocations: 1.771 MB / 478.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.3388, allocations: 1.024 MB / 479.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001588/0.3404, allocations: 2.281 MB / 481.8 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004723/0.3408, allocations: 0.5529 MB / 482.4 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001303/0.3421, allocations: 1.425 MB / 483.8 MB, free: 11.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006172/0.3428, allocations: 0.7396 MB / 484.5 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.471e-05/0.3429, allocations: 90.91 kB / 484.6 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.3444, allocations: 1.449 MB / 486.1 MB, free: 11.49 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002685/0.3447, allocations: 461.2 kB / 486.5 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002863/0.345, allocations: 403.4 kB / 486.9 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.3465, allocations: 1.867 MB / 488.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3465, allocations: 0 / 488.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3465, allocations: 0 / 488.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3465, allocations: 0 / 488.8 MB, free: 11.2 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.001551/0.3481, allocations: 1.337 MB / 490.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.3481, allocations: 10.97 kB / 490.1 MB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.3484, allocations: 162.8 kB / 490.3 MB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/0.3489, allocations: 483.4 kB / 490.8 MB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.349, allocations: 171.1 kB / 490.9 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.651e-05/0.3491, allocations: 74.7 kB / 491 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007074/0.3498, allocations: 1.114 MB / 492.1 MB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.3498, allocations: 3.938 kB / 492.1 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.993e-05/0.3499, allocations: 32.66 kB / 492.2 MB, free: 9.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.907e-05/0.3499, allocations: 57.81 kB / 492.2 MB, free: 9.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/0.3504, allocations: 422.8 kB / 492.6 MB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.3527, allocations: 2.676 MB / 495.3 MB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.3533, allocations: 456 kB / 495.8 MB, free: 7.137 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.3534, allocations: 134.2 kB / 495.9 MB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.3537, allocations: 141.5 kB / 496 MB, free: 7.078 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.3537, allocations: 47.31 kB / 496.1 MB, free: 7.035 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 1.653e-06/0.3537, allocations: 0 / 496.1 MB, free: 7.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.00377/0.3575, allocations: 2.093 MB / 498.2 MB, free: 6.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.3575, allocations: 115.4 kB / 498.3 MB, free: 6.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.3577, allocations: 481.4 kB / 498.7 MB, free: 5.941 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.212e-05/0.3578, allocations: 44.64 kB / 498.8 MB, free: 5.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.395e-05/0.3579, allocations: 355.3 kB / 499.1 MB, free: 5.641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.358, allocations: 306.4 kB / 499.4 MB, free: 5.422 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.3581, allocations: 191.8 kB / 499.6 MB, free: 5.375 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.3582, allocations: 380.1 kB / 500 MB, free: 5.043 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.3584, allocations: 137.9 kB / 0.4884 GB, free: 5.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002479/0.3586, allocations: 479.5 kB / 0.4889 GB, free: 4.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.3591, allocations: 0.6408 MB / 0.4895 GB, free: 4.145 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3591, allocations: 2.906 kB / 0.4895 GB, free: 4.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0007556/0.3599, allocations: 0.706 MB / 0.4902 GB, free: 3.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3599, allocations: 8.469 kB / 0.4902 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3599, allocations: 8.281 kB / 0.4902 GB, free: 3.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/0.3621, allocations: 0.9406 MB / 0.4911 GB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.3624, allocations: 158.1 kB / 0.4913 GB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000586/0.363, allocations: 0.826 MB / 0.4921 GB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.3632, allocations: 36.58 kB / 0.4921 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.3633, allocations: 47.23 kB / 0.4922 GB, free: 2.945 MB / 410.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.0001814/0.3635, allocations: 178.3 kB / 0.4923 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.973e-05/0.3636, allocations: 80.89 kB / 0.4924 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009795/0.3646, allocations: 0.8819 MB / 0.4933 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3646, allocations: 10.94 kB / 0.4933 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3646, allocations: 0 / 0.4933 GB, free: 2.359 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3646, allocations: 3.984 kB / 0.4933 GB, free: 2.355 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001237/0.3658, allocations: 1.208 MB / 0.4945 GB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3658, allocations: 2.906 kB / 0.4945 GB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/0.3664, allocations: 222 kB / 0.4947 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005504/0.3669, allocations: 247.9 kB / 0.4949 GB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.367, allocations: 28.44 kB / 0.4949 GB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007368/0.3677, allocations: 1.841 MB / 0.4967 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3677, allocations: 3.031 kB / 0.4967 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008442/0.3685, allocations: 0.8349 MB / 0.4975 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.3687, allocations: 125.4 kB / 0.4977 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.688e-05/0.3688, allocations: 28.73 kB / 0.4977 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.3691, allocations: 42.69 kB / 0.4977 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.806e-05/0.3692, allocations: 62.36 kB / 0.4978 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.3693, allocations: 36.8 kB / 0.4978 GB, free: 15.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.3694, allocations: 210 kB / 0.498 GB, free: 14.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3694, allocations: 4 kB / 0.498 GB, free: 14.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008567/0.3703, allocations: 0.4891 MB / 0.4985 GB, free: 14.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0007193/0.371, allocations: 0.4971 MB / 0.499 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006852/0.3717, allocations: 0.5425 MB / 0.4995 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/0.3717, allocations: 8.5 kB / 0.4995 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005087/0.3722, allocations: 359.4 kB / 0.4999 GB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009818/0.3732, allocations: 458.9 kB / 0.5003 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.3756, allocations: 1.657 MB / 0.5019 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.3757, allocations: 226 kB / 0.5021 GB, free: 12.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004684/0.3762, allocations: 234.8 kB / 0.5024 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007343/0.3769, allocations: 392.9 kB / 0.5027 GB, free: 12.29 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3769, allocations: 7.938 kB / 0.5028 GB, free: 12.28 MB / 426.7 MB Notification: Performance of Templates: time 0.02735/0.4043, allocations: 28.37 MB / 0.5305 GB, free: 292 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.16125373961404]