Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001851/0.001851, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002287/0.002287, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.449/1.449, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2703, allocations: 53.38 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03506/0.3053, allocations: 24.01 MB / 456.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003271/0.3086, allocations: 2.01 MB / 458.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.3087, allocations: 0 / 458.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004146/0.3091, allocations: 55.66 kB / 458.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004349/0.3095, allocations: 163 kB / 458.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01727/0.3268, allocations: 6.531 MB / 465.1 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005291/0.3273, allocations: 342.6 kB / 465.4 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.356e-05/0.3274, allocations: 5.75 kB / 465.4 MB, free: 5.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.3277, allocations: 143.5 kB / 465.6 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002607/0.3279, allocations: 131.5 kB / 465.7 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.617e-05/0.328, allocations: 8 kB / 465.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01855/0.3465, allocations: 8.983 MB / 474.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000178/0.3467, allocations: 67.8 kB / 474.8 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.3469, allocations: 91.7 kB / 474.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.3592, allocations: 4.689 MB / 479.5 MB, free: 7.375 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3592, allocations: 4 kB / 479.6 MB, free: 7.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3593, allocations: 0 / 479.6 MB, free: 7.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.3593, allocations: 0 / 479.6 MB, free: 7.371 MB / 382.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.003713/0.363, allocations: 1.1 MB / 480.7 MB, free: 6.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.363, allocations: 8.031 kB / 480.7 MB, free: 6.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001733/0.3632, allocations: 24.22 kB / 480.7 MB, free: 6.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.3635, allocations: 164.9 kB / 480.8 MB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.3635, allocations: 12.33 kB / 480.9 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.234e-05/0.3636, allocations: 23.89 kB / 480.9 MB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.3644, allocations: 392.2 kB / 481.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3644, allocations: 0 / 481.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.3645, allocations: 12 kB / 481.3 MB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.3645, allocations: 7.938 kB / 481.3 MB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008343/0.3653, allocations: 319.7 kB / 481.6 MB, free: 5.23 MB / 382.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.001512/0.3668, allocations: 0.6516 MB / 482.2 MB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007494/0.3676, allocations: 233.2 kB / 482.5 MB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.3679, allocations: 125.6 kB / 482.6 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0111/0.379, allocations: 2.69 MB / 485.3 MB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.3791, allocations: 38.56 kB / 485.3 MB, free: 1.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.675e-06/0.3791, allocations: 4 kB / 485.3 MB, free: 1.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.003019/0.3821, allocations: 0.7024 MB / 486 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.3821, allocations: 93.05 kB / 486.1 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3823, allocations: 145.7 kB / 486.3 MB, free: 464 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.3823, allocations: 29.7 kB / 486.3 MB, free: 428 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.3824, allocations: 112.9 kB / 486.4 MB, free: 312 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.3826, allocations: 142.8 kB / 486.5 MB, free: 168 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.3827, allocations: 77.59 kB / 486.6 MB, free: 84 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3829, allocations: 330.8 kB / 486.9 MB, free: 15.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.3833, allocations: 131.9 kB / 487.1 MB, free: 15.62 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005229/0.3838, allocations: 215.6 kB / 487.3 MB, free: 15.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009703/0.3847, allocations: 362.7 kB / 487.6 MB, free: 15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3848, allocations: 0 / 487.6 MB, free: 15 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001207/0.386, allocations: 421.2 kB / 488 MB, free: 14.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.386, allocations: 8 kB / 488.1 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.386, allocations: 0 / 488.1 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.386, allocations: 4 kB / 488.1 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.3865, allocations: 99.8 kB / 488.2 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.3865, allocations: 7.938 kB / 488.2 MB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.3868, allocations: 28.16 kB / 488.2 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.3869, allocations: 23.98 kB / 488.2 MB, free: 14.42 MB / 398.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.0001672/0.387, allocations: 137.7 kB / 488.3 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.3872, allocations: 19.91 kB / 488.4 MB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.3877, allocations: 198.7 kB / 488.6 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.3877, allocations: 11.92 kB / 488.6 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3877, allocations: 0 / 488.6 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3877, allocations: 0 / 488.6 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.3895, allocations: 0.6774 MB / 489.3 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3895, allocations: 0 / 489.3 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004192/0.3899, allocations: 83.81 kB / 489.3 MB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3899, allocations: 4 kB / 489.3 MB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.39, allocations: 8 kB / 489.3 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.39, allocations: 12.09 kB / 489.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.39, allocations: 4 kB / 489.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.3916, allocations: 0.7191 MB / 490.1 MB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.3918, allocations: 55.77 kB / 490.1 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.3918, allocations: 8 kB / 490.1 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.3922, allocations: 15.98 kB / 490.2 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.3922, allocations: 31.89 kB / 490.2 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.3922, allocations: 19.98 kB / 490.2 MB, free: 12.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.724e-05/0.3923, allocations: 110 kB / 490.3 MB, free: 12.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3923, allocations: 4 kB / 490.3 MB, free: 12.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0027/0.395, allocations: 0.959 MB / 491.3 MB, free: 11.25 MB / 398.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 (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.004057/0.3991, allocations: 1.246 MB / 492.5 MB, free: 9.984 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.4003, allocations: 331.4 kB / 492.8 MB, free: 9.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4003, allocations: 0 / 492.8 MB, free: 9.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000498/0.4008, allocations: 183 kB / 493 MB, free: 9.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.4016, allocations: 103.8 kB / 493.1 MB, free: 9.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.4031, allocations: 0.6469 MB / 493.8 MB, free: 8.691 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.4033, allocations: 141.7 kB / 493.9 MB, free: 8.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.4035, allocations: 47.41 kB / 494 MB, free: 8.488 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4035, allocations: 0 / 494 MB, free: 8.488 MB / 398.1 MB Notification: Performance of Templates: time 0.03262/0.4361, allocations: 20.29 MB / 0.5022 GB, free: 4.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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: 10.090872267726809]