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.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.0008067/0.0008067, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001323/0.00213, 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.0006598/0.0006598, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009781/0.001638, 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 1.043/1.043, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.187/1.23, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.1332/0.1332, allocations: 32.8 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02349/0.1566, allocations: 12.54 MB / 284.5 MB, free: 9.711 MB / 282.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.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(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.653e-06/1.653e-06, allocations: 0 / 285.9 MB, free: 8.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.68e-05, allocations: 2.312 kB / 285.9 MB, free: 8.406 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3253/0.3253, allocations: 147.8 MB / 433.7 MB, free: 4.711 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004458/0.3297, allocations: 2.988 MB / 436.7 MB, free: 1.754 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/0.3302, allocations: 27.75 kB / 436.7 MB, free: 1.727 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005168/0.3307, allocations: 250.3 kB / 436.9 MB, free: 1.48 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003159/0.3339, allocations: 1.682 MB / 438.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.3355, allocations: 1.009 MB / 439.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002156/0.3377, allocations: 2.302 MB / 441.9 MB, free: 12.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000961/0.3387, allocations: 0.5488 MB / 442.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.3406, allocations: 1.45 MB / 443.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009481/0.3416, allocations: 0.7402 MB / 444.7 MB, free: 9.711 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.3417, allocations: 92 kB / 444.8 MB, free: 9.621 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002219/0.3439, allocations: 1.485 MB / 446.2 MB, free: 8.133 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.3443, allocations: 387.1 kB / 446.6 MB, free: 7.754 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.3446, allocations: 319.5 kB / 446.9 MB, free: 7.441 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.3467, allocations: 1.578 MB / 448.5 MB, free: 5.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.3467, allocations: 0 / 448.5 MB, free: 5.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3467, allocations: 0 / 448.5 MB, free: 5.859 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.018e-05/0.3468, allocations: 0 / 448.5 MB, free: 5.859 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.002431/0.3492, allocations: 1.692 MB / 450.2 MB, free: 4.117 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.3492, allocations: 8.031 kB / 450.2 MB, free: 4.109 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003573/0.3496, allocations: 164.6 kB / 450.4 MB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006652/0.3502, allocations: 478.6 kB / 450.8 MB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.696e-05/0.3503, allocations: 170 kB / 451 MB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.3504, allocations: 83.94 kB / 451.1 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008955/0.3513, allocations: 1.128 MB / 452.2 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.3514, allocations: 15.92 kB / 452.2 MB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.96e-05/0.3514, allocations: 31.98 kB / 452.3 MB, free: 1.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.595e-05/0.3515, allocations: 53.97 kB / 452.3 MB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005334/0.352, allocations: 424.3 kB / 452.7 MB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002884/0.3549, allocations: 2.683 MB / 455.4 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.3555, allocations: 461.7 kB / 455.9 MB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.3556, allocations: 135 kB / 456 MB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002776/0.3559, allocations: 133.2 kB / 456.1 MB, free: 13.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.356, allocations: 51.16 kB / 456.2 MB, free: 13.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 6.062e-06/0.356, allocations: 0 / 456.2 MB, free: 13.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=82): time 0.005095/0.3611, allocations: 2.379 MB / 458.5 MB, free: 11.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.3611, allocations: 64 kB / 458.6 MB, free: 11.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.3614, allocations: 478.9 kB / 459.1 MB, free: 10.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/0.3615, allocations: 41.7 kB / 459.1 MB, free: 10.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.3617, allocations: 365.1 kB / 459.5 MB, free: 10.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.3618, allocations: 305.3 kB / 459.8 MB, free: 10.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.362, allocations: 186.8 kB / 460 MB, free: 9.969 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.3621, allocations: 390.5 kB / 460.3 MB, free: 9.578 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.3623, allocations: 137.4 kB / 460.5 MB, free: 9.441 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.3627, allocations: 480.6 kB / 460.9 MB, free: 8.844 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006396/0.3633, allocations: 0.6683 MB / 461.6 MB, free: 8.051 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.3633, allocations: 4 kB / 461.6 MB, free: 8.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0009429/0.3643, allocations: 0.7024 MB / 462.3 MB, free: 7.332 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.887e-05/0.3643, allocations: 12 kB / 462.3 MB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.3643, allocations: 8 kB / 462.3 MB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/0.3669, allocations: 0.9801 MB / 463.3 MB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.3673, allocations: 183.7 kB / 463.5 MB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007074/0.368, allocations: 0.8296 MB / 464.3 MB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.3684, allocations: 43.98 kB / 464.4 MB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/0.3684, allocations: 39.98 kB / 464.4 MB, free: 5.207 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.0002382/0.3687, allocations: 172.4 kB / 464.6 MB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3688, allocations: 79.86 kB / 464.7 MB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.3698, allocations: 0.889 MB / 465.5 MB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.3699, allocations: 8 kB / 465.6 MB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3699, allocations: 4 kB / 465.6 MB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.3699, allocations: 3.984 kB / 465.6 MB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.3714, allocations: 1.212 MB / 466.8 MB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.3714, allocations: 4 kB / 466.8 MB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/0.372, allocations: 251.7 kB / 467 MB, free: 2.508 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.3722, allocations: 135.6 kB / 467.2 MB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005833/0.3728, allocations: 242.1 kB / 467.4 MB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.3729, allocations: 31.97 kB / 467.4 MB, free: 2.102 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009495/0.3738, allocations: 1.83 MB / 469.3 MB, free: 156 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3738, allocations: 4 kB / 469.3 MB, free: 152 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.375, allocations: 0.8423 MB / 470.1 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/0.3751, allocations: 20 kB / 470.1 MB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.3754, allocations: 39.97 kB / 470.2 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.545e-05/0.3755, allocations: 68.41 kB / 470.2 MB, free: 15.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.3755, allocations: 35.97 kB / 470.3 MB, free: 15.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003347/0.3759, allocations: 208.4 kB / 470.5 MB, free: 14.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3759, allocations: 4 kB / 470.5 MB, free: 14.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001056/0.3769, allocations: 495 kB / 470.9 MB, free: 14.41 MB / 442.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.0009507/0.3779, allocations: 0.5316 MB / 471.5 MB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007899/0.3787, allocations: 0.5489 MB / 472 MB, free: 13.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.942e-05/0.3787, allocations: 20.44 kB / 472 MB, free: 13.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000619/0.3793, allocations: 410.2 kB / 472.4 MB, free: 12.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.3809, allocations: 2.099 MB / 474.5 MB, free: 10.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.3921, allocations: 1.723 MB / 476.3 MB, free: 8.711 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.3923, allocations: 221.9 kB / 476.5 MB, free: 8.477 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007901/0.3931, allocations: 210.9 kB / 476.7 MB, free: 8.266 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009522/0.394, allocations: 410.9 kB / 477.1 MB, free: 7.855 MB / 442.7 MB Notification: Performance of SimCode: time 1.683e-06/0.394, allocations: 0 / 477.1 MB, free: 7.855 MB / 442.7 MB Notification: Performance of Templates: time 0.2199/0.6139, allocations: 28.62 MB / 0.4939 GB, free: 60.54 MB / 458.7 MB " [Timeout remaining time 659] 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.340623722411692]