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.0007721/0.0007722, allocations: 95.19 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008791/0.0008791, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002125/0.0002124, allocations: 8 kB / 307.7 MB, free: 0.7891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08225/0.08248, allocations: 51.51 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1857/0.2682, allocations: 27.69 MB / 387 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002559/0.2708, allocations: 2.326 MB / 389.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.271, allocations: 1.188 kB / 389.3 MB, free: 5.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.2713, allocations: 61.75 kB / 389.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.2717, allocations: 156.6 kB / 389.5 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.2865, allocations: 5.375 MB / 394.9 MB, free: 2.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005413/0.2871, allocations: 496.1 kB / 395.4 MB, free: 2.586 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.2871, allocations: 11.92 kB / 395.4 MB, free: 2.578 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.2874, allocations: 129.4 kB / 395.5 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.2876, allocations: 137.9 kB / 395.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.2876, allocations: 7.5 kB / 395.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01671/0.3044, allocations: 9.611 MB / 405.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.3045, allocations: 59.8 kB / 405.3 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.3047, allocations: 125.3 kB / 405.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009603/0.3143, allocations: 4.787 MB / 410.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3143, allocations: 0 / 410.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3143, allocations: 0 / 410.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3144, allocations: 0 / 410.2 MB, free: 8.422 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.003004/0.3174, allocations: 1.107 MB / 411.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3174, allocations: 16.03 kB / 411.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.3176, allocations: 24.73 kB / 411.4 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.3178, allocations: 219.5 kB / 411.6 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3178, allocations: 12.33 kB / 411.6 MB, free: 6.961 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.3179, allocations: 27.83 kB / 411.6 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/0.3186, allocations: 285.4 kB / 411.9 MB, free: 6.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3186, allocations: 4 kB / 411.9 MB, free: 6.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.234e-05/0.3187, allocations: 8 kB / 411.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.3187, allocations: 7.938 kB / 411.9 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.3194, allocations: 307.8 kB / 412.2 MB, free: 6.324 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.001376/0.3208, allocations: 0.8366 MB / 413 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006945/0.3215, allocations: 261.1 kB / 413.3 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003049/0.3219, allocations: 133.3 kB / 413.4 MB, free: 5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/0.3365, allocations: 12.91 MB / 426.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.3365, allocations: 38.98 kB / 426.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/0.3365, allocations: 0 / 426.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002758/0.3393, allocations: 0.7057 MB / 427.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3393, allocations: 81.11 kB / 427.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3395, allocations: 141.6 kB / 427.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3395, allocations: 29.7 kB / 427.3 MB, free: 4.539 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.3396, allocations: 112.8 kB / 427.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.533e-05/0.3397, allocations: 126.2 kB / 427.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.083e-05/0.3397, allocations: 37.7 kB / 427.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.3399, allocations: 338.8 kB / 427.9 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.3402, allocations: 131.9 kB / 428.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.3407, allocations: 211.6 kB / 428.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009427/0.3417, allocations: 355.5 kB / 428.6 MB, free: 3.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3417, allocations: 4 kB / 428.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001171/0.3429, allocations: 420.2 kB / 429 MB, free: 2.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3429, allocations: 8.031 kB / 429 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3429, allocations: 4 kB / 429 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3429, allocations: 7.938 kB / 429 MB, free: 2.742 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.3434, allocations: 91.81 kB / 429.1 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.3434, allocations: 7.938 kB / 429.1 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.3437, allocations: 31.81 kB / 429.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.3438, allocations: 27.98 kB / 429.2 MB, free: 2.586 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.0001375/0.3439, allocations: 138.9 kB / 429.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.3441, allocations: 19.81 kB / 429.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.3445, allocations: 198.5 kB / 429.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3446, allocations: 4 kB / 429.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3446, allocations: 5.688 kB / 429.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3446, allocations: 3.984 kB / 429.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.3462, allocations: 0.7753 MB / 430.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3463, allocations: 4.156 kB / 430.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.3467, allocations: 79.88 kB / 430.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3467, allocations: 4 kB / 430.4 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/0.3468, allocations: 12 kB / 430.4 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.3468, allocations: 3.984 kB / 430.4 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.3468, allocations: 4 kB / 430.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.3483, allocations: 0.7141 MB / 431.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3484, allocations: 128.8 kB / 431.3 MB, free: 368 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.3484, allocations: 8 kB / 431.3 MB, free: 360 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003579/0.3488, allocations: 19.98 kB / 431.3 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.3488, allocations: 36.83 kB / 431.3 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.3489, allocations: 12 kB / 431.4 MB, free: 292 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.868e-05/0.349, allocations: 109.8 kB / 431.5 MB, free: 184 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.349, allocations: 0 / 431.5 MB, free: 184 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.00234/0.3513, allocations: 0.9526 MB / 432.4 MB, free: 15.23 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.003553/0.3549, allocations: 1.267 MB / 433.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.3559, allocations: 343.6 kB / 434 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3559, allocations: 0 / 434 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.3564, allocations: 180.4 kB / 434.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007682/0.3572, allocations: 99.91 kB / 434.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.3585, allocations: 0.7474 MB / 435 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3589, allocations: 0.7455 MB / 435.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003942/0.3593, allocations: 90.16 kB / 435.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.3594, allocations: 39.41 kB / 435.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3594, allocations: 3.938 kB / 435.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of Templates: time 0.04057/0.4, allocations: 29.65 MB / 465.6 MB, free: 14.03 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 -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