Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008797/0.0008858, allocations: 94.47 kB / 17.35 MB, free: 6.344 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.001284/0.001285, allocations: 171.4 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 44.24 MB / 337.7 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 8 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 61.93 MB / 472.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5822/0.7338, allocations: 145.6 MB / 0.6034 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003057/0.7369, allocations: 2.223 MB / 0.6055 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.797e-05/0.737, allocations: 0 / 0.6055 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003947/0.7374, allocations: 55.72 kB / 0.6056 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.739, allocations: 0.5719 MB / 0.6061 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.7393, allocations: 95.75 kB / 0.6062 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.7398, allocations: 374.8 kB / 0.6066 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.576e-05/0.7398, allocations: 4 kB / 0.6066 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003102/0.7402, allocations: 129.5 kB / 0.6067 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.7404, allocations: 99.69 kB / 0.6068 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.7404, allocations: 4 kB / 0.6068 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.7425, allocations: 1.224 MB / 0.608 GB, free: 12.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.7427, allocations: 79.77 kB / 0.6081 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.7428, allocations: 125.3 kB / 0.6082 GB, free: 12.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.7439, allocations: 0.7636 MB / 0.6089 GB, free: 11.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.7439, allocations: 0 / 0.6089 GB, free: 11.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.7439, allocations: 0 / 0.6089 GB, free: 11.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.7439, allocations: 0 / 0.6089 GB, free: 11.43 MB / 446.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.0007535/0.7447, allocations: 468 kB / 0.6094 GB, free: 10.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.7447, allocations: 12.02 kB / 0.6094 GB, free: 10.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007293/0.752, allocations: 0.7306 MB / 0.6101 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.7526, allocations: 280.2 kB / 0.6104 GB, free: 9.871 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.7526, allocations: 20.2 kB / 0.6104 GB, free: 9.855 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.7528, allocations: 23.98 kB / 0.6104 GB, free: 9.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.7543, allocations: 0.6956 MB / 0.6111 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.7543, allocations: 0 / 0.6111 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/0.7544, allocations: 12 kB / 0.6111 GB, free: 9.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.7545, allocations: 11.98 kB / 0.6111 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.7565, allocations: 0.9056 MB / 0.612 GB, free: 8.195 MB / 446.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.005137/0.7616, allocations: 1.994 MB / 0.614 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.7629, allocations: 0.5125 MB / 0.6145 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006632/0.7635, allocations: 321.5 kB / 0.6148 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009287/0.7645, allocations: 375.2 kB / 0.6151 GB, free: 4.742 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.827e-05/0.7645, allocations: 42.48 kB / 0.6152 GB, free: 4.691 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 4.669e-06/0.7646, allocations: 0 / 0.6152 GB, free: 4.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002305/0.7669, allocations: 0.8863 MB / 0.616 GB, free: 3.801 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.7669, allocations: 85.05 kB / 0.6161 GB, free: 3.699 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.7671, allocations: 131.4 kB / 0.6162 GB, free: 3.562 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.365e-05/0.7672, allocations: 29.7 kB / 0.6163 GB, free: 3.527 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.393e-05/0.7673, allocations: 120.4 kB / 0.6164 GB, free: 3.406 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.7674, allocations: 98.55 kB / 0.6165 GB, free: 3.309 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.194e-05/0.7675, allocations: 33.7 kB / 0.6165 GB, free: 3.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.7676, allocations: 334.8 kB / 0.6168 GB, free: 2.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006669/0.7683, allocations: 299.8 kB / 0.6171 GB, free: 2.641 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/0.7691, allocations: 401.3 kB / 0.6175 GB, free: 2.203 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.7705, allocations: 0.6984 MB / 0.6182 GB, free: 1.461 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7705, allocations: 3.938 kB / 0.6182 GB, free: 1.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001705/0.7722, allocations: 0.7517 MB / 0.6189 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.7722, allocations: 8 kB / 0.6189 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.7723, allocations: 4 kB / 0.6189 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.7723, allocations: 4 kB / 0.6189 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.7734, allocations: 95.84 kB / 0.619 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.7734, allocations: 4 kB / 0.619 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009182/0.7743, allocations: 59.72 kB / 0.6191 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-05/0.7744, allocations: 19.98 kB / 0.6191 GB, free: 0.5078 MB / 446.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.0002669/0.7747, allocations: 153.6 kB / 0.6192 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.7749, allocations: 19.8 kB / 0.6193 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/0.7769, allocations: 0.7779 MB / 0.62 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.777, allocations: 4 kB / 0.62 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.777, allocations: 0 / 0.62 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.777, allocations: 4 kB / 0.62 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.7782, allocations: 0.8017 MB / 0.6208 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.7782, allocations: 0 / 0.6208 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.7793, allocations: 75.86 kB / 0.6209 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.7793, allocations: 7.984 kB / 0.6209 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.41e-05/0.7794, allocations: 11.98 kB / 0.6209 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.7794, allocations: 4 kB / 0.6209 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.7794, allocations: 2.062 kB / 0.6209 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.7818, allocations: 0.9573 MB / 0.6218 GB, free: 13.56 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.7819, allocations: 96.8 kB / 0.6219 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.521e-05/0.782, allocations: 15.92 kB / 0.622 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.783, allocations: 39.95 kB / 0.622 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.387e-05/0.7831, allocations: 11.98 kB / 0.622 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.989e-05/0.7832, allocations: 23.97 kB / 0.622 GB, free: 13.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.7833, allocations: 99.27 kB / 0.6221 GB, free: 13.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.7833, allocations: 0 / 0.6221 GB, free: 13.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001153/0.7845, allocations: 183.8 kB / 0.6223 GB, free: 13.08 MB / 462.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.001164/0.7857, allocations: 352.3 kB / 0.6226 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.7874, allocations: 0.648 MB / 0.6233 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7875, allocations: 7.875 kB / 0.6233 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007542/0.7882, allocations: 332.5 kB / 0.6236 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008398/0.7891, allocations: 92.61 kB / 0.6237 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.7911, allocations: 1.146 MB / 0.6248 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/0.7917, allocations: 0.7408 MB / 0.6255 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001357/0.793, allocations: 177.7 kB / 0.6257 GB, free: 9.535 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/0.7934, allocations: 39.41 kB / 0.6257 GB, free: 9.496 MB / 462.1 MB Notification: Performance of SimCode: time 2.385e-06/0.7934, allocations: 0 / 0.6257 GB, free: 9.496 MB / 462.1 MB Notification: Performance of Templates: time 0.02063/0.814, allocations: 10.09 MB / 0.6356 GB, free: 15.41 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches