Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002079/0.002079, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 92.69 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.347/0.347, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.109e-05/2.139e-05, allocations: 4.203 kB / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4025, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.365/2.768, allocations: 0.7635 GB / 1.229 GB, free: 140.7 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/2.768, allocations: 74.27 kB / 1.229 GB, free: 140.7 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.2046/2.973, allocations: 60.96 MB / 1.289 GB, free: 106.9 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.784e-06/2.973, allocations: 4 kB / 1.289 GB, free: 106.9 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.204e-05/2.973, allocations: 0 / 1.289 GB, free: 106.9 MB / 0.4952 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.00076/2.973, allocations: 474.5 kB / 1.289 GB, free: 106.4 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/2.974, allocations: 12.03 kB / 1.289 GB, free: 106.4 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009482/2.983, allocations: 0.698 MB / 1.29 GB, free: 105.7 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006797/2.984, allocations: 274.8 kB / 1.29 GB, free: 105.4 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/2.984, allocations: 4 kB / 1.29 GB, free: 105.3 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/2.984, allocations: 19.95 kB / 1.29 GB, free: 105.3 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001673/2.986, allocations: 0.6445 MB / 1.291 GB, free: 104.7 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/2.987, allocations: 404.5 kB / 1.291 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/2.987, allocations: 3.938 kB / 1.291 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.496e-05/2.987, allocations: 0 / 1.291 GB, free: 104.3 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/2.987, allocations: 8 kB / 1.291 GB, free: 104.3 MB / 0.4952 GB Warning: The model contains alias variables with conflicting start and/or 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.004908/2.992, allocations: 1.331 MB / 1.293 GB, free: 102.9 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007044/2.992, allocations: 321.2 kB / 1.293 GB, free: 102.6 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/2.993, allocations: 213.7 kB / 1.293 GB, free: 102.3 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008368/2.994, allocations: 258 kB / 1.294 GB, free: 102 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/2.994, allocations: 38.56 kB / 1.294 GB, free: 102 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=28): time 3.447e-06/2.994, allocations: 0 / 1.294 GB, free: 102 MB / 0.4952 GB Notification: Performance of matching and sorting (n=28): time 0.001356/2.995, allocations: 433.9 kB / 1.294 GB, free: 101.6 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/2.995, allocations: 89.09 kB / 1.294 GB, free: 101.5 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/2.995, allocations: 124.9 kB / 1.294 GB, free: 101.3 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 7.395e-05/2.995, allocations: 25.7 kB / 1.294 GB, free: 101.3 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/2.995, allocations: 182.9 kB / 1.294 GB, free: 101.1 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/2.996, allocations: 102.5 kB / 1.294 GB, free: 101 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/2.996, allocations: 4 kB / 1.294 GB, free: 101 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.756e-05/2.996, allocations: 322.8 kB / 1.295 GB, free: 100.7 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/2.996, allocations: 199.9 kB / 1.295 GB, free: 100.5 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/2.997, allocations: 300.6 kB / 1.295 GB, free: 100.2 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/2.997, allocations: 227.3 kB / 1.295 GB, free: 99.94 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/2.997, allocations: 0 / 1.295 GB, free: 99.94 MB / 0.4952 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001351/2.999, allocations: 0.5206 MB / 1.296 GB, free: 99.41 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/2.999, allocations: 8 kB / 1.296 GB, free: 99.41 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/2.999, allocations: 4 kB / 1.296 GB, free: 99.4 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/2.999, allocations: 4 kB / 1.296 GB, free: 99.4 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/3, allocations: 91.81 kB / 1.296 GB, free: 99.31 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/3, allocations: 7.938 kB / 1.296 GB, free: 99.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008482/3.001, allocations: 44.06 kB / 1.296 GB, free: 99.26 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/3.001, allocations: 20 kB / 1.296 GB, free: 99.24 MB / 0.4952 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00021/3.001, allocations: 112.9 kB / 1.296 GB, free: 99.12 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/3.001, allocations: 27.72 kB / 1.296 GB, free: 99.09 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/3.003, allocations: 0.5216 MB / 1.297 GB, free: 98.56 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/3.003, allocations: 0 / 1.297 GB, free: 98.56 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/3.003, allocations: 4 kB / 1.297 GB, free: 98.56 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/3.003, allocations: 3.984 kB / 1.297 GB, free: 98.55 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/3.004, allocations: 0.5112 MB / 1.297 GB, free: 98.01 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/3.004, allocations: 4 kB / 1.297 GB, free: 98.01 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/3.005, allocations: 63.89 kB / 1.297 GB, free: 97.95 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/3.005, allocations: 4 kB / 1.297 GB, free: 97.94 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.63e-05/3.006, allocations: 7.984 kB / 1.297 GB, free: 97.93 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/3.006, allocations: 8 kB / 1.297 GB, free: 97.93 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/3.006, allocations: 0 / 1.297 GB, free: 97.93 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/3.007, allocations: 0.738 MB / 1.298 GB, free: 97.17 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-05/3.007, allocations: 92.89 kB / 1.298 GB, free: 97.06 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/3.007, allocations: 4 kB / 1.298 GB, free: 97.05 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009322/3.008, allocations: 19.97 kB / 1.298 GB, free: 97.04 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/3.008, allocations: 19.97 kB / 1.298 GB, free: 97.02 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.054e-05/3.008, allocations: 19.98 kB / 1.298 GB, free: 97 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 8.369e-05/3.009, allocations: 99.27 kB / 1.298 GB, free: 96.9 MB / 0.4952 GB Notification: Performance of sort global known variables: time 1.283e-06/3.009, allocations: 0 / 1.298 GB, free: 96.9 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001143/3.01, allocations: 191.7 kB / 1.299 GB, free: 96.71 MB / 0.4952 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 () * 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 (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.00197/3.012, allocations: 0.8251 MB / 1.299 GB, free: 95.88 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001129/3.013, allocations: 475.6 kB / 1.3 GB, free: 95.41 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/3.013, allocations: 0 / 1.3 GB, free: 95.41 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0004751/3.013, allocations: 235.9 kB / 1.3 GB, free: 95.18 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/3.014, allocations: 80.66 kB / 1.3 GB, free: 95.1 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/3.016, allocations: 0.82 MB / 1.301 GB, free: 94.25 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/3.016, allocations: 0.7408 MB / 1.302 GB, free: 93.48 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004983/3.017, allocations: 39.41 kB / 1.302 GB, free: 93.45 MB / 0.4952 GB Notification: Performance of SimCode: time 9.82e-07/3.017, allocations: 0 / 1.302 GB, free: 93.45 MB / 0.4952 GB Notification: Performance of Templates: time 0.01942/3.036, allocations: 9.918 MB / 1.311 GB, free: 83.5 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches