Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.0009379/0.0009379, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0008865/0.0008865, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9334/0.9334, allocations: 173.3 MB / 201.1 MB, free: 9.336 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.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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.814e-05, allocations: 6.25 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1422/0.1422, allocations: 26.01 MB / 294 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00355/0.1458, allocations: 2.693 MB / 296.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003631/0.1461, allocations: 12.44 kB / 296.7 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005653/0.1467, allocations: 164 kB / 296.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009396/0.1476, allocations: 0.5465 MB / 297.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01406/0.1617, allocations: 6.905 MB / 304.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002145/0.1639, allocations: 1.622 MB / 306 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.1642, allocations: 144.9 kB / 306.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.1656, allocations: 0.8235 MB / 306.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008904/0.1665, allocations: 0.532 MB / 307.4 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.1667, allocations: 85.69 kB / 307.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01376/0.1805, allocations: 8.948 MB / 316.5 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.1808, allocations: 352.4 kB / 316.8 MB, free: 7.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005753/0.1814, allocations: 337 kB / 317.2 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.1925, allocations: 6.334 MB / 323.5 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1925, allocations: 3.938 kB / 323.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1925, allocations: 0 / 323.5 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.1925, allocations: 4 kB / 323.5 MB, free: 0.7266 MB / 266.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.002692/0.1952, allocations: 1.559 MB / 325.1 MB, free: 15.12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1953, allocations: 12.92 kB / 325.1 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/0.1957, allocations: 167.9 kB / 325.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004853/0.1962, allocations: 380.7 kB / 325.6 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.005e-05/0.1962, allocations: 45.31 kB / 325.6 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.87e-05/0.1963, allocations: 79.89 kB / 325.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.1973, allocations: 0.8811 MB / 326.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.1973, allocations: 4 kB / 326.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.767e-05/0.1973, allocations: 28 kB / 326.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.1974, allocations: 16 kB / 326.7 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008229/0.1982, allocations: 0.4955 MB / 327.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006865/0.205, allocations: 3.884 MB / 331 MB, free: 9.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/0.2059, allocations: 489.9 kB / 331.5 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.2062, allocations: 205.3 kB / 331.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004622/0.2108, allocations: 2.565 MB / 334.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.2109, allocations: 53.3 kB / 334.3 MB, free: 5.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=78): time 2.725e-06/0.2109, allocations: 0 / 334.3 MB, free: 5.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=88): time 0.004529/0.2154, allocations: 2.201 MB / 336.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.2154, allocations: 60.41 kB / 336.6 MB, free: 3.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.2157, allocations: 324.2 kB / 336.9 MB, free: 3.078 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/0.2157, allocations: 45.64 kB / 337 MB, free: 3.027 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.2158, allocations: 291.8 kB / 337.2 MB, free: 2.734 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.216, allocations: 320 kB / 337.5 MB, free: 2.426 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.2162, allocations: 168.2 kB / 337.7 MB, free: 2.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2163, allocations: 0.5274 MB / 338.2 MB, free: 1.711 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/0.2166, allocations: 161.9 kB / 338.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.217, allocations: 323.4 kB / 338.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008134/0.2178, allocations: 0.5331 MB / 339.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2178, allocations: 0 / 339.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001445/0.2193, allocations: 0.8103 MB / 340.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2193, allocations: 4.625 kB / 340.1 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.2193, allocations: 4 kB / 340.1 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/0.2197, allocations: 146.9 kB / 340.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.2202, allocations: 191.7 kB / 340.4 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.2226, allocations: 5.292 MB / 345.7 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002438/0.2228, allocations: 23.98 kB / 345.7 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-05/0.2229, allocations: 43.98 kB / 345.8 MB, free: 9.77 MB / 298.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.0002103/0.2231, allocations: 204.3 kB / 346 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.2234, allocations: 159.1 kB / 346.1 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.2249, allocations: 0.9572 MB / 347.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.2249, allocations: 8 kB / 347.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2249, allocations: 0 / 347.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009082/0.2258, allocations: 1.005 MB / 348.1 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.2276, allocations: 1.364 MB / 349.4 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2276, allocations: 0 / 349.4 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.228, allocations: 167.8 kB / 349.6 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008529/0.2288, allocations: 278.8 kB / 349.9 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-05/0.2289, allocations: 35.97 kB / 349.9 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006402/0.2295, allocations: 1.825 MB / 351.7 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2295, allocations: 128 / 351.7 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.2309, allocations: 1.038 MB / 352.8 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.941e-05/0.231, allocations: 47.66 kB / 352.8 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.531e-05/0.2311, allocations: 20 kB / 352.8 MB, free: 2.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/0.2313, allocations: 35.91 kB / 352.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.2314, allocations: 52.91 kB / 352.9 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.2314, allocations: 47.95 kB / 353 MB, free: 2.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.2316, allocations: 231 kB / 353.2 MB, free: 1.992 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2316, allocations: 0 / 353.2 MB, free: 1.992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003172/0.2348, allocations: 1.368 MB / 354.6 MB, free: 0.6172 MB / 298.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.004662/0.2394, allocations: 1.812 MB / 356.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.2408, allocations: 0.9154 MB / 357.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.2408, allocations: 4 kB / 357.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004527/0.2413, allocations: 338.5 kB / 357.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.2423, allocations: 359.3 kB / 358 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.2444, allocations: 1.324 MB / 359.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.2445, allocations: 176.9 kB / 359.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.245, allocations: 168.9 kB / 359.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.2451, allocations: 76.47 kB / 359.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of SimCode: time 1.683e-06/0.2451, allocations: 0 / 359.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of Templates: time 0.05103/0.2962, allocations: 48.5 MB / 408.2 MB, free: 11.24 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 12.986248534172773]