Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.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.001183/0.001183, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001655/0.002837, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001068/0.001068, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002523, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8849/0.8849, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1834/1.068, allocations: 49.49 MB / 220.7 MB, free: 1.363 MB / 218.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.364e-05, allocations: 2.312 kB / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0283/0.02834, allocations: 26.55 MB / 248.5 MB, free: 5.414 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.0305, allocations: 2.262 MB / 250.8 MB, free: 3.145 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.032e-05/0.03057, allocations: 3.938 kB / 250.8 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.03089, allocations: 59.67 kB / 250.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.03116, allocations: 159 kB / 251 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0123/0.04346, allocations: 5.674 MB / 256.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003851/0.04384, allocations: 334.7 kB / 257 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.081e-05/0.0439, allocations: 9.75 kB / 257 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.04412, allocations: 179.6 kB / 257.2 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.04429, allocations: 103.7 kB / 257.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.04432, allocations: 12 kB / 257.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01251/0.05683, allocations: 9.407 MB / 266.7 MB, free: 3.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.05696, allocations: 63.84 kB / 266.8 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.05706, allocations: 55.94 kB / 266.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007384/0.06444, allocations: 4.444 MB / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.325e-05/0.06445, allocations: 0 / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.06446, allocations: 0 / 271.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.06447, allocations: 0 / 271.3 MB, free: 14.61 MB / 282.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.002136/0.0666, allocations: 1.492 MB / 272.8 MB, free: 13.07 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.06664, allocations: 8.031 kB / 272.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.06677, allocations: 44.59 kB / 272.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.06695, allocations: 149 kB / 273 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.06696, allocations: 16.33 kB / 273 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.06699, allocations: 16 kB / 273 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.06736, allocations: 311.8 kB / 273.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.06737, allocations: 0 / 273.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.06739, allocations: 4 kB / 273.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.06741, allocations: 8 kB / 273.3 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.06761, allocations: 110.7 kB / 273.4 MB, free: 12.35 MB / 282.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.0007362/0.06834, allocations: 0.524 MB / 274 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002946/0.06864, allocations: 169.1 kB / 274.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.39e-05/0.06871, allocations: 67.66 kB / 274.2 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004481/0.07319, allocations: 2.583 MB / 276.8 MB, free: 8.953 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.07322, allocations: 38.56 kB / 276.8 MB, free: 8.906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.342e-06/0.07322, allocations: 4 kB / 276.8 MB, free: 8.902 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009098/0.07413, allocations: 408.8 kB / 277.2 MB, free: 8.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.07417, allocations: 85.05 kB / 277.3 MB, free: 8.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.07424, allocations: 130.6 kB / 277.4 MB, free: 8.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.07428, allocations: 37.64 kB / 277.5 MB, free: 8.211 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.07433, allocations: 112.9 kB / 277.6 MB, free: 8.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.0744, allocations: 130.8 kB / 277.7 MB, free: 7.965 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.901e-05/0.07448, allocations: 77.61 kB / 277.8 MB, free: 7.883 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.07456, allocations: 326.8 kB / 278.1 MB, free: 7.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.07464, allocations: 54.8 kB / 278.1 MB, free: 7.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.07477, allocations: 123.7 kB / 278.3 MB, free: 7.352 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.07502, allocations: 224.3 kB / 278.5 MB, free: 7.105 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.07502, allocations: 0 / 278.5 MB, free: 7.105 MB / 282.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003335/0.07535, allocations: 243.9 kB / 278.7 MB, free: 6.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.07537, allocations: 8 kB / 278.7 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.07537, allocations: 3.984 kB / 278.7 MB, free: 6.848 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.07539, allocations: 4 kB / 278.7 MB, free: 6.844 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.07562, allocations: 103.8 kB / 278.8 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.07562, allocations: 4 kB / 278.8 MB, free: 6.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.568e-05/0.07572, allocations: 23.88 kB / 278.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.07574, allocations: 12.22 kB / 278.9 MB, free: 6.703 MB / 282.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 8.764e-05/0.07583, allocations: 140.5 kB / 279 MB, free: 6.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.187e-05/0.07591, allocations: 39.8 kB / 279 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.07613, allocations: 139.1 kB / 279.2 MB, free: 6.375 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.07613, allocations: 8 kB / 279.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.07613, allocations: 0 / 279.2 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.07614, allocations: 4 kB / 279.2 MB, free: 6.363 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/0.07674, allocations: 442.6 kB / 279.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.07674, allocations: 0 / 279.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.07694, allocations: 92.03 kB / 279.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.077, allocations: 47.84 kB / 279.8 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.077, allocations: 3.938 kB / 279.8 MB, free: 5.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.07702, allocations: 15.92 kB / 279.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.07703, allocations: 7.938 kB / 279.8 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.07703, allocations: 4 kB / 279.8 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.07747, allocations: 481.8 kB / 280.3 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.0775, allocations: 16.03 kB / 280.3 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.07762, allocations: 15.94 kB / 280.3 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.07765, allocations: 23.95 kB / 280.3 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.07767, allocations: 11.98 kB / 280.3 MB, free: 5.156 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.263e-05/0.07769, allocations: 28.83 kB / 280.4 MB, free: 5.125 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.07769, allocations: 0 / 280.4 MB, free: 5.125 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00157/0.07926, allocations: 0.9627 MB / 281.3 MB, free: 4.16 MB / 282.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 (37): * Single equations (assignments): 37 * 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.002609/0.08187, allocations: 1.533 MB / 282.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.08215, allocations: 208.3 kB / 283.1 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.08216, allocations: 11.94 kB / 283.1 MB, free: 2.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.08231, allocations: 131.4 kB / 283.2 MB, free: 2.281 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004301/0.08274, allocations: 225.1 kB / 283.4 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.08528, allocations: 458.3 kB / 283.9 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.389e-05/0.08534, allocations: 93.31 kB / 284 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001848/0.08553, allocations: 61.92 kB / 284 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002339/0.08576, allocations: 141.2 kB / 284.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.08576, allocations: 0 / 284.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of Templates: time 0.1826/0.2684, allocations: 36.98 MB / 321.1 MB, free: 9.211 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/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: 3.8995115915313363]