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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 119 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002137/0.002137, allocations: 189.2 kB / 20.72 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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.001492/0.001492, allocations: 47.91 kB / 366.1 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09368, allocations: 52.14 MB / 418.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3577/0.4514, allocations: 151.9 MB / 0.5568 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.4534, allocations: 1.607 MB / 0.5583 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/0.4534, allocations: 0 / 0.5583 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.4537, allocations: 63.64 kB / 0.5584 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.4541, allocations: 153.7 kB / 0.5586 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.4566, allocations: 1.025 MB / 0.5596 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.457, allocations: 330.8 kB / 0.5599 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.4571, allocations: 7 kB / 0.5599 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002512/0.4573, allocations: 155.5 kB / 0.56 GB, free: 10.74 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.4575, allocations: 131.5 kB / 0.5602 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.4576, allocations: 12 kB / 0.5602 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.46, allocations: 1.634 MB / 0.5618 GB, free: 8.969 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.611e-05/0.4601, allocations: 67.84 kB / 0.5618 GB, free: 8.902 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.4603, allocations: 99.64 kB / 0.5619 GB, free: 8.805 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.4616, allocations: 0.9893 MB / 0.5629 GB, free: 7.816 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4617, allocations: 4 kB / 0.5629 GB, free: 7.812 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4617, allocations: 0 / 0.5629 GB, free: 7.812 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.4617, allocations: 0 / 0.5629 GB, free: 7.812 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.001776/0.4634, allocations: 0.685 MB / 0.5636 GB, free: 7.078 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.4635, allocations: 12.03 kB / 0.5636 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.4636, allocations: 20.84 kB / 0.5636 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.4639, allocations: 227.5 kB / 0.5638 GB, free: 6.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4639, allocations: 8.328 kB / 0.5638 GB, free: 6.777 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.464, allocations: 16 kB / 0.5638 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.4646, allocations: 261.4 kB / 0.5641 GB, free: 6.496 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.4646, allocations: 7.922 kB / 0.5641 GB, free: 6.488 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.4646, allocations: 8 kB / 0.5641 GB, free: 6.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.237e-05/0.4647, allocations: 11.98 kB / 0.5641 GB, free: 6.469 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007076/0.4654, allocations: 260.5 kB / 0.5644 GB, free: 6.215 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.001608/0.467, allocations: 0.7975 MB / 0.5651 GB, free: 5.34 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/0.4676, allocations: 217.1 kB / 0.5653 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.468, allocations: 129.6 kB / 0.5655 GB, free: 4.977 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000382/0.4684, allocations: 352.4 kB / 0.5658 GB, free: 4.559 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.4684, allocations: 38.56 kB / 0.5658 GB, free: 4.512 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.502e-06/0.4684, allocations: 0 / 0.5658 GB, free: 4.512 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002563/0.471, allocations: 0.669 MB / 0.5665 GB, free: 3.836 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.471, allocations: 85.11 kB / 0.5666 GB, free: 3.734 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.4711, allocations: 117.8 kB / 0.5667 GB, free: 3.609 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.4712, allocations: 37.7 kB / 0.5667 GB, free: 3.566 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.775e-05/0.4712, allocations: 104.9 kB / 0.5668 GB, free: 3.457 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.4713, allocations: 134.8 kB / 0.5669 GB, free: 3.324 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.4715, allocations: 72.59 kB / 0.567 GB, free: 3.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4716, allocations: 326.8 kB / 0.5673 GB, free: 2.922 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.472, allocations: 135.8 kB / 0.5675 GB, free: 2.789 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.4725, allocations: 212 kB / 0.5677 GB, free: 2.555 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008597/0.4733, allocations: 360.1 kB / 0.568 GB, free: 2.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4733, allocations: 4 kB / 0.568 GB, free: 2.176 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001021/0.4744, allocations: 410.8 kB / 0.5684 GB, free: 1.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4744, allocations: 4 kB / 0.5684 GB, free: 1.766 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.4744, allocations: 4.562 kB / 0.5684 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.4744, allocations: 4 kB / 0.5684 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.4749, allocations: 83.88 kB / 0.5685 GB, free: 1.676 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.4749, allocations: 4 kB / 0.5685 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.4752, allocations: 36.55 kB / 0.5685 GB, free: 1.637 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.4753, allocations: 12 kB / 0.5685 GB, free: 1.625 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.0001467/0.4754, allocations: 145.8 kB / 0.5687 GB, free: 1.473 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.4755, allocations: 19.84 kB / 0.5687 GB, free: 1.453 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.4759, allocations: 175.1 kB / 0.5689 GB, free: 1.277 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4759, allocations: 4 kB / 0.5689 GB, free: 1.273 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.4759, allocations: 3.984 kB / 0.5689 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.4759, allocations: 3.984 kB / 0.5689 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.4776, allocations: 0.7613 MB / 0.5696 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4776, allocations: 160 / 0.5696 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.4781, allocations: 87.88 kB / 0.5697 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.4781, allocations: 0 / 0.5697 GB, free: 356 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.4781, allocations: 12.69 kB / 0.5697 GB, free: 344 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.4781, allocations: 3.984 kB / 0.5697 GB, free: 340 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4781, allocations: 4 kB / 0.5697 GB, free: 336 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.4796, allocations: 0.7155 MB / 0.5704 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.4797, allocations: 113 kB / 0.5705 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.4798, allocations: 13.06 kB / 0.5705 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.4802, allocations: 24.34 kB / 0.5706 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.4802, allocations: 28.03 kB / 0.5706 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.4802, allocations: 8 kB / 0.5706 GB, free: 15.38 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.183e-05/0.4803, allocations: 99.2 kB / 0.5707 GB, free: 15.28 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4803, allocations: 0 / 0.5707 GB, free: 15.28 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000562/0.4809, allocations: 147.7 kB / 0.5708 GB, free: 15.14 MB / 478.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.0004611/0.4813, allocations: 242.6 kB / 0.5711 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009215/0.4822, allocations: 331 kB / 0.5714 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4822, allocations: 0 / 0.5714 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004346/0.4827, allocations: 169 kB / 0.5715 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.4834, allocations: 95.81 kB / 0.5716 GB, free: 14.32 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.4849, allocations: 0.6183 MB / 0.5722 GB, free: 13.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.4852, allocations: 0.7332 MB / 0.573 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003216/0.4855, allocations: 79.45 kB / 0.573 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.4857, allocations: 35.42 kB / 0.5731 GB, free: 12.79 MB / 478.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4857, allocations: 0 / 0.5731 GB, free: 12.79 MB / 478.1 MB Notification: Performance of Templates: time 0.01102/0.4967, allocations: 5.975 MB / 0.5789 GB, free: 6.875 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/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 [Calling sys.exit(0), Time elapsed: 4.795361595228314]