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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008277/0.0008277, allocations: 95.34 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.0009973/0.0009973, allocations: 202 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.7 MB / 246.8 MB, free: 11.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2272/0.2272, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002734, allocations: 8 kB / 419.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1443, allocations: 63.56 MB / 483.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5015/0.6459, allocations: 148.5 MB / 0.6168 GB, free: 92 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.6488, allocations: 2.209 MB / 0.619 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.6489, allocations: 4 kB / 0.619 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.6493, allocations: 58.2 kB / 0.6191 GB, free: 13.83 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001548/0.6509, allocations: 0.5719 MB / 0.6196 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.6512, allocations: 108.8 kB / 0.6197 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000453/0.6517, allocations: 370.8 kB / 0.6201 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.584e-05/0.6517, allocations: 10.78 kB / 0.6201 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003225/0.6521, allocations: 123.5 kB / 0.6202 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000218/0.6523, allocations: 95.7 kB / 0.6203 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.6523, allocations: 8 kB / 0.6203 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.6545, allocations: 1.232 MB / 0.6215 GB, free: 11.33 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.6546, allocations: 83.75 kB / 0.6216 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.6548, allocations: 117.3 kB / 0.6217 GB, free: 11.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.656, allocations: 0.7598 MB / 0.6224 GB, free: 10.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/0.6561, allocations: 4 kB / 0.6224 GB, free: 10.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6561, allocations: 0 / 0.6224 GB, free: 10.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.6561, allocations: 4 kB / 0.6224 GB, free: 10.36 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.0008297/0.6569, allocations: 471.9 kB / 0.6229 GB, free: 9.848 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.657, allocations: 12.88 kB / 0.6229 GB, free: 9.836 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.415e-05/0.657, allocations: 50.67 kB / 0.623 GB, free: 9.777 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007375/0.6644, allocations: 0.7349 MB / 0.6237 GB, free: 9.043 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.665, allocations: 287.9 kB / 0.6239 GB, free: 8.727 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.665, allocations: 16.27 kB / 0.624 GB, free: 8.711 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.6652, allocations: 23.98 kB / 0.624 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001524/0.6667, allocations: 0.6967 MB / 0.6247 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.6667, allocations: 0 / 0.6247 GB, free: 7.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.013e-05/0.6668, allocations: 16 kB / 0.6247 GB, free: 7.965 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.6669, allocations: 8 kB / 0.6247 GB, free: 7.957 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.6689, allocations: 0.9094 MB / 0.6256 GB, free: 7.047 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.005273/0.6742, allocations: 2.004 MB / 0.6275 GB, free: 4.859 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/0.6755, allocations: 0.5086 MB / 0.628 GB, free: 4.332 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007013/0.6762, allocations: 321.5 kB / 0.6283 GB, free: 4.012 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000868/0.6771, allocations: 371.2 kB / 0.6287 GB, free: 3.594 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.6772, allocations: 46.55 kB / 0.6287 GB, free: 3.539 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.023e-06/0.6772, allocations: 0 / 0.6287 GB, free: 3.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00233/0.6795, allocations: 0.8786 MB / 0.6296 GB, free: 2.656 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.6796, allocations: 85.11 kB / 0.6297 GB, free: 2.555 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.6797, allocations: 133.3 kB / 0.6298 GB, free: 2.418 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.199e-05/0.6798, allocations: 33.7 kB / 0.6298 GB, free: 2.379 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/0.6799, allocations: 120.4 kB / 0.6299 GB, free: 2.258 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.6801, allocations: 98.56 kB / 0.63 GB, free: 2.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-05/0.6801, allocations: 29.7 kB / 0.6301 GB, free: 2.125 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.6803, allocations: 330.8 kB / 0.6304 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/0.681, allocations: 303.8 kB / 0.6307 GB, free: 1.496 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007498/0.6817, allocations: 404.4 kB / 0.6311 GB, free: 1.055 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.6832, allocations: 0.6947 MB / 0.6317 GB, free: 324 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.6832, allocations: 3.938 kB / 0.6317 GB, free: 320 kB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001733/0.685, allocations: 0.743 MB / 0.6325 GB, free: 15.56 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.685, allocations: 8 kB / 0.6325 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.685, allocations: 4.406 kB / 0.6325 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.6851, allocations: 8 kB / 0.6325 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.6862, allocations: 103.8 kB / 0.6326 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.6862, allocations: 4.625 kB / 0.6326 GB, free: 15.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009394/0.6872, allocations: 51.66 kB / 0.6326 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.138e-05/0.6873, allocations: 27.98 kB / 0.6327 GB, free: 15.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.0002604/0.6875, allocations: 145.7 kB / 0.6328 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.6877, allocations: 19.8 kB / 0.6328 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.6898, allocations: 0.7755 MB / 0.6336 GB, free: 14.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.6898, allocations: 4 kB / 0.6336 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.6898, allocations: 0 / 0.6336 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.6898, allocations: 4 kB / 0.6336 GB, free: 14.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.691, allocations: 0.8062 MB / 0.6344 GB, free: 13.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.691, allocations: 4 kB / 0.6344 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.6921, allocations: 79.91 kB / 0.6345 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.6921, allocations: 0 / 0.6345 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/0.6922, allocations: 13.36 kB / 0.6345 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.899e-06/0.6922, allocations: 8 kB / 0.6345 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6922, allocations: 3.938 kB / 0.6345 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.6944, allocations: 0.9614 MB / 0.6354 GB, free: 12.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.97e-05/0.6945, allocations: 96.84 kB / 0.6355 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.502e-05/0.6946, allocations: 8 kB / 0.6355 GB, free: 12.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.6956, allocations: 35.95 kB / 0.6356 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.6957, allocations: 19.98 kB / 0.6356 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.056e-05/0.6957, allocations: 19.97 kB / 0.6356 GB, free: 12.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.628e-05/0.6958, allocations: 99.27 kB / 0.6357 GB, free: 12.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6958, allocations: 0 / 0.6357 GB, free: 12.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009279/0.6968, allocations: 183.8 kB / 0.6359 GB, free: 11.94 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.003589/0.7004, allocations: 1.748 MB / 0.6376 GB, free: 10.16 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.702, allocations: 0.6596 MB / 0.6382 GB, free: 9.504 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.702, allocations: 0 / 0.6382 GB, free: 9.504 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007037/0.7027, allocations: 324.6 kB / 0.6385 GB, free: 9.188 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007876/0.7035, allocations: 96.61 kB / 0.6386 GB, free: 9.094 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006695/0.7102, allocations: 3.88 MB / 0.6424 GB, free: 5.047 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.7106, allocations: 0.7401 MB / 0.6431 GB, free: 4.277 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001276/0.7119, allocations: 189.7 kB / 0.6433 GB, free: 4.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/0.7122, allocations: 63.39 kB / 0.6434 GB, free: 4.027 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7122, allocations: 0 / 0.6434 GB, free: 4.027 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.7394, allocations: 12.21 MB / 0.6553 GB, free: 7.906 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/0.7396, allocations: 186.3 kB / 0.6555 GB, free: 7.656 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/2.83, allocations: 0 / 0.6555 GB, free: 7.656 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches