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.001115/0.001115, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001132/0.001132, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 60.16 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09479/0.09604, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1939/0.29, allocations: 26.64 MB / 385.5 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.293, allocations: 2.236 MB / 387.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.2933, allocations: 1.781 kB / 387.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.2938, allocations: 67.66 kB / 387.8 MB, free: 5.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008227/0.2947, allocations: 164.1 kB / 388 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02249/0.3172, allocations: 6.52 MB / 394.5 MB, free: 2.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.3178, allocations: 335.5 kB / 394.8 MB, free: 1.934 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.3179, allocations: 12.84 kB / 394.9 MB, free: 1.926 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003031/0.3182, allocations: 145.6 kB / 395 MB, free: 1.852 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.3184, allocations: 127.1 kB / 395.1 MB, free: 1.781 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.3185, allocations: 11.38 kB / 395.1 MB, free: 1.781 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01807/0.3366, allocations: 9.529 MB / 404.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.3367, allocations: 70.97 kB / 404.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.337, allocations: 105.8 kB / 404.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01079/0.3478, allocations: 4.73 MB / 409.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3478, allocations: 0 / 409.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3478, allocations: 0 / 409.6 MB, free: 8.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.3478, allocations: 0 / 409.6 MB, free: 8.254 MB / 318.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.003154/0.351, allocations: 1.149 MB / 410.7 MB, free: 7.055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.351, allocations: 8.031 kB / 410.7 MB, free: 7.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.3512, allocations: 28.25 kB / 410.7 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.3515, allocations: 222.7 kB / 411 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3516, allocations: 16.33 kB / 411 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.3516, allocations: 12 kB / 411 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/0.3523, allocations: 289.4 kB / 411.3 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3523, allocations: 0 / 411.3 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.3524, allocations: 11.94 kB / 411.3 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.3524, allocations: 4 kB / 411.3 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007564/0.3532, allocations: 315.7 kB / 411.6 MB, free: 6.121 MB / 318.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.00149/0.3547, allocations: 0.8402 MB / 412.4 MB, free: 5.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/0.3554, allocations: 261 kB / 412.7 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.3557, allocations: 129.6 kB / 412.8 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01538/0.3711, allocations: 12.85 MB / 425.7 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.3712, allocations: 35.64 kB / 425.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.495e-06/0.3712, allocations: 0 / 425.7 MB, free: 5.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002872/0.374, allocations: 0.7016 MB / 426.4 MB, free: 4.676 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.3741, allocations: 81.11 kB / 426.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.3742, allocations: 145.8 kB / 426.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.3743, allocations: 29.7 kB / 426.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.16e-05/0.3744, allocations: 112.8 kB / 426.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.206e-05/0.3745, allocations: 126.2 kB / 426.9 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.3746, allocations: 77.62 kB / 427 MB, free: 4.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3747, allocations: 330.8 kB / 427.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003642/0.3751, allocations: 135.9 kB / 427.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004688/0.3756, allocations: 207.6 kB / 427.6 MB, free: 3.375 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00089/0.3765, allocations: 365.1 kB / 428 MB, free: 2.996 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3765, allocations: 4 kB / 428 MB, free: 2.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001141/0.3776, allocations: 420.6 kB / 428.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.3777, allocations: 8 kB / 428.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.3777, allocations: 3.938 kB / 428.4 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3777, allocations: 4 kB / 428.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.3782, allocations: 95.81 kB / 428.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.3782, allocations: 7.938 kB / 428.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.3785, allocations: 32.05 kB / 428.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.3786, allocations: 19.98 kB / 428.6 MB, free: 2.41 MB / 334.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.0001739/0.3788, allocations: 142.9 kB / 428.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.3789, allocations: 21.38 kB / 428.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005117/0.3795, allocations: 198.1 kB / 428.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3795, allocations: 4 kB / 428.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.3795, allocations: 3.938 kB / 428.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3795, allocations: 0 / 428.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.3813, allocations: 0.7714 MB / 429.7 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3813, allocations: 3.984 kB / 429.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.3818, allocations: 80.05 kB / 429.8 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.3818, allocations: 4 kB / 429.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.3818, allocations: 15.98 kB / 429.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3818, allocations: 0 / 429.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3818, allocations: 4 kB / 429.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.3833, allocations: 0.7265 MB / 430.5 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.3834, allocations: 116.9 kB / 430.6 MB, free: 200 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.566e-05/0.3835, allocations: 8 kB / 430.7 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.3839, allocations: 23.97 kB / 430.7 MB, free: 168 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.3839, allocations: 31.97 kB / 430.7 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.3839, allocations: 20.69 kB / 430.7 MB, free: 116 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.866e-05/0.384, allocations: 105.8 kB / 430.8 MB, free: 12 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.242e-06/0.384, allocations: 0 / 430.8 MB, free: 12 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.002478/0.3865, allocations: 0.9603 MB / 431.8 MB, free: 15.05 MB / 350.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.004157/0.3907, allocations: 1.262 MB / 433.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009535/0.3916, allocations: 336.1 kB / 433.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3917, allocations: 0 / 433.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.3921, allocations: 179.7 kB / 433.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000713/0.3929, allocations: 108.1 kB / 433.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.3942, allocations: 0.6131 MB / 434.3 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3945, allocations: 0.7452 MB / 435 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003356/0.3949, allocations: 86.22 kB / 435.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.395, allocations: 35.42 kB / 435.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.395, allocations: 0 / 435.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of Templates: time 0.04115/0.4362, allocations: 29.86 MB / 465 MB, free: 13.78 MB / 382.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches