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.000936/0.000936, allocations: 85.08 kB / 23 MB, free: 1.5 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.001451/0.001451, allocations: 176 kB / 26.39 MB, free: 7.754 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.8828/0.8828, allocations: 158.6 MB / 188.3 MB, free: 2.82 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.292e-06/1.292e-06, allocations: 0 / 252.2 MB, free: 7.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.511e-05, allocations: 6.25 kB / 252.2 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2634/0.2634, allocations: 142.9 MB / 395.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006938/0.2641, allocations: 0.6033 MB / 395.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.2642, allocations: 0 / 395.7 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.2645, allocations: 61.16 kB / 395.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.2649, allocations: 159.9 kB / 395.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.267, allocations: 1.113 MB / 397.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000318/0.2673, allocations: 332.4 kB / 397.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.2674, allocations: 10.64 kB / 397.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002539/0.2676, allocations: 199 kB / 397.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001682/0.2678, allocations: 118.2 kB / 397.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.2678, allocations: 11.06 kB / 397.7 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.2696, allocations: 1.363 MB / 399.1 MB, free: 10.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.248e-05/0.2697, allocations: 78.25 kB / 399.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.2698, allocations: 73.47 kB / 399.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.2712, allocations: 1.065 MB / 400.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2712, allocations: 0 / 400.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2712, allocations: 0 / 400.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.2712, allocations: 0 / 400.3 MB, free: 9.738 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.001076/0.2723, allocations: 0.6943 MB / 401 MB, free: 9.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2723, allocations: 14.61 kB / 401 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.2725, allocations: 40.39 kB / 401 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.2726, allocations: 151.7 kB / 401.2 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2726, allocations: 12.42 kB / 401.2 MB, free: 9.008 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.2727, allocations: 25.66 kB / 401.2 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.2729, allocations: 301.8 kB / 401.5 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2729, allocations: 1.25 kB / 401.5 MB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.2729, allocations: 10.06 kB / 401.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.527e-05/0.273, allocations: 9.484 kB / 401.5 MB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.2731, allocations: 119.4 kB / 401.7 MB, free: 8.715 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.0007243/0.2738, allocations: 0.655 MB / 402.3 MB, free: 8.223 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002632/0.2741, allocations: 172.3 kB / 402.5 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.2742, allocations: 79.19 kB / 402.6 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.2743, allocations: 49 kB / 402.6 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.2743, allocations: 44.09 kB / 402.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.2743, allocations: 0 / 402.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.00081/0.2751, allocations: 440 kB / 403.1 MB, free: 7.902 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.2752, allocations: 82.45 kB / 403.2 MB, free: 7.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.156e-05/0.2752, allocations: 184.9 kB / 403.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.2752, allocations: 29.08 kB / 403.4 MB, free: 7.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.678e-05/0.2753, allocations: 159.4 kB / 403.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.2753, allocations: 127.7 kB / 403.6 MB, free: 7.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.2754, allocations: 79.14 kB / 403.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.076e-05/0.2755, allocations: 0.5025 MB / 404.2 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.631e-05/0.2755, allocations: 58.64 kB / 404.3 MB, free: 6.812 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.941e-05/0.2756, allocations: 164.3 kB / 404.4 MB, free: 6.688 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.2758, allocations: 236.5 kB / 404.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2758, allocations: 2.969 kB / 404.7 MB, free: 6.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000297/0.2761, allocations: 281.1 kB / 404.9 MB, free: 6.473 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2761, allocations: 13 kB / 405 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2761, allocations: 3.281 kB / 405 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.2762, allocations: 2.625 kB / 405 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.2764, allocations: 80.02 kB / 405 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2764, allocations: 5.5 kB / 405.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.2765, allocations: 22.64 kB / 405.1 MB, free: 6.441 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.2765, allocations: 11.94 kB / 405.1 MB, free: 6.441 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.694e-05/0.2766, allocations: 177.3 kB / 405.3 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.2767, allocations: 33.03 kB / 405.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.2769, allocations: 148.7 kB / 405.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2769, allocations: 5.562 kB / 405.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2769, allocations: 0 / 405.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2769, allocations: 3.984 kB / 405.4 MB, free: 6.191 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006105/0.2775, allocations: 0.5883 MB / 406 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.2775, allocations: 6.5 kB / 406 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.2777, allocations: 70.92 kB / 406.1 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2777, allocations: 2.844 kB / 406.1 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.2777, allocations: 13.41 kB / 406.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.2777, allocations: 2.781 kB / 406.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2777, allocations: 2.375 kB / 406.1 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004072/0.2781, allocations: 0.621 MB / 406.8 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/0.2782, allocations: 37.86 kB / 406.8 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.2782, allocations: 9.219 kB / 406.8 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.2783, allocations: 20.08 kB / 406.8 MB, free: 5.301 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.2784, allocations: 33.5 kB / 406.8 MB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.2784, allocations: 12.22 kB / 406.9 MB, free: 5.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.497e-05/0.2784, allocations: 133.3 kB / 407 MB, free: 5.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.2784, allocations: 0 / 407 MB, free: 5.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004243/0.2788, allocations: 144.4 kB / 407.1 MB, free: 5.137 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.0003186/0.2792, allocations: 251.5 kB / 407.4 MB, free: 4.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.2794, allocations: 228.9 kB / 407.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2794, allocations: 0 / 407.6 MB, free: 4.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.2795, allocations: 136.7 kB / 407.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.28, allocations: 99.45 kB / 407.8 MB, free: 4.844 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008542/0.2808, allocations: 0.5152 MB / 408.3 MB, free: 4.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.395e-05/0.2809, allocations: 85.58 kB / 408.4 MB, free: 4.391 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.281, allocations: 60.34 kB / 408.5 MB, free: 4.355 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.2813, allocations: 159.7 kB / 408.6 MB, free: 4.266 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2813, allocations: 4 kB / 408.6 MB, free: 4.262 MB / 330.7 MB Notification: Performance of Templates: time 0.007979/0.2892, allocations: 7.348 MB / 416 MB, free: 444 kB / 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: 3.0741725228726864]