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.001897/0.001897, allocations: 111 kB / 21.18 MB, free: 0.6758 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.002305/0.002305, allocations: 210.7 kB / 24.48 MB, free: 3.977 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 1.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.001567/0.001567, allocations: 47.92 kB / 378.9 MB, free: 2.492 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.215, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3613/0.5763, allocations: 133.3 MB / 0.5523 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.5777, allocations: 1.432 MB / 0.5537 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.986e-05/0.5777, allocations: 3.594 kB / 0.5537 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.578, allocations: 62.08 kB / 0.5538 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.5784, allocations: 166.1 kB / 0.5539 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.5807, allocations: 1.064 MB / 0.555 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.581, allocations: 350.3 kB / 0.5553 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.581, allocations: 7.25 kB / 0.5553 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.5812, allocations: 168.6 kB / 0.5555 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.5815, allocations: 148.6 kB / 0.5556 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.5815, allocations: 13.47 kB / 0.5556 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.5834, allocations: 1.405 MB / 0.557 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.5834, allocations: 71.89 kB / 0.5571 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.5835, allocations: 92.44 kB / 0.5572 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.5847, allocations: 0.991 MB / 0.5581 GB, free: 15.6 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.5847, allocations: 2.562 kB / 0.5581 GB, free: 15.6 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5847, allocations: 0 / 0.5581 GB, free: 15.6 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.5847, allocations: 0 / 0.5581 GB, free: 15.6 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.001771/0.5865, allocations: 0.6285 MB / 0.5587 GB, free: 15.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.5865, allocations: 12.03 kB / 0.5588 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.5867, allocations: 26.5 kB / 0.5588 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.5869, allocations: 165.1 kB / 0.5589 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.5869, allocations: 14.83 kB / 0.559 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.587, allocations: 21.55 kB / 0.559 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.5876, allocations: 366.2 kB / 0.5593 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.5876, allocations: 0 / 0.5593 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.5876, allocations: 8.969 kB / 0.5593 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.5876, allocations: 5.188 kB / 0.5593 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005898/0.5882, allocations: 265.9 kB / 0.5596 GB, free: 14.86 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.001355/0.5896, allocations: 0.612 MB / 0.5602 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.5902, allocations: 215.6 kB / 0.5604 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.5905, allocations: 130.3 kB / 0.5605 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001788/0.5907, allocations: 46.69 kB / 0.5606 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.5907, allocations: 44.28 kB / 0.5606 GB, free: 14.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.653e-06/0.5907, allocations: 0 / 0.5606 GB, free: 14.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002453/0.5932, allocations: 0.6926 MB / 0.5613 GB, free: 14.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.5932, allocations: 85.27 kB / 0.5614 GB, free: 14.22 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.5933, allocations: 141.8 kB / 0.5615 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.084e-05/0.5934, allocations: 32.02 kB / 0.5615 GB, free: 14.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.5935, allocations: 112.7 kB / 0.5616 GB, free: 14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.5936, allocations: 134.5 kB / 0.5618 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.5937, allocations: 73.56 kB / 0.5618 GB, free: 13.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5938, allocations: 326.5 kB / 0.5621 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.5942, allocations: 135.5 kB / 0.5623 GB, free: 13.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/0.5946, allocations: 204.1 kB / 0.5625 GB, free: 13.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007478/0.5953, allocations: 362.7 kB / 0.5628 GB, free: 13.42 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5953, allocations: 5.203 kB / 0.5628 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009083/0.5962, allocations: 413 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.5962, allocations: 9.938 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.5962, allocations: 2.906 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.5963, allocations: 6.062 kB / 0.5632 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.5968, allocations: 86.72 kB / 0.5633 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.5968, allocations: 2.344 kB / 0.5633 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.5971, allocations: 27.94 kB / 0.5633 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.5971, allocations: 17.05 kB / 0.5634 GB, free: 13.36 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.0001509/0.5973, allocations: 151.8 kB / 0.5635 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.524e-05/0.5974, allocations: 23.61 kB / 0.5635 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.5977, allocations: 176.1 kB / 0.5637 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5977, allocations: 11.34 kB / 0.5637 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.5977, allocations: 0 / 0.5637 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5977, allocations: 3.406 kB / 0.5637 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.5993, allocations: 0.6679 MB / 0.5644 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5993, allocations: 5.844 kB / 0.5644 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.5998, allocations: 73.14 kB / 0.5644 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.5998, allocations: 6.156 kB / 0.5644 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.243e-05/0.5998, allocations: 18.44 kB / 0.5645 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5998, allocations: 5.5 kB / 0.5645 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5998, allocations: 0 / 0.5645 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.6011, allocations: 0.7196 MB / 0.5652 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.6012, allocations: 48.06 kB / 0.5652 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.6013, allocations: 14.72 kB / 0.5652 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.6017, allocations: 22.44 kB / 0.5652 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.6017, allocations: 26.06 kB / 0.5653 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.169e-05/0.6018, allocations: 16.41 kB / 0.5653 GB, free: 12.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.094e-05/0.6018, allocations: 108.5 kB / 0.5654 GB, free: 12.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6018, allocations: 3.438 kB / 0.5654 GB, free: 12.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005593/0.6024, allocations: 151.8 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.0004286/0.6028, allocations: 240.8 kB / 0.5658 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008047/0.6036, allocations: 333.7 kB / 0.5661 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.6036, allocations: 0 / 0.5661 GB, free: 12.35 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.604, allocations: 173.2 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.0007183/0.6047, allocations: 109.3 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.00137/0.6061, allocations: 0.6388 MB / 0.567 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.6062, allocations: 130.8 kB / 0.5671 GB, free: 11.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003155/0.6065, allocations: 82.55 kB / 0.5672 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.6067, allocations: 35.03 kB / 0.5672 GB, free: 11.86 MB / 462.1 MB Notification: Performance of SimCode: time 4.1e-07/0.6067, allocations: 0 / 0.5672 GB, free: 11.86 MB / 462.1 MB Notification: Performance of Templates: time 0.01036/0.617, allocations: 6.895 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 gbode -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: 5.00730706100876]