Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001516, allocations: 122.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001832/0.001832, allocations: 197.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 227.4 MB / 246.9 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 63.89 kB / 358.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2417, allocations: 50.55 MB / 409.2 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02993/0.2716, allocations: 26.63 MB / 435.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002655/0.2743, allocations: 2.243 MB / 438.1 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.2744, allocations: 4 kB / 438.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.2748, allocations: 59.59 kB / 438.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.2751, allocations: 167 kB / 438.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01418/0.2893, allocations: 6.522 MB / 444.9 MB, free: 13.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.2898, allocations: 334.7 kB / 445.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.2898, allocations: 13.56 kB / 445.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.29, allocations: 143.5 kB / 445.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.2903, allocations: 123.6 kB / 445.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.2903, allocations: 16 kB / 445.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01548/0.3058, allocations: 9.531 MB / 455 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3059, allocations: 75.78 kB / 455.1 MB, free: 3.664 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.3061, allocations: 95.59 kB / 455.2 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009718/0.3158, allocations: 4.726 MB / 459.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3159, allocations: 4 kB / 459.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3159, allocations: 0 / 459.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3159, allocations: 0 / 459.9 MB, free: 14.83 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.003204/0.3191, allocations: 1.139 MB / 461.1 MB, free: 13.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3191, allocations: 8.031 kB / 461.1 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.3193, allocations: 24.12 kB / 461.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.3196, allocations: 230.7 kB / 461.3 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3196, allocations: 12.33 kB / 461.3 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.3197, allocations: 20 kB / 461.3 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/0.3204, allocations: 285.4 kB / 461.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.3204, allocations: 4 kB / 461.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.032e-05/0.3204, allocations: 4 kB / 461.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.3204, allocations: 11.94 kB / 461.6 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007808/0.3212, allocations: 323.6 kB / 462 MB, free: 12.69 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.001445/0.3227, allocations: 0.8204 MB / 462.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.3235, allocations: 252.4 kB / 463 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.3238, allocations: 145.6 kB / 463.2 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01594/0.3397, allocations: 12.84 MB / 476 MB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.3398, allocations: 46.48 kB / 476.1 MB, free: 11.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.144e-06/0.3398, allocations: 0 / 476.1 MB, free: 11.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002936/0.3428, allocations: 0.6881 MB / 476.7 MB, free: 11.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3428, allocations: 85.09 kB / 476.8 MB, free: 11.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.343, allocations: 148 kB / 477 MB, free: 11.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.343, allocations: 37.7 kB / 477 MB, free: 10.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.3431, allocations: 116.7 kB / 477.1 MB, free: 10.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.189e-05/0.3432, allocations: 126.2 kB / 477.2 MB, free: 10.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.3433, allocations: 65.64 kB / 477.3 MB, free: 10.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3434, allocations: 338.8 kB / 477.6 MB, free: 10.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.3438, allocations: 131.9 kB / 477.8 MB, free: 10.19 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004701/0.3443, allocations: 207.6 kB / 478 MB, free: 9.957 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00093/0.3452, allocations: 370.3 kB / 478.3 MB, free: 9.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3452, allocations: 0 / 478.3 MB, free: 9.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001154/0.3464, allocations: 417.1 kB / 478.7 MB, free: 9.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3464, allocations: 7.938 kB / 478.7 MB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3464, allocations: 8 kB / 478.8 MB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3465, allocations: 7.938 kB / 478.8 MB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.3469, allocations: 84.09 kB / 478.8 MB, free: 9.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.347, allocations: 11.94 kB / 478.9 MB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.3473, allocations: 35.81 kB / 478.9 MB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.669e-05/0.3473, allocations: 15.98 kB / 478.9 MB, free: 8.992 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.0001368/0.3475, allocations: 137.8 kB / 479 MB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.3476, allocations: 19.81 kB / 479.1 MB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.3481, allocations: 194.6 kB / 479.3 MB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.3481, allocations: 4 kB / 479.3 MB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.3481, allocations: 7.984 kB / 479.3 MB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.3481, allocations: 3.984 kB / 479.3 MB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.3498, allocations: 0.7907 MB / 480.1 MB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3498, allocations: 0 / 480.1 MB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004503/0.3503, allocations: 79.88 kB / 480.1 MB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3503, allocations: 4 kB / 480.1 MB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.3503, allocations: 12 kB / 480.2 MB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.3503, allocations: 7.938 kB / 480.2 MB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3504, allocations: 3.984 kB / 480.2 MB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.3518, allocations: 0.7104 MB / 480.9 MB, free: 6.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.352, allocations: 128.7 kB / 481 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.352, allocations: 8 kB / 481 MB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.3524, allocations: 28.05 kB / 481 MB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.3524, allocations: 23.91 kB / 481.1 MB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.3525, allocations: 19.98 kB / 481.1 MB, free: 6.684 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.949e-05/0.3526, allocations: 109.5 kB / 481.2 MB, free: 6.578 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3526, allocations: 0 / 481.2 MB, free: 6.578 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002463/0.355, allocations: 0.9525 MB / 482.1 MB, free: 5.625 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.003576/0.3586, allocations: 1.253 MB / 483.4 MB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001007/0.3596, allocations: 351.5 kB / 483.7 MB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.3597, allocations: 4 kB / 483.7 MB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004507/0.3601, allocations: 179.7 kB / 483.9 MB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007157/0.3608, allocations: 99.89 kB / 484 MB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3622, allocations: 0.6172 MB / 484.6 MB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.3624, allocations: 0.7413 MB / 485.4 MB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002973/0.3628, allocations: 82.23 kB / 485.4 MB, free: 2.238 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.3629, allocations: 43.41 kB / 485.5 MB, free: 2.195 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3629, allocations: 0 / 485.5 MB, free: 2.195 MB / 398.1 MB Notification: Performance of Templates: time 0.03695/0.3999, allocations: 29.9 MB / 0.5033 GB, free: 4.305 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches