Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 107.3 kB / 18.35 MB, free: 4.762 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.001211/0.001211, allocations: 192 kB / 19.29 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002142, allocations: 55.92 kB / 282.1 MB, free: 2.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09437, allocations: 46.62 MB / 328.7 MB, free: 3.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2768/0.3712, allocations: 151 MB / 479.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.3735, allocations: 2.091 MB / 481.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.3735, allocations: 3.938 kB / 481.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002981/0.3739, allocations: 51.72 kB / 481.8 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.3751, allocations: 0.6144 MB / 482.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.3754, allocations: 103.7 kB / 482.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002901/0.3757, allocations: 259 kB / 482.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.3757, allocations: 7.984 kB / 482.8 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.376, allocations: 136.9 kB / 483 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.3761, allocations: 95.64 kB / 483 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.453e-05/0.3762, allocations: 8 kB / 483.1 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.3775, allocations: 0.8262 MB / 483.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.3776, allocations: 79.77 kB / 484 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.3777, allocations: 95.59 kB / 484.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008471/0.3786, allocations: 0.6468 MB / 484.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3786, allocations: 9.344 kB / 484.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3786, allocations: 0 / 484.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.3786, allocations: 0 / 484.7 MB, free: 10.71 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006977/0.3793, allocations: 0.496 MB / 485.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.3794, allocations: 11.89 kB / 485.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.3813, allocations: 268.4 kB / 485.5 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.3818, allocations: 276.1 kB / 485.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3818, allocations: 8.891 kB / 485.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.3819, allocations: 19.94 kB / 485.8 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007356/0.3826, allocations: 0.5122 MB / 486.3 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.3826, allocations: 0 / 486.3 MB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.3827, allocations: 4 kB / 486.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.3827, allocations: 8.5 kB / 486.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008389/0.3836, allocations: 0.5894 MB / 486.9 MB, free: 8.434 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.002189/0.3858, allocations: 1.015 MB / 487.9 MB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.3861, allocations: 248.9 kB / 488.1 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.3864, allocations: 181.6 kB / 488.3 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007741/0.3872, allocations: 282 kB / 488.6 MB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3872, allocations: 38.56 kB / 488.6 MB, free: 6.559 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.3872, allocations: 0 / 488.6 MB, free: 6.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001819/0.389, allocations: 0.5956 MB / 489.2 MB, free: 5.957 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.3891, allocations: 85.11 kB / 489.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3892, allocations: 125.8 kB / 489.4 MB, free: 5.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.3893, allocations: 29.7 kB / 489.5 MB, free: 5.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.3893, allocations: 116.3 kB / 489.6 MB, free: 5.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.55e-05/0.3894, allocations: 106.5 kB / 489.7 MB, free: 5.465 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.3895, allocations: 73.53 kB / 489.8 MB, free: 5.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3897, allocations: 326.8 kB / 490.1 MB, free: 5.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.39, allocations: 183.9 kB / 490.3 MB, free: 4.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.3904, allocations: 288.5 kB / 490.5 MB, free: 4.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/0.3911, allocations: 0.491 MB / 491 MB, free: 4.016 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.3911, allocations: 0 / 491 MB, free: 4.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009091/0.392, allocations: 0.5165 MB / 491.5 MB, free: 3.492 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.392, allocations: 7.984 kB / 491.6 MB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.392, allocations: 4 kB / 491.6 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.3921, allocations: 9.281 kB / 491.6 MB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005015/0.3926, allocations: 87.83 kB / 491.7 MB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3926, allocations: 4 kB / 491.7 MB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000351/0.393, allocations: 31.77 kB / 491.7 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.393, allocations: 20 kB / 491.7 MB, free: 3.332 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * 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.0001416/0.3932, allocations: 145.7 kB / 491.8 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.3933, allocations: 23.75 kB / 491.9 MB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009071/0.3942, allocations: 486.5 kB / 492.3 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3942, allocations: 4 kB / 492.4 MB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3942, allocations: 8.625 kB / 492.4 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3942, allocations: 0 / 492.4 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006878/0.3949, allocations: 461.8 kB / 492.8 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3949, allocations: 3.938 kB / 492.8 MB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004862/0.3954, allocations: 56.77 kB / 492.9 MB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3955, allocations: 4 kB / 492.9 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.634e-05/0.3955, allocations: 11.98 kB / 492.9 MB, free: 2.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3955, allocations: 3.938 kB / 492.9 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3955, allocations: 0 / 492.9 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3965, allocations: 0.6833 MB / 493.6 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.3966, allocations: 88.95 kB / 493.7 MB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.3967, allocations: 13.06 kB / 493.7 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.3971, allocations: 31.95 kB / 493.7 MB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.3972, allocations: 15.97 kB / 493.7 MB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.3972, allocations: 19.98 kB / 493.7 MB, free: 1.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.145e-05/0.3973, allocations: 99.27 kB / 493.8 MB, free: 1.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3973, allocations: 0 / 493.8 MB, free: 1.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005681/0.3979, allocations: 163.8 kB / 494 MB, free: 0.9453 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.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 (28): * Single equations (assignments): 28 * 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.0007249/0.3986, allocations: 331 kB / 494.3 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007414/0.3994, allocations: 436.9 kB / 494.7 MB, free: 192 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3994, allocations: 8.125 kB / 494.8 MB, free: 184 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.3997, allocations: 216.1 kB / 495 MB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/0.4004, allocations: 100 kB / 495.1 MB, free: 15.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.4017, allocations: 0.8832 MB / 495.9 MB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.402, allocations: 0.7405 MB / 496.7 MB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004386/0.4024, allocations: 109.8 kB / 496.8 MB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.4026, allocations: 27.44 kB / 496.8 MB, free: 14.06 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4026, allocations: 0 / 496.8 MB, free: 14.06 MB / 398.1 MB Notification: Performance of Templates: time 0.01206/0.4147, allocations: 8.108 MB / 0.4931 GB, free: 5.949 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches