Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 104 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.001081, allocations: 191.5 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 51.73 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09173, allocations: 49.45 MB / 350.7 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1873/0.2791, allocations: 26.42 MB / 377.2 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.2818, allocations: 2.234 MB / 379.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.915e-05/0.2819, allocations: 4.125 kB / 379.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003673/0.2823, allocations: 56.45 kB / 379.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.2827, allocations: 151.3 kB / 379.6 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02191/0.3046, allocations: 6.508 MB / 386.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005999/0.3052, allocations: 315.7 kB / 386.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.498e-05/0.3053, allocations: 8.406 kB / 386.4 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003208/0.3057, allocations: 138 kB / 386.6 MB, free: 8.309 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.3059, allocations: 115.4 kB / 386.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.306, allocations: 10.38 kB / 386.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0185/0.3245, allocations: 9.334 MB / 396 MB, free: 4.012 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.3247, allocations: 73.33 kB / 396.1 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.3249, allocations: 96.44 kB / 396.2 MB, free: 3.914 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01287/0.3378, allocations: 4.703 MB / 400.9 MB, free: 1.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.3378, allocations: 3.984 kB / 400.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3378, allocations: 0 / 400.9 MB, free: 1.336 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.3379, allocations: 0 / 400.9 MB, free: 1.336 MB / 302.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.003738/0.3416, allocations: 1.113 MB / 402 MB, free: 480 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3417, allocations: 8.031 kB / 402 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.3419, allocations: 24.92 kB / 402 MB, free: 448 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.3421, allocations: 218.7 kB / 402.2 MB, free: 188 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.3421, allocations: 12.33 kB / 402.3 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.3422, allocations: 16 kB / 402.3 MB, free: 160 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.3429, allocations: 293.3 kB / 402.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3429, allocations: 0 / 402.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.343, allocations: 9.125 kB / 402.6 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.343, allocations: 4 kB / 402.6 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/0.3438, allocations: 311.8 kB / 402.9 MB, free: 15.54 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.001505/0.3453, allocations: 0.829 MB / 403.7 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007666/0.3461, allocations: 246.2 kB / 403.9 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.3465, allocations: 141.1 kB / 404.1 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01618/0.3627, allocations: 12.85 MB / 416.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.208e-05/0.3628, allocations: 43.44 kB / 417 MB, free: 14.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.885e-06/0.3628, allocations: 0 / 417 MB, free: 14.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.003066/0.3658, allocations: 0.6868 MB / 417.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.3659, allocations: 85.05 kB / 417.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.366, allocations: 133.8 kB / 417.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.3661, allocations: 29.7 kB / 417.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.855e-05/0.3662, allocations: 108.8 kB / 418 MB, free: 13.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.3663, allocations: 120.6 kB / 418.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.3664, allocations: 73.67 kB / 418.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3665, allocations: 322.8 kB / 418.5 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.367, allocations: 143.8 kB / 418.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.3675, allocations: 207.5 kB / 418.8 MB, free: 12.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009681/0.3685, allocations: 359.5 kB / 419.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3685, allocations: 4 kB / 419.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001255/0.3697, allocations: 418.8 kB / 419.6 MB, free: 12.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3698, allocations: 4 kB / 419.6 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3698, allocations: 7.984 kB / 419.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.72e-05/0.3698, allocations: 4.875 kB / 419.6 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004933/0.3703, allocations: 88.09 kB / 419.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3704, allocations: 4 kB / 419.7 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.3707, allocations: 35.77 kB / 419.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.3708, allocations: 19.92 kB / 419.8 MB, free: 11.93 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.0001692/0.3709, allocations: 141.8 kB / 419.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.3711, allocations: 23.75 kB / 419.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005143/0.3716, allocations: 186.8 kB / 420.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3716, allocations: 4 kB / 420.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.3716, allocations: 7.812 kB / 420.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3717, allocations: 0 / 420.1 MB, free: 11.56 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.3734, allocations: 0.7624 MB / 420.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.3734, allocations: 3.938 kB / 420.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.3739, allocations: 83.88 kB / 421 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.3739, allocations: 0 / 421 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.3739, allocations: 15.98 kB / 421 MB, free: 10.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3739, allocations: 8.156 kB / 421 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3739, allocations: 3.984 kB / 421 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.3755, allocations: 0.7094 MB / 421.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.3756, allocations: 125 kB / 421.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.3757, allocations: 8 kB / 421.8 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.376, allocations: 19.98 kB / 421.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.3761, allocations: 27.84 kB / 421.9 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.3761, allocations: 19.98 kB / 421.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.488e-05/0.3762, allocations: 99.64 kB / 422 MB, free: 9.566 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3762, allocations: 0 / 422 MB, free: 9.566 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002951/0.3792, allocations: 0.9448 MB / 423 MB, free: 8.621 MB / 334.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.005145/0.3843, allocations: 1.249 MB / 424.2 MB, free: 7.469 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.3856, allocations: 355.9 kB / 424.5 MB, free: 7.121 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3856, allocations: 448 / 424.6 MB, free: 7.121 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005208/0.3861, allocations: 183.7 kB / 424.7 MB, free: 6.941 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.3869, allocations: 93.28 kB / 424.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.3884, allocations: 0.6436 MB / 425.5 MB, free: 6.164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.3888, allocations: 0.7332 MB / 426.2 MB, free: 5.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.389, allocations: 47.41 kB / 426.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.389, allocations: 0 / 426.2 MB, free: 5.355 MB / 334.1 MB Notification: Performance of Templates: time 0.03007/0.419, allocations: 19.74 MB / 446 MB, free: 1.598 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches