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.001087/0.001087, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001064/0.001064, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.273/1.273, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001202/0.001202, allocations: 47.94 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08243/0.08364, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2977/0.3814, allocations: 151 MB / 479.7 MB, free: 15.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.3837, allocations: 2.1 MB / 481.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.3837, allocations: 0 / 481.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.3841, allocations: 51.66 kB / 481.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.3854, allocations: 0.6183 MB / 482.4 MB, free: 12.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.3857, allocations: 103.7 kB / 482.5 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.386, allocations: 259 kB / 482.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.386, allocations: 4 kB / 482.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.3863, allocations: 144.8 kB / 482.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.3864, allocations: 87.7 kB / 483 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.3865, allocations: 8 kB / 483 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.3878, allocations: 0.83 MB / 483.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.393e-05/0.3879, allocations: 79.83 kB / 483.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.3881, allocations: 95.53 kB / 484 MB, free: 11.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007897/0.3889, allocations: 0.6468 MB / 484.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3889, allocations: 4 kB / 484.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3889, allocations: 0 / 484.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3889, allocations: 0 / 484.7 MB, free: 10.63 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.0006643/0.3896, allocations: 0.4998 MB / 485.2 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3896, allocations: 15.89 kB / 485.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00194/0.3916, allocations: 264.4 kB / 485.5 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.392, allocations: 272.1 kB / 485.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.3921, allocations: 17.75 kB / 485.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/0.3921, allocations: 19.94 kB / 485.8 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007173/0.3929, allocations: 0.5083 MB / 486.3 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3929, allocations: 0 / 486.3 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.3929, allocations: 8 kB / 486.3 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.393, allocations: 8.5 kB / 486.3 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000841/0.3938, allocations: 0.5861 MB / 486.9 MB, free: 8.352 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.002167/0.396, allocations: 1.011 MB / 487.9 MB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003648/0.3964, allocations: 247.5 kB / 488.1 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.3966, allocations: 177.6 kB / 488.3 MB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007588/0.3974, allocations: 290.1 kB / 488.6 MB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.3974, allocations: 38.56 kB / 488.6 MB, free: 6.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.3974, allocations: 0 / 488.6 MB, free: 6.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00183/0.3993, allocations: 0.596 MB / 489.2 MB, free: 5.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.3993, allocations: 85.11 kB / 489.3 MB, free: 5.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.3994, allocations: 125.8 kB / 489.4 MB, free: 5.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.3995, allocations: 33.7 kB / 489.5 MB, free: 5.605 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.3996, allocations: 112.3 kB / 489.6 MB, free: 5.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.283e-05/0.3996, allocations: 106.5 kB / 489.7 MB, free: 5.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3998, allocations: 69.59 kB / 489.7 MB, free: 5.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3999, allocations: 326.8 kB / 490.1 MB, free: 4.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.4002, allocations: 191.8 kB / 490.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.4006, allocations: 288.5 kB / 490.5 MB, free: 4.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007121/0.4013, allocations: 498.8 kB / 491 MB, free: 3.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4013, allocations: 3.938 kB / 491 MB, free: 3.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009071/0.4022, allocations: 0.5204 MB / 491.5 MB, free: 3.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.4023, allocations: 8 kB / 491.5 MB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4023, allocations: 4 kB / 491.6 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.4023, allocations: 4.406 kB / 491.6 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005071/0.4028, allocations: 83.89 kB / 491.6 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4028, allocations: 7.938 kB / 491.6 MB, free: 3.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.4032, allocations: 31.77 kB / 491.7 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.4033, allocations: 23.98 kB / 491.7 MB, free: 3.246 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.0001432/0.4034, allocations: 141.8 kB / 491.8 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.4035, allocations: 19.75 kB / 491.9 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009135/0.4045, allocations: 490.5 kB / 492.3 MB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.4045, allocations: 4 kB / 492.3 MB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4045, allocations: 0 / 492.3 MB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4045, allocations: 4 kB / 492.3 MB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006906/0.4052, allocations: 461.8 kB / 492.8 MB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4052, allocations: 10.62 kB / 492.8 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.4057, allocations: 59.89 kB / 492.9 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4057, allocations: 0 / 492.9 MB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.4058, allocations: 11.98 kB / 492.9 MB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4058, allocations: 4 kB / 492.9 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4058, allocations: 0 / 492.9 MB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.4068, allocations: 0.6872 MB / 493.6 MB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/0.4069, allocations: 92.95 kB / 493.7 MB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.407, allocations: 8 kB / 493.7 MB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/0.4074, allocations: 23.91 kB / 493.7 MB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.4075, allocations: 19.97 kB / 493.7 MB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.4076, allocations: 19.98 kB / 493.7 MB, free: 1.121 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.104e-05/0.4076, allocations: 102.2 kB / 493.8 MB, free: 1.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4076, allocations: 0 / 493.8 MB, free: 1.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006172/0.4083, allocations: 167.8 kB / 494 MB, free: 0.8594 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.0007219/0.409, allocations: 327 kB / 494.3 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007509/0.4097, allocations: 444.9 kB / 494.7 MB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4098, allocations: 4.062 kB / 494.8 MB, free: 96 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003483/0.4101, allocations: 208.2 kB / 495 MB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006765/0.4108, allocations: 98.38 kB / 495.1 MB, free: 15.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.4121, allocations: 0.8831 MB / 495.9 MB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.4124, allocations: 0.7405 MB / 496.7 MB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004407/0.4128, allocations: 109.8 kB / 496.8 MB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.413, allocations: 27.44 kB / 496.8 MB, free: 13.98 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.413, allocations: 0 / 496.8 MB, free: 13.98 MB / 398.1 MB Notification: Performance of Templates: time 0.01194/0.4249, allocations: 8.103 MB / 0.4931 GB, free: 5.879 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 gbode -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