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.002475/0.00248, allocations: 186.5 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 94.86 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2853/0.2853, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000608/0.000608, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1184, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5296/0.6481, allocations: 125.8 MB / 0.6016 GB, free: 12.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.6515, allocations: 1.72 MB / 0.6033 GB, free: 11.27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.6517, allocations: 3.938 kB / 0.6033 GB, free: 11.27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003155/0.652, allocations: 43.8 kB / 0.6033 GB, free: 11.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.6539, allocations: 438.7 kB / 0.6037 GB, free: 10.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.6544, allocations: 75.88 kB / 0.6038 GB, free: 10.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.6548, allocations: 155.7 kB / 0.6039 GB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.37e-05/0.6548, allocations: 4 kB / 0.6039 GB, free: 10.56 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005496/0.6554, allocations: 179.5 kB / 0.6041 GB, free: 10.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.6556, allocations: 67.8 kB / 0.6042 GB, free: 10.32 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.6557, allocations: 8 kB / 0.6042 GB, free: 10.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.6583, allocations: 0.7139 MB / 0.6049 GB, free: 9.598 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001688/0.6585, allocations: 71.78 kB / 0.605 GB, free: 9.527 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.6586, allocations: 65.62 kB / 0.605 GB, free: 9.457 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.66, allocations: 444.9 kB / 0.6054 GB, free: 9.023 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6601, allocations: 0 / 0.6054 GB, free: 9.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6601, allocations: 0 / 0.6054 GB, free: 9.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.6601, allocations: 0 / 0.6054 GB, free: 9.023 MB / 410.7 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.0009921/0.6611, allocations: 463.2 kB / 0.6059 GB, free: 8.523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.6612, allocations: 12.03 kB / 0.6059 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/0.6643, allocations: 267.4 kB / 0.6062 GB, free: 8.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.6648, allocations: 242.8 kB / 0.6064 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.6649, allocations: 16.27 kB / 0.6064 GB, free: 7.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.665, allocations: 19.91 kB / 0.6064 GB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.6663, allocations: 0.5044 MB / 0.6069 GB, free: 7.426 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.6663, allocations: 4 kB / 0.6069 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.763e-05/0.6664, allocations: 4 kB / 0.6069 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.614e-05/0.6665, allocations: 8 kB / 0.6069 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.668, allocations: 0.5855 MB / 0.6075 GB, free: 6.824 MB / 410.7 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.003826/0.6718, allocations: 1 MB / 0.6085 GB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/0.6725, allocations: 241 kB / 0.6087 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.6738, allocations: 266.1 kB / 0.609 GB, free: 5.219 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.6738, allocations: 38.89 kB / 0.609 GB, free: 5.172 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 3.597e-06/0.6738, allocations: 4 kB / 0.609 GB, free: 5.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.003617/0.6775, allocations: 0.6021 MB / 0.6096 GB, free: 4.562 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.196e-05/0.6776, allocations: 85.05 kB / 0.6097 GB, free: 4.461 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.6778, allocations: 125.8 kB / 0.6098 GB, free: 4.328 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.6779, allocations: 33.7 kB / 0.6098 GB, free: 4.289 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.6781, allocations: 186.9 kB / 0.61 GB, free: 4.105 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.6783, allocations: 106.5 kB / 0.6101 GB, free: 4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.6783, allocations: 4 kB / 0.6101 GB, free: 3.996 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6785, allocations: 326.8 kB / 0.6104 GB, free: 3.668 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/0.6791, allocations: 183.9 kB / 0.6106 GB, free: 3.488 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006735/0.6798, allocations: 284.5 kB / 0.6109 GB, free: 3.164 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.6805, allocations: 219.8 kB / 0.6111 GB, free: 2.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.6805, allocations: 0 / 0.6111 GB, free: 2.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001678/0.6822, allocations: 0.5129 MB / 0.6116 GB, free: 2.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.6823, allocations: 8 kB / 0.6116 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.6823, allocations: 3.953 kB / 0.6116 GB, free: 2.418 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.6824, allocations: 8 kB / 0.6116 GB, free: 2.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.6834, allocations: 79.89 kB / 0.6117 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.6834, allocations: 11.92 kB / 0.6117 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007909/0.6842, allocations: 43.92 kB / 0.6117 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.699e-05/0.6843, allocations: 20 kB / 0.6117 GB, free: 2.258 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002818/0.6846, allocations: 157.1 kB / 0.6119 GB, free: 2.098 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.6848, allocations: 19.81 kB / 0.6119 GB, free: 2.078 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.6865, allocations: 491.1 kB / 0.6124 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.6866, allocations: 7.938 kB / 0.6124 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.6866, allocations: 0 / 0.6124 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.6866, allocations: 11.94 kB / 0.6124 GB, free: 1.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.688, allocations: 449.9 kB / 0.6128 GB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.688, allocations: 3.984 kB / 0.6128 GB, free: 1.082 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.689, allocations: 59.91 kB / 0.6129 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.689, allocations: 0 / 0.6129 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.557e-05/0.6891, allocations: 11.98 kB / 0.6129 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/0.6891, allocations: 3.953 kB / 0.6129 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.6892, allocations: 4 kB / 0.6129 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/0.6911, allocations: 0.7029 MB / 0.6136 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.6912, allocations: 92.94 kB / 0.6137 GB, free: 176 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.6913, allocations: 11.95 kB / 0.6137 GB, free: 164 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009166/0.6923, allocations: 23.97 kB / 0.6137 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.6924, allocations: 15.98 kB / 0.6137 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.16e-05/0.6925, allocations: 19.98 kB / 0.6137 GB, free: 104 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001103/0.6926, allocations: 101.5 kB / 0.6138 GB, free: 4 kB / 410.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6926, allocations: 0 / 0.6138 GB, free: 4 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.000959/0.6936, allocations: 160.1 kB / 0.614 GB, free: 15.84 MB / 426.7 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 (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.001202/0.6948, allocations: 290.8 kB / 0.6143 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.6962, allocations: 431.6 kB / 0.6147 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6963, allocations: 0 / 0.6147 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006455/0.6969, allocations: 220.6 kB / 0.6149 GB, free: 14.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.698, allocations: 90.75 kB / 0.615 GB, free: 14.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002469/0.7005, allocations: 1.091 MB / 0.616 GB, free: 13.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.701, allocations: 0.7447 MB / 0.6168 GB, free: 12.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/0.7014, allocations: 31.42 kB / 0.6168 GB, free: 12.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7014, allocations: 4 kB / 0.6168 GB, free: 12.9 MB / 426.7 MB Notification: Performance of Templates: time 0.01692/0.7183, allocations: 6.618 MB / 0.6233 GB, free: 6.289 MB / 426.7 MB 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