Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00265/0.00265, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003144/0.003144, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 272.2 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.313e-05, allocations: 2.312 kB / 272.2 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3038/0.3038, allocations: 147.1 MB / 419.3 MB, free: 14.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002266/0.3061, allocations: 1.574 MB / 420.9 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.3062, allocations: 7.938 kB / 420.9 MB, free: 12.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.3065, allocations: 58.61 kB / 420.9 MB, free: 12.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004369/0.307, allocations: 177 kB / 421.1 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.31, allocations: 1.069 MB / 422.2 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.3106, allocations: 358.5 kB / 422.5 MB, free: 11.32 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.3106, allocations: 13.8 kB / 422.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.311, allocations: 211.4 kB / 422.8 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.3112, allocations: 123.7 kB / 422.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.3113, allocations: 12 kB / 422.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002692/0.314, allocations: 1.38 MB / 424.3 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3141, allocations: 67.86 kB / 424.3 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.3142, allocations: 87.81 kB / 424.4 MB, free: 9.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.3164, allocations: 1.134 MB / 425.6 MB, free: 8.293 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3164, allocations: 0 / 425.6 MB, free: 8.293 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3164, allocations: 0 / 425.6 MB, free: 8.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3164, allocations: 0 / 425.6 MB, free: 8.293 MB / 378.7 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.00175/0.3181, allocations: 0.7213 MB / 426.3 MB, free: 7.535 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3182, allocations: 11.98 kB / 426.3 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001979/0.3184, allocations: 40.78 kB / 426.3 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.3187, allocations: 164.5 kB / 426.5 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.3187, allocations: 16.27 kB / 426.5 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.3188, allocations: 23.95 kB / 426.5 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.3194, allocations: 337.9 kB / 426.9 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3194, allocations: 0 / 426.9 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.828e-05/0.3194, allocations: 13.3 kB / 426.9 MB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.3195, allocations: 8 kB / 426.9 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005713/0.32, allocations: 201.9 kB / 427.1 MB, free: 6.676 MB / 378.7 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.001601/0.3216, allocations: 0.7095 MB / 427.8 MB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.3223, allocations: 206.8 kB / 428 MB, free: 5.691 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.3226, allocations: 120.4 kB / 428.1 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.3228, allocations: 47.95 kB / 428.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.3229, allocations: 45.33 kB / 428.2 MB, free: 5.465 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.503e-06/0.3229, allocations: 4 kB / 428.2 MB, free: 5.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002284/0.3251, allocations: 0.6051 MB / 428.8 MB, free: 4.852 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.3252, allocations: 81.11 kB / 428.9 MB, free: 4.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.3254, allocations: 209.8 kB / 429.1 MB, free: 4.531 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.3254, allocations: 29.7 kB / 429.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.3256, allocations: 163.7 kB / 429.3 MB, free: 4.332 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.3257, allocations: 134.9 kB / 429.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.3259, allocations: 83.33 kB / 429.5 MB, free: 4.109 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002804/0.3261, allocations: 0.504 MB / 430 MB, free: 3.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.3265, allocations: 111.9 kB / 430.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004314/0.3269, allocations: 217 kB / 430.3 MB, free: 3.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.3277, allocations: 352.8 kB / 430.7 MB, free: 2.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3277, allocations: 0 / 430.7 MB, free: 2.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009509/0.3286, allocations: 390.2 kB / 431 MB, free: 2.469 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3287, allocations: 4 kB / 431 MB, free: 2.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3287, allocations: 4 kB / 431.1 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.3287, allocations: 7.625 kB / 431.1 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004717/0.3292, allocations: 79.89 kB / 431.1 MB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.3292, allocations: 7.938 kB / 431.1 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.3295, allocations: 23.88 kB / 431.2 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.3295, allocations: 16 kB / 431.2 MB, free: 2.332 MB / 378.7 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.0001799/0.3297, allocations: 180.7 kB / 431.4 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.3298, allocations: 31.84 kB / 431.4 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/0.3302, allocations: 174.8 kB / 431.6 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3302, allocations: 8 kB / 431.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3302, allocations: 4 kB / 431.6 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.3302, allocations: 3.984 kB / 431.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.3322, allocations: 0.69 MB / 432.3 MB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3322, allocations: 4 kB / 432.3 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.3326, allocations: 75.98 kB / 432.3 MB, free: 1.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3326, allocations: 8 kB / 432.4 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.297e-05/0.3326, allocations: 8 kB / 432.4 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.3326, allocations: 11.92 kB / 432.4 MB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.3326, allocations: 7.938 kB / 432.4 MB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.3341, allocations: 0.7558 MB / 433.1 MB, free: 264 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.3342, allocations: 43.86 kB / 433.2 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.3342, allocations: 15.97 kB / 433.2 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.3346, allocations: 11.98 kB / 433.2 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.3346, allocations: 31.89 kB / 433.2 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.984e-05/0.3347, allocations: 16 kB / 433.3 MB, free: 144 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.3348, allocations: 143.2 kB / 433.4 MB, free: 0 / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3348, allocations: 0 / 433.4 MB, free: 0 / 378.7 MB Notification: Performance of remove unused functions: time 0.0993/0.4341, allocations: 152.4 kB / 433.5 MB, free: 139.5 MB / 378.7 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.0004674/0.4346, allocations: 242.1 kB / 433.8 MB, free: 139.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000808/0.4354, allocations: 319.9 kB / 434.1 MB, free: 139.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4354, allocations: 0 / 434.1 MB, free: 139.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.4357, allocations: 173.3 kB / 434.3 MB, free: 139.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007659/0.4365, allocations: 121.2 kB / 434.4 MB, free: 139.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.4376, allocations: 0.557 MB / 434.9 MB, free: 139.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001144/0.4377, allocations: 131.5 kB / 435.1 MB, free: 139 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003163/0.4381, allocations: 74.5 kB / 435.1 MB, free: 139 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.4382, allocations: 41.61 kB / 435.2 MB, free: 139 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4382, allocations: 0 / 435.2 MB, free: 139 MB / 378.7 MB Notification: Performance of Templates: time 0.0118/0.45, allocations: 6.544 MB / 441.7 MB, free: 137.4 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.03749463299755]