Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001587/0.001587, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002031/0.002031, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 2.323/2.323, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 177] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 51.92 kB / 378.9 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.372, allocations: 53.36 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.5602/0.9323, allocations: 133.3 MB / 0.5523 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.9345, allocations: 1.435 MB / 0.5537 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.9347, allocations: 1.203 kB / 0.5537 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004003/0.9351, allocations: 59.44 kB / 0.5538 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005614/0.9356, allocations: 172.4 kB / 0.5539 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00348/0.9391, allocations: 1.055 MB / 0.555 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000559/0.9397, allocations: 355.8 kB / 0.5553 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.99e-05/0.9397, allocations: 10.91 kB / 0.5553 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003904/0.9401, allocations: 164.1 kB / 0.5555 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.9404, allocations: 140.7 kB / 0.5556 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.9405, allocations: 12.28 kB / 0.5556 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.9434, allocations: 1.408 MB / 0.557 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.9435, allocations: 73.34 kB / 0.5571 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.9437, allocations: 94.59 kB / 0.5572 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.9459, allocations: 0.9924 MB / 0.5581 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9459, allocations: 0 / 0.5581 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.9459, allocations: 0 / 0.5581 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.9459, allocations: 0 / 0.5581 GB, free: 15.59 MB / 462.1 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.002281/0.9482, allocations: 0.6319 MB / 0.5588 GB, free: 15.19 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.9482, allocations: 13.59 kB / 0.5588 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.9484, allocations: 22.88 kB / 0.5588 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.9488, allocations: 164.6 kB / 0.5589 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.9488, allocations: 14.92 kB / 0.559 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.9488, allocations: 22.16 kB / 0.559 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007587/0.9496, allocations: 362.9 kB / 0.5593 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.9496, allocations: 0 / 0.5593 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.9497, allocations: 9.375 kB / 0.5593 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.9497, allocations: 8.25 kB / 0.5593 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000817/0.9505, allocations: 267.2 kB / 0.5596 GB, free: 14.85 MB / 462.1 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.001795/0.9523, allocations: 0.6138 MB / 0.5602 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/0.9531, allocations: 214.2 kB / 0.5604 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.9534, allocations: 130.9 kB / 0.5605 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.9537, allocations: 50.31 kB / 0.5606 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/0.9537, allocations: 42.69 kB / 0.5606 GB, free: 14.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 2.845e-06/0.9537, allocations: 0 / 0.5606 GB, free: 14.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.003069/0.9568, allocations: 0.6874 MB / 0.5613 GB, free: 14.31 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.9569, allocations: 82.36 kB / 0.5614 GB, free: 14.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.957, allocations: 142.3 kB / 0.5615 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.9571, allocations: 33.02 kB / 0.5615 GB, free: 14.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.9571, allocations: 112.1 kB / 0.5616 GB, free: 13.99 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.9573, allocations: 134.9 kB / 0.5618 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001462/0.9574, allocations: 67.72 kB / 0.5618 GB, free: 13.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.9576, allocations: 332 kB / 0.5621 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.958, allocations: 136.4 kB / 0.5623 GB, free: 13.56 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005176/0.9586, allocations: 210.7 kB / 0.5625 GB, free: 13.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009873/0.9596, allocations: 363.1 kB / 0.5628 GB, free: 13.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9596, allocations: 0 / 0.5628 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001159/0.9607, allocations: 414 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9607, allocations: 5.562 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.9607, allocations: 6.188 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.9608, allocations: 6.672 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.9614, allocations: 86.44 kB / 0.5633 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.9614, allocations: 2.875 kB / 0.5633 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004233/0.9618, allocations: 26.11 kB / 0.5633 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.9619, allocations: 19.14 kB / 0.5634 GB, free: 13.35 MB / 462.1 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 0.0002062/0.9621, allocations: 146.9 kB / 0.5635 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.9622, allocations: 26.88 kB / 0.5635 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.9626, allocations: 175.9 kB / 0.5637 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.9626, allocations: 3.25 kB / 0.5637 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.9626, allocations: 0 / 0.5637 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.9626, allocations: 7.125 kB / 0.5637 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002191/0.9648, allocations: 0.6683 MB / 0.5644 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.9648, allocations: 6.875 kB / 0.5644 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.9654, allocations: 78.27 kB / 0.5644 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.9654, allocations: 6.469 kB / 0.5644 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/0.9654, allocations: 11.86 kB / 0.5645 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.9655, allocations: 3.469 kB / 0.5645 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.9655, allocations: 2.438 kB / 0.5645 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.9671, allocations: 0.7216 MB / 0.5652 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.9673, allocations: 47.09 kB / 0.5652 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/0.9674, allocations: 16.92 kB / 0.5652 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/0.9679, allocations: 23.86 kB / 0.5653 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.9679, allocations: 27.66 kB / 0.5653 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.968, allocations: 17.42 kB / 0.5653 GB, free: 12.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.9681, allocations: 107.6 kB / 0.5654 GB, free: 12.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9681, allocations: 0 / 0.5654 GB, free: 12.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009023/0.969, allocations: 153 kB / 0.5655 GB, free: 12.48 MB / 462.1 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.0006301/0.9696, allocations: 240.3 kB / 0.5658 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.9708, allocations: 337 kB / 0.5661 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.9708, allocations: 4.609 kB / 0.5661 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004986/0.9713, allocations: 165 kB / 0.5663 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.9722, allocations: 107.8 kB / 0.5664 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.9741, allocations: 0.6378 MB / 0.567 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.9743, allocations: 133.9 kB / 0.5671 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004544/0.9747, allocations: 82.7 kB / 0.5672 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.9749, allocations: 41.8 kB / 0.5672 GB, free: 11.85 MB / 462.1 MB Notification: Performance of SimCode: time 6.71e-07/0.9749, allocations: 0 / 0.5672 GB, free: 11.85 MB / 462.1 MB Notification: Performance of Templates: time 0.01434/0.9893, allocations: 6.89 MB / 0.574 GB, free: 11.21 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.838989305993891]