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.001544/0.001544, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001962/0.001962, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2238/0.2238, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001662, allocations: 75.94 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.137, allocations: 62.45 MB / 480.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5195/0.6566, allocations: 152.6 MB / 0.6178 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.6599, allocations: 2.184 MB / 0.62 GB, free: 8.559 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.552e-05/0.66, allocations: 0 / 0.62 GB, free: 8.559 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005437/0.6606, allocations: 56.53 kB / 0.62 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.6625, allocations: 0.6303 MB / 0.6206 GB, free: 7.875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.6628, allocations: 109.8 kB / 0.6207 GB, free: 7.773 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003432/0.6632, allocations: 259 kB / 0.621 GB, free: 7.52 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.993e-05/0.6633, allocations: 16.5 kB / 0.621 GB, free: 7.504 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.6636, allocations: 141.4 kB / 0.6211 GB, free: 7.367 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.6638, allocations: 91.72 kB / 0.6212 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.6638, allocations: 8 kB / 0.6212 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.6657, allocations: 0.9354 MB / 0.6221 GB, free: 6.332 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.6658, allocations: 91.69 kB / 0.6222 GB, free: 6.242 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.666, allocations: 99.64 kB / 0.6223 GB, free: 6.145 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.667, allocations: 0.6781 MB / 0.623 GB, free: 5.465 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.667, allocations: 0 / 0.623 GB, free: 5.465 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6671, allocations: 0 / 0.623 GB, free: 5.465 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.6671, allocations: 0 / 0.623 GB, free: 5.465 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.0008256/0.6679, allocations: 0.5147 MB / 0.6235 GB, free: 4.902 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.668, allocations: 12.03 kB / 0.6235 GB, free: 4.891 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007674/0.6756, allocations: 0.7307 MB / 0.6242 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.6763, allocations: 284.2 kB / 0.6245 GB, free: 3.844 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.6763, allocations: 12.27 kB / 0.6245 GB, free: 3.832 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.6764, allocations: 27.97 kB / 0.6245 GB, free: 3.805 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.6779, allocations: 0.6967 MB / 0.6252 GB, free: 3.098 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6779, allocations: 0 / 0.6252 GB, free: 3.098 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/0.678, allocations: 4 kB / 0.6252 GB, free: 3.094 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/0.678, allocations: 11.98 kB / 0.6252 GB, free: 3.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.6801, allocations: 0.9212 MB / 0.6261 GB, free: 2.16 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.005407/0.6855, allocations: 2.012 MB / 0.6281 GB, free: 15.96 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.6867, allocations: 0.5017 MB / 0.6286 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006564/0.6874, allocations: 325.6 kB / 0.6289 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000923/0.6883, allocations: 383.2 kB / 0.6292 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.6884, allocations: 34.56 kB / 0.6293 GB, free: 14.65 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 2.154e-06/0.6884, allocations: 0 / 0.6293 GB, free: 14.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002305/0.6907, allocations: 0.8946 MB / 0.6302 GB, free: 13.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.6908, allocations: 85.05 kB / 0.6302 GB, free: 13.65 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.6909, allocations: 133.7 kB / 0.6304 GB, free: 13.51 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.691, allocations: 29.7 kB / 0.6304 GB, free: 13.47 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.193e-05/0.6911, allocations: 112.4 kB / 0.6305 GB, free: 13.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.6912, allocations: 106.5 kB / 0.6306 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.6914, allocations: 73.67 kB / 0.6307 GB, free: 13.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6916, allocations: 322.8 kB / 0.631 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007432/0.6923, allocations: 299.8 kB / 0.6313 GB, free: 12.56 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007113/0.6931, allocations: 403 kB / 0.6316 GB, free: 12.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.6945, allocations: 0.6902 MB / 0.6323 GB, free: 11.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6945, allocations: 11.94 kB / 0.6323 GB, free: 11.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001675/0.6962, allocations: 0.7471 MB / 0.6331 GB, free: 10.62 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.6962, allocations: 8 kB / 0.6331 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.6963, allocations: 4 kB / 0.6331 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.6963, allocations: 4 kB / 0.6331 GB, free: 10.61 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.6974, allocations: 103.8 kB / 0.6332 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.6975, allocations: 4 kB / 0.6332 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009215/0.6984, allocations: 51.81 kB / 0.6332 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.242e-05/0.6985, allocations: 19.98 kB / 0.6332 GB, free: 10.43 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.0002716/0.6987, allocations: 149.7 kB / 0.6334 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.6989, allocations: 11.91 kB / 0.6334 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.7009, allocations: 0.7767 MB / 0.6342 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.7009, allocations: 4 kB / 0.6342 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.7009, allocations: 0 / 0.6342 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.7009, allocations: 3.984 kB / 0.6342 GB, free: 9.477 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.702, allocations: 0.8021 MB / 0.635 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.702, allocations: 3.938 kB / 0.635 GB, free: 8.566 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.7031, allocations: 78.11 kB / 0.635 GB, free: 8.492 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.7031, allocations: 0 / 0.635 GB, free: 8.492 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.46e-05/0.7032, allocations: 19.98 kB / 0.635 GB, free: 8.473 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.7032, allocations: 3.984 kB / 0.6351 GB, free: 8.469 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.7032, allocations: 0 / 0.6351 GB, free: 8.469 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.7053, allocations: 0.961 MB / 0.636 GB, free: 7.492 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.7054, allocations: 96.89 kB / 0.6361 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.915e-05/0.7054, allocations: 4 kB / 0.6361 GB, free: 7.375 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.7065, allocations: 35.94 kB / 0.6361 GB, free: 7.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.7065, allocations: 23.91 kB / 0.6361 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/0.7066, allocations: 19.98 kB / 0.6362 GB, free: 7.297 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.236e-05/0.7067, allocations: 107.2 kB / 0.6363 GB, free: 7.191 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7067, allocations: 0 / 0.6363 GB, free: 7.191 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008198/0.7075, allocations: 183.8 kB / 0.6364 GB, free: 7.012 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.0009412/0.7085, allocations: 342.9 kB / 0.6368 GB, free: 6.668 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001581/0.7101, allocations: 0.6841 MB / 0.6374 GB, free: 5.984 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.7101, allocations: 0 / 0.6374 GB, free: 5.984 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007219/0.7108, allocations: 327.8 kB / 0.6377 GB, free: 5.664 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.7116, allocations: 103.7 kB / 0.6378 GB, free: 5.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.7139, allocations: 0.9433 MB / 0.6388 GB, free: 4.598 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004804/0.7143, allocations: 0.744 MB / 0.6395 GB, free: 3.828 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001901/0.7163, allocations: 177.7 kB / 0.6397 GB, free: 3.652 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.7167, allocations: 35.41 kB / 0.6397 GB, free: 3.621 MB / 478.1 MB Notification: Performance of SimCode: time 3.637e-06/0.7167, allocations: 0 / 0.6397 GB, free: 3.621 MB / 478.1 MB Notification: Performance of Templates: time 0.02758/0.7443, allocations: 10.43 MB / 0.6499 GB, free: 9.184 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