Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Media.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="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.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="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002187/0.002186, allocations: 193.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 226.5 MB / 244.1 MB, free: 8.227 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000819/0.0008189, allocations: 106.9 kB / 296.1 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4576/0.4576, allocations: 44.82 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003596, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4887, allocations: 62.95 MB / 0.5165 GB, free: 37.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.704/2.193, allocations: 0.7335 GB / 1.25 GB, free: 82.62 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/2.193, allocations: 82.81 kB / 1.25 GB, free: 82.54 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1195/2.313, allocations: 63.6 MB / 1.312 GB, free: 17.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.018e-06/2.313, allocations: 4 kB / 1.312 GB, free: 17.97 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.192e-05/2.313, allocations: 0 / 1.312 GB, free: 17.97 MB / 0.5417 GB 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.0007792/2.314, allocations: 483.2 kB / 1.313 GB, free: 17.45 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/2.314, allocations: 8.031 kB / 1.313 GB, free: 17.44 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005213/2.319, allocations: 0.6989 MB / 1.313 GB, free: 16.74 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000447/2.319, allocations: 287.9 kB / 1.314 GB, free: 16.42 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/2.319, allocations: 12.7 kB / 1.314 GB, free: 16.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/2.319, allocations: 20.38 kB / 1.314 GB, free: 16.39 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/2.321, allocations: 0.6884 MB / 1.314 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/2.321, allocations: 4.188 kB / 1.314 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.423e-05/2.321, allocations: 7.938 kB / 1.314 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/2.321, allocations: 11.94 kB / 1.314 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/2.322, allocations: 0.7494 MB / 1.315 GB, free: 14.91 MB / 0.5417 GB 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.002386/2.325, allocations: 1.211 MB / 1.316 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006057/2.325, allocations: 320.9 kB / 1.317 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/2.326, allocations: 205.6 kB / 1.317 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000712/2.326, allocations: 375.3 kB / 1.317 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/2.326, allocations: 46.5 kB / 1.317 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=25): time 2.224e-06/2.326, allocations: 0 / 1.317 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=25): time 0.00123/2.328, allocations: 0.5405 MB / 1.318 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/2.328, allocations: 85.09 kB / 1.318 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/2.328, allocations: 127.5 kB / 1.318 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/2.328, allocations: 29.7 kB / 1.318 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/2.328, allocations: 124.2 kB / 1.318 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.776e-05/2.328, allocations: 90.64 kB / 1.318 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/2.328, allocations: 8 kB / 1.318 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/2.328, allocations: 326.8 kB / 1.318 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000332/2.328, allocations: 187.6 kB / 1.319 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003673/2.329, allocations: 285.1 kB / 1.319 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007074/2.33, allocations: 482.9 kB / 1.319 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/2.33, allocations: 4 kB / 1.319 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009057/2.331, allocations: 0.501 MB / 1.32 GB, free: 9.727 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/2.331, allocations: 7.938 kB / 1.32 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/2.331, allocations: 4 kB / 1.32 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/2.331, allocations: 4 kB / 1.32 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/2.331, allocations: 87.81 kB / 1.32 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/2.331, allocations: 4 kB / 1.32 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/2.331, allocations: 44.08 kB / 1.32 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/2.332, allocations: 19.98 kB / 1.32 GB, free: 9.559 MB / 0.5417 GB 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001515/2.332, allocations: 145.8 kB / 1.32 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/2.332, allocations: 15.84 kB / 1.32 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009887/2.333, allocations: 489.8 kB / 1.321 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/2.333, allocations: 0 / 1.321 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/2.333, allocations: 4 kB / 1.321 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/2.333, allocations: 3.984 kB / 1.321 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006802/2.334, allocations: 0.4948 MB / 1.321 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/2.334, allocations: 0 / 1.321 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/2.334, allocations: 63.89 kB / 1.321 GB, free: 8.297 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/2.334, allocations: 3.938 kB / 1.321 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/2.334, allocations: 11.98 kB / 1.321 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/2.334, allocations: 8 kB / 1.321 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.334, allocations: 0 / 1.321 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/2.335, allocations: 0.672 MB / 1.322 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.616e-05/2.335, allocations: 100.7 kB / 1.322 GB, free: 7.465 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/2.335, allocations: 8 kB / 1.322 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/2.336, allocations: 27.97 kB / 1.322 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/2.336, allocations: 11.98 kB / 1.322 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/2.336, allocations: 19.98 kB / 1.322 GB, free: 7.398 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.229e-05/2.336, allocations: 99.25 kB / 1.322 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/2.336, allocations: 0 / 1.322 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009437/2.337, allocations: 219.8 kB / 1.322 GB, free: 7.086 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001232/2.338, allocations: 0.738 MB / 1.323 GB, free: 6.348 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008264/2.339, allocations: 432.1 kB / 1.323 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/2.339, allocations: 0 / 1.323 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003348/2.339, allocations: 203.8 kB / 1.324 GB, free: 5.727 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006683/2.34, allocations: 92.66 kB / 1.324 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/2.341, allocations: 1.085 MB / 1.325 GB, free: 4.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/2.342, allocations: 0.7404 MB / 1.326 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/2.342, allocations: 39.41 kB / 1.326 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/2.342, allocations: 0 / 1.326 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of Templates: time 0.2678/2.61, allocations: 9.231 MB / 1.335 GB, free: 169.4 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches