Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 193.6 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Media.Examples.MoistAir") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 47.92 kB / 369.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2894, allocations: 52.15 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4641/0.7536, allocations: 151.9 MB / 0.5597 GB, free: 13.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.755, allocations: 1.612 MB / 0.5613 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.7551, allocations: 2.094 kB / 0.5613 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.7554, allocations: 58.23 kB / 0.5613 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.7558, allocations: 160.7 kB / 0.5615 GB, free: 13.6 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.7582, allocations: 1.023 MB / 0.5625 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.7586, allocations: 326.4 kB / 0.5628 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.7586, allocations: 11 kB / 0.5628 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.7589, allocations: 152.5 kB / 0.563 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.7591, allocations: 126.6 kB / 0.5631 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.7591, allocations: 13.66 kB / 0.5631 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.7616, allocations: 1.639 MB / 0.5647 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.7617, allocations: 75.86 kB / 0.5648 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.7618, allocations: 89.81 kB / 0.5649 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.7636, allocations: 0.9976 MB / 0.5658 GB, free: 13.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.7636, allocations: 2.531 kB / 0.5658 GB, free: 13.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7636, allocations: 0 / 0.5658 GB, free: 13.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.7637, allocations: 0 / 0.5658 GB, free: 13.16 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.001924/0.7656, allocations: 0.6889 MB / 0.5665 GB, free: 12.67 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.7656, allocations: 7.875 kB / 0.5665 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.7658, allocations: 21.44 kB / 0.5665 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.766, allocations: 216.9 kB / 0.5667 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.7661, allocations: 17.67 kB / 0.5668 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.7661, allocations: 13.91 kB / 0.5668 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/0.7666, allocations: 265.2 kB / 0.567 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.7667, allocations: 2.594 kB / 0.567 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.7667, allocations: 3.312 kB / 0.567 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.7667, allocations: 11.41 kB / 0.567 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.7673, allocations: 268 kB / 0.5673 GB, free: 12.39 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.001411/0.7687, allocations: 0.7939 MB / 0.5681 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.7693, allocations: 210.8 kB / 0.5683 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.7696, allocations: 140.3 kB / 0.5684 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003697/0.7699, allocations: 352.5 kB / 0.5687 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.77, allocations: 40.27 kB / 0.5688 GB, free: 11.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.813e-06/0.77, allocations: 0 / 0.5688 GB, free: 11.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002335/0.7723, allocations: 0.6728 MB / 0.5694 GB, free: 11.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.7724, allocations: 81.95 kB / 0.5695 GB, free: 11.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.7725, allocations: 126.4 kB / 0.5696 GB, free: 11.1 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.916e-05/0.7725, allocations: 31.08 kB / 0.5697 GB, free: 11.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.7726, allocations: 105.2 kB / 0.5698 GB, free: 10.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.7727, allocations: 135.6 kB / 0.5699 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.7728, allocations: 64.61 kB / 0.57 GB, free: 10.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.773, allocations: 331.8 kB / 0.5703 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003371/0.7733, allocations: 135.3 kB / 0.5704 GB, free: 10.55 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.7737, allocations: 211.8 kB / 0.5706 GB, free: 10.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007222/0.7744, allocations: 355.4 kB / 0.5709 GB, free: 10.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7744, allocations: 4 kB / 0.571 GB, free: 10.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008657/0.7753, allocations: 403.8 kB / 0.5713 GB, free: 10.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.7753, allocations: 12.09 kB / 0.5713 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.7753, allocations: 3.969 kB / 0.5714 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.7753, allocations: 4.875 kB / 0.5714 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.7758, allocations: 86.52 kB / 0.5714 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.7758, allocations: 8.281 kB / 0.5714 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.7761, allocations: 29.83 kB / 0.5715 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.7762, allocations: 19.88 kB / 0.5715 GB, free: 10.29 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.0001513/0.7763, allocations: 142.6 kB / 0.5716 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.7764, allocations: 15.53 kB / 0.5716 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003505/0.7768, allocations: 182.5 kB / 0.5718 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.7768, allocations: 7.906 kB / 0.5718 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.7768, allocations: 5.031 kB / 0.5718 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7768, allocations: 0 / 0.5718 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.7785, allocations: 0.7557 MB / 0.5726 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.7785, allocations: 2.75 kB / 0.5726 GB, free: 9.742 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/0.7789, allocations: 82.78 kB / 0.5727 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.7789, allocations: 2.719 kB / 0.5727 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.7789, allocations: 9.922 kB / 0.5727 GB, free: 9.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.7789, allocations: 12.53 kB / 0.5727 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7789, allocations: 3.062 kB / 0.5727 GB, free: 9.727 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.7802, allocations: 0.7148 MB / 0.5734 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.7804, allocations: 115.6 kB / 0.5735 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.7804, allocations: 8 kB / 0.5735 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.7808, allocations: 23.81 kB / 0.5735 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.7808, allocations: 27.56 kB / 0.5735 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.7808, allocations: 14.02 kB / 0.5736 GB, free: 9.336 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.63e-05/0.7809, allocations: 96.12 kB / 0.5736 GB, free: 9.262 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7809, allocations: 0 / 0.5736 GB, free: 9.262 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006364/0.7815, allocations: 144.4 kB / 0.5738 GB, free: 9.242 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.0004656/0.782, allocations: 236.6 kB / 0.574 GB, free: 9.117 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008275/0.7828, allocations: 332.9 kB / 0.5743 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7828, allocations: 0 / 0.5743 GB, free: 9.094 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.7832, allocations: 168.4 kB / 0.5745 GB, free: 9.082 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006596/0.7839, allocations: 92.05 kB / 0.5746 GB, free: 9.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.7853, allocations: 0.6426 MB / 0.5752 GB, free: 8.699 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.7857, allocations: 0.7368 MB / 0.5759 GB, free: 7.996 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.7859, allocations: 39.06 kB / 0.576 GB, free: 7.988 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.7859, allocations: 0 / 0.576 GB, free: 7.988 MB / 462.1 MB Notification: Performance of Templates: time 0.007029/0.7929, allocations: 4.415 MB / 0.5803 GB, free: 5.863 MB / 462.1 MB [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches