Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001281/0.001281, allocations: 94.86 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001725/0.001725, allocations: 201.2 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2438/0.2438, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003843, allocations: 4 kB / 419.5 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 63.56 MB / 483.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4278/0.5786, allocations: 148.5 MB / 0.6167 GB, free: 212 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00263/0.5813, allocations: 2.217 MB / 0.6189 GB, free: 14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.5813, allocations: 0 / 0.6189 GB, free: 14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.5817, allocations: 55.41 kB / 0.619 GB, free: 13.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.5829, allocations: 0.5835 MB / 0.6195 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.5832, allocations: 95.75 kB / 0.6196 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000403/0.5836, allocations: 366.9 kB / 0.62 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.5837, allocations: 12.52 kB / 0.62 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.584, allocations: 141.4 kB / 0.6201 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.5842, allocations: 95.7 kB / 0.6202 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.5842, allocations: 4 kB / 0.6202 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/0.5861, allocations: 1.236 MB / 0.6214 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.5862, allocations: 71.78 kB / 0.6215 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.5863, allocations: 121.3 kB / 0.6216 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.5874, allocations: 0.7714 MB / 0.6224 GB, free: 10.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5874, allocations: 0 / 0.6224 GB, free: 10.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5874, allocations: 0 / 0.6224 GB, free: 10.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.5874, allocations: 0 / 0.6224 GB, free: 10.46 MB / 462.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.0006508/0.588, allocations: 467.4 kB / 0.6228 GB, free: 9.953 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.5881, allocations: 16.81 kB / 0.6228 GB, free: 9.938 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007376/0.5955, allocations: 0.7272 MB / 0.6235 GB, free: 9.211 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004371/0.5959, allocations: 280.2 kB / 0.6238 GB, free: 8.898 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.596, allocations: 20.27 kB / 0.6238 GB, free: 8.879 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.5961, allocations: 16 kB / 0.6238 GB, free: 8.863 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.5976, allocations: 0.7006 MB / 0.6245 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.5976, allocations: 0 / 0.6245 GB, free: 8.152 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/0.5977, allocations: 8 kB / 0.6245 GB, free: 8.145 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.5977, allocations: 11.98 kB / 0.6245 GB, free: 8.133 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.5998, allocations: 0.9095 MB / 0.6254 GB, free: 7.223 MB / 462.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.005045/0.6048, allocations: 2.004 MB / 0.6274 GB, free: 5.035 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.6061, allocations: 0.5086 MB / 0.6279 GB, free: 4.508 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006926/0.6068, allocations: 325.5 kB / 0.6282 GB, free: 4.184 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008803/0.6077, allocations: 371.2 kB / 0.6285 GB, free: 3.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.6077, allocations: 34.56 kB / 0.6286 GB, free: 3.723 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.6077, allocations: 7.938 kB / 0.6286 GB, free: 3.715 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002276/0.61, allocations: 0.8844 MB / 0.6294 GB, free: 2.824 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.6101, allocations: 85.05 kB / 0.6295 GB, free: 2.723 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.6102, allocations: 125.8 kB / 0.6296 GB, free: 2.59 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.221e-05/0.6103, allocations: 29.7 kB / 0.6297 GB, free: 2.555 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.279e-05/0.6103, allocations: 120.3 kB / 0.6298 GB, free: 2.434 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.6105, allocations: 106.5 kB / 0.6299 GB, free: 2.328 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.843e-05/0.6106, allocations: 29.72 kB / 0.6299 GB, free: 2.293 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.6107, allocations: 326.8 kB / 0.6302 GB, free: 1.965 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006609/0.6113, allocations: 299.8 kB / 0.6305 GB, free: 1.672 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/0.6121, allocations: 400.5 kB / 0.6309 GB, free: 1.234 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.6135, allocations: 0.7016 MB / 0.6316 GB, free: 500 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6135, allocations: 0 / 0.6316 GB, free: 500 kB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00171/0.6153, allocations: 0.7472 MB / 0.6323 GB, free: 15.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.6153, allocations: 4 kB / 0.6323 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6153, allocations: 4 kB / 0.6323 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.6153, allocations: 8.875 kB / 0.6323 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.6165, allocations: 99.84 kB / 0.6324 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.6165, allocations: 4 kB / 0.6324 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009262/0.6174, allocations: 67.73 kB / 0.6325 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.331e-05/0.6175, allocations: 23.98 kB / 0.6325 GB, free: 15.53 MB / 478.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.0002302/0.6177, allocations: 149.6 kB / 0.6327 GB, free: 15.37 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.6179, allocations: 19.81 kB / 0.6327 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.62, allocations: 0.7789 MB / 0.6334 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.62, allocations: 4 kB / 0.6334 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.62, allocations: 0 / 0.6334 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.62, allocations: 0 / 0.6334 GB, free: 14.57 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.621, allocations: 0.7982 MB / 0.6342 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.6211, allocations: 4 kB / 0.6342 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.6222, allocations: 79.86 kB / 0.6343 GB, free: 13.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.6222, allocations: 4 kB / 0.6343 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.065e-05/0.6222, allocations: 11.98 kB / 0.6343 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.6222, allocations: 4 kB / 0.6343 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6223, allocations: 0 / 0.6343 GB, free: 13.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.6245, allocations: 0.959 MB / 0.6353 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.6245, allocations: 96.86 kB / 0.6354 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.6246, allocations: 8 kB / 0.6354 GB, free: 12.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.6257, allocations: 35.95 kB / 0.6354 GB, free: 12.44 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.6257, allocations: 23.91 kB / 0.6354 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-05/0.6258, allocations: 15.98 kB / 0.6354 GB, free: 12.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.376e-05/0.6259, allocations: 110.2 kB / 0.6355 GB, free: 12.29 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6259, allocations: 0 / 0.6355 GB, free: 12.29 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007631/0.6267, allocations: 192 kB / 0.6357 GB, free: 12.11 MB / 478.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.001038/0.6277, allocations: 342.9 kB / 0.636 GB, free: 11.76 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.6292, allocations: 0.6595 MB / 0.6367 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6292, allocations: 0.8125 kB / 0.6367 GB, free: 11.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007027/0.6299, allocations: 327.7 kB / 0.637 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/0.6307, allocations: 91.84 kB / 0.6371 GB, free: 10.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.6326, allocations: 1.145 MB / 0.6382 GB, free: 9.516 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.6329, allocations: 0.7406 MB / 0.6389 GB, free: 8.746 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001295/0.6342, allocations: 185.7 kB / 0.6391 GB, free: 8.562 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.6345, allocations: 39.41 kB / 0.6391 GB, free: 8.527 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.6345, allocations: 0 / 0.6391 GB, free: 8.527 MB / 478.1 MB Notification: Performance of Templates: time 0.01579/0.6503, allocations: 10.09 MB / 0.649 GB, free: 14.44 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches