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.001501/0.001501, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2619/0.2619, allocations: 46.12 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 77.98 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1741, allocations: 62.46 MB / 480.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5375/0.7116, allocations: 152.6 MB / 0.6179 GB, free: 10.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003192/0.7148, allocations: 2.181 MB / 0.62 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.573e-05/0.715, allocations: 0 / 0.62 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005242/0.7155, allocations: 64.53 kB / 0.62 GB, free: 8.422 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.7175, allocations: 0.6264 MB / 0.6207 GB, free: 7.797 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.7178, allocations: 107.7 kB / 0.6208 GB, free: 7.691 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.7182, allocations: 266.3 kB / 0.621 GB, free: 7.434 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.435e-05/0.7183, allocations: 4.531 kB / 0.621 GB, free: 7.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003223/0.7186, allocations: 141.4 kB / 0.6212 GB, free: 7.293 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.7188, allocations: 99.64 kB / 0.6212 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.7189, allocations: 12 kB / 0.6213 GB, free: 7.184 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.7208, allocations: 0.9353 MB / 0.6222 GB, free: 6.246 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.7209, allocations: 71.84 kB / 0.6222 GB, free: 6.176 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.721, allocations: 107.6 kB / 0.6223 GB, free: 6.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.7221, allocations: 0.6859 MB / 0.623 GB, free: 5.383 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7221, allocations: 0 / 0.623 GB, free: 5.383 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.7222, allocations: 0 / 0.623 GB, free: 5.383 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.922e-06/0.7222, allocations: 0 / 0.623 GB, free: 5.383 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.0009881/0.7232, allocations: 0.4992 MB / 0.6235 GB, free: 4.836 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.7232, allocations: 8.031 kB / 0.6235 GB, free: 4.828 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007562/0.7308, allocations: 0.7463 MB / 0.6242 GB, free: 4.082 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005981/0.7314, allocations: 280.2 kB / 0.6245 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.7314, allocations: 16.27 kB / 0.6245 GB, free: 3.754 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.7316, allocations: 20 kB / 0.6245 GB, free: 3.734 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.7331, allocations: 0.7005 MB / 0.6252 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.7332, allocations: 0 / 0.6252 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-05/0.7333, allocations: 12 kB / 0.6252 GB, free: 3.012 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.7333, allocations: 8 kB / 0.6252 GB, free: 3.004 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.7355, allocations: 0.9134 MB / 0.6261 GB, free: 2.09 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.005683/0.7412, allocations: 2.008 MB / 0.6281 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.7426, allocations: 0.5086 MB / 0.6286 GB, free: 15.37 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007929/0.7434, allocations: 325.5 kB / 0.6289 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.7446, allocations: 379.1 kB / 0.6293 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.806e-05/0.7447, allocations: 42.56 kB / 0.6293 GB, free: 14.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 4.058e-06/0.7447, allocations: 0 / 0.6293 GB, free: 14.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002584/0.7473, allocations: 0.8907 MB / 0.6302 GB, free: 13.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.7474, allocations: 81.11 kB / 0.6303 GB, free: 13.58 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.7476, allocations: 136.3 kB / 0.6304 GB, free: 13.44 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/0.7477, allocations: 33.7 kB / 0.6304 GB, free: 13.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.7478, allocations: 112.4 kB / 0.6305 GB, free: 13.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.748, allocations: 106.4 kB / 0.6306 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.7482, allocations: 73.67 kB / 0.6307 GB, free: 13.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.7484, allocations: 330.8 kB / 0.631 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006979/0.7491, allocations: 295.8 kB / 0.6313 GB, free: 12.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008074/0.75, allocations: 404.4 kB / 0.6317 GB, free: 12.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.7515, allocations: 0.6941 MB / 0.6324 GB, free: 11.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7515, allocations: 0 / 0.6324 GB, free: 11.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001838/0.7534, allocations: 0.7433 MB / 0.6331 GB, free: 10.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.7534, allocations: 14.53 kB / 0.6331 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.7534, allocations: 4 kB / 0.6331 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.7534, allocations: 4 kB / 0.6331 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.7546, allocations: 99.84 kB / 0.6332 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.7546, allocations: 7.938 kB / 0.6332 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008992/0.7555, allocations: 47.66 kB / 0.6333 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.313e-05/0.7556, allocations: 23.98 kB / 0.6333 GB, free: 10.36 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.0002666/0.7559, allocations: 149.7 kB / 0.6334 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/0.756, allocations: 15.89 kB / 0.6334 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002125/0.7582, allocations: 0.7763 MB / 0.6342 GB, free: 9.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.7582, allocations: 4 kB / 0.6342 GB, free: 9.406 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7582, allocations: 4 kB / 0.6342 GB, free: 9.402 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.7582, allocations: 4 kB / 0.6342 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.7595, allocations: 0.806 MB / 0.635 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.7595, allocations: 0 / 0.635 GB, free: 8.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.7606, allocations: 79.86 kB / 0.6351 GB, free: 8.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.7606, allocations: 3.984 kB / 0.6351 GB, free: 8.406 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.7607, allocations: 15.92 kB / 0.6351 GB, free: 8.391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.7607, allocations: 4 kB / 0.6351 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7607, allocations: 0 / 0.6351 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.763, allocations: 0.961 MB / 0.636 GB, free: 7.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.149e-05/0.7631, allocations: 88.95 kB / 0.6361 GB, free: 7.305 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.587e-05/0.7632, allocations: 11.98 kB / 0.6361 GB, free: 7.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009928/0.7642, allocations: 31.95 kB / 0.6362 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.7643, allocations: 15.98 kB / 0.6362 GB, free: 7.246 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/0.7644, allocations: 27.91 kB / 0.6362 GB, free: 7.219 MB / 478.1 MB Notification: Performance of sorting global known variables: time 9.236e-05/0.7644, allocations: 95.27 kB / 0.6363 GB, free: 7.125 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7645, allocations: 4 kB / 0.6363 GB, free: 7.121 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008781/0.7653, allocations: 187.8 kB / 0.6365 GB, free: 6.938 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.0009905/0.7663, allocations: 350.4 kB / 0.6368 GB, free: 6.59 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.768, allocations: 0.6767 MB / 0.6375 GB, free: 5.914 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.768, allocations: 4.125 kB / 0.6375 GB, free: 5.91 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007398/0.7688, allocations: 327.7 kB / 0.6378 GB, free: 5.59 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.7696, allocations: 98.53 kB / 0.6379 GB, free: 5.496 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.7715, allocations: 0.9471 MB / 0.6388 GB, free: 4.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.772, allocations: 0.744 MB / 0.6395 GB, free: 3.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001257/0.7732, allocations: 173.8 kB / 0.6397 GB, free: 3.578 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/0.7735, allocations: 35.41 kB / 0.6397 GB, free: 3.547 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.7735, allocations: 4 kB / 0.6397 GB, free: 3.543 MB / 478.1 MB Notification: Performance of Templates: time 0.01899/0.7925, allocations: 10.43 MB / 0.6499 GB, free: 9.109 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