Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001142/0.001142, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.0009204/0.0009204, allocations: 166 kB / 25.6 MB, free: 8.926 MB / 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.8191/0.8191, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 251.4 MB, free: 7.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.479e-05/1.663e-05, allocations: 9.266 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2484/0.2484, allocations: 142.9 MB / 394.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005616/0.249, allocations: 0.608 MB / 394.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.2491, allocations: 2.906 kB / 394.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.2494, allocations: 50.67 kB / 395 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.2496, allocations: 164.8 kB / 395.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.2514, allocations: 1.115 MB / 396.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.2517, allocations: 330.5 kB / 396.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.466e-05/0.2517, allocations: 7.078 kB / 396.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.2519, allocations: 202.2 kB / 396.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.252, allocations: 116.8 kB / 396.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.2521, allocations: 15.56 kB / 396.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.2532, allocations: 1.363 MB / 398.3 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.86e-05/0.2533, allocations: 75.3 kB / 398.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.2534, allocations: 74.97 kB / 398.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008529/0.2542, allocations: 1.063 MB / 399.5 MB, free: 9.762 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2542, allocations: 0 / 399.5 MB, free: 9.762 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2542, allocations: 0 / 399.5 MB, free: 9.762 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.2542, allocations: 0 / 399.5 MB, free: 9.762 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008448/0.2551, allocations: 0.6956 MB / 400.2 MB, free: 9.199 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2551, allocations: 18.67 kB / 400.2 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2552, allocations: 38.83 kB / 400.2 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.2554, allocations: 152.5 kB / 400.4 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2554, allocations: 16.14 kB / 400.4 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.2554, allocations: 21.75 kB / 400.4 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.2556, allocations: 304.9 kB / 400.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.2557, allocations: 0 / 400.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.2557, allocations: 6.125 kB / 400.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.2557, allocations: 9.719 kB / 400.7 MB, free: 8.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.2558, allocations: 123.9 kB / 400.9 MB, free: 8.73 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.2565, allocations: 0.6557 MB / 401.5 MB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.2567, allocations: 168.8 kB / 401.7 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.759e-05/0.2568, allocations: 75.92 kB / 401.8 MB, free: 8.113 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.2569, allocations: 62.88 kB / 401.8 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.2569, allocations: 39.33 kB / 401.9 MB, free: 8.055 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.2569, allocations: 4 kB / 401.9 MB, free: 8.051 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007328/0.2576, allocations: 432.5 kB / 402.3 MB, free: 7.922 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.993e-05/0.2577, allocations: 82.33 kB / 402.4 MB, free: 7.828 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.246e-05/0.2577, allocations: 189.7 kB / 402.6 MB, free: 7.648 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.2577, allocations: 29.02 kB / 402.6 MB, free: 7.617 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.2578, allocations: 159.2 kB / 402.7 MB, free: 7.465 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.2578, allocations: 134.7 kB / 402.9 MB, free: 7.371 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.2579, allocations: 74.7 kB / 402.9 MB, free: 7.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.966e-05/0.2579, allocations: 0.5018 MB / 403.4 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.258, allocations: 59.14 kB / 403.5 MB, free: 6.828 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.739e-05/0.2581, allocations: 160.1 kB / 403.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.2583, allocations: 238 kB / 403.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2583, allocations: 0 / 403.9 MB, free: 6.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0002939/0.2586, allocations: 282.2 kB / 404.2 MB, free: 6.488 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.2586, allocations: 9.188 kB / 404.2 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2586, allocations: 2.281 kB / 404.2 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.2586, allocations: 6 kB / 404.2 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.2588, allocations: 80.23 kB / 404.3 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2588, allocations: 2.25 kB / 404.3 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2589, allocations: 23.08 kB / 404.3 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.259, allocations: 12.58 kB / 404.3 MB, free: 6.457 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.469e-05/0.259, allocations: 182.4 kB / 404.5 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.2591, allocations: 36.06 kB / 404.5 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.2593, allocations: 145.8 kB / 404.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2593, allocations: 6.781 kB / 404.7 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.2593, allocations: 0 / 404.7 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.2593, allocations: 6.984 kB / 404.7 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.2598, allocations: 0.5811 MB / 405.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2598, allocations: 0 / 405.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.26, allocations: 75.14 kB / 405.3 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.26, allocations: 2.844 kB / 405.3 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.26, allocations: 16.42 kB / 405.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.26, allocations: 2.906 kB / 405.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.26, allocations: 3.5 kB / 405.3 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003655/0.2604, allocations: 0.6236 MB / 406 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.2604, allocations: 36.44 kB / 406 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.2605, allocations: 13.59 kB / 406 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.2606, allocations: 15.3 kB / 406 MB, free: 5.316 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.2606, allocations: 31.75 kB / 406.1 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.2606, allocations: 15.48 kB / 406.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.128e-05/0.2607, allocations: 130.5 kB / 406.2 MB, free: 5.176 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2607, allocations: 0 / 406.2 MB, free: 5.176 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000329/0.261, allocations: 145 kB / 406.3 MB, free: 5.152 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000289/0.2613, allocations: 263.8 kB / 406.6 MB, free: 4.996 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002431/0.2615, allocations: 216.2 kB / 406.8 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2615, allocations: 2.375 kB / 406.8 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.2616, allocations: 131.1 kB / 406.9 MB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.262, allocations: 106.1 kB / 407.1 MB, free: 4.859 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008064/0.2628, allocations: 0.5135 MB / 407.6 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.2629, allocations: 82.89 kB / 407.6 MB, free: 4.406 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000164/0.263, allocations: 60.2 kB / 407.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/0.2633, allocations: 166.5 kB / 407.9 MB, free: 4.277 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2633, allocations: 0 / 407.9 MB, free: 4.277 MB / 330.7 MB Notification: Performance of Templates: time 0.007099/0.2704, allocations: 7.26 MB / 415.1 MB, free: 0.4922 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/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: 2.9697946282103658]