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.00156/0.00156, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001994/0.001994, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 81.05 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1196, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4094/0.5291, allocations: 152.6 MB / 0.6179 GB, free: 10.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00282/0.5319, allocations: 2.19 MB / 0.62 GB, free: 8.559 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.5321, allocations: 0 / 0.62 GB, free: 8.559 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.5324, allocations: 55.72 kB / 0.6201 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.5341, allocations: 0.6293 MB / 0.6207 GB, free: 7.875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003261/0.5345, allocations: 107.3 kB / 0.6208 GB, free: 7.777 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003264/0.5348, allocations: 259 kB / 0.621 GB, free: 7.523 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.5349, allocations: 14.78 kB / 0.621 GB, free: 7.512 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.5352, allocations: 147.4 kB / 0.6212 GB, free: 7.367 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.5354, allocations: 87.66 kB / 0.6213 GB, free: 7.281 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.5354, allocations: 12 kB / 0.6213 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.5372, allocations: 0.9431 MB / 0.6222 GB, free: 6.324 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.5373, allocations: 75.81 kB / 0.6223 GB, free: 6.25 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.5375, allocations: 99.64 kB / 0.6224 GB, free: 6.152 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.5385, allocations: 0.6781 MB / 0.623 GB, free: 5.473 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5386, allocations: 0 / 0.623 GB, free: 5.473 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5386, allocations: 4 kB / 0.623 GB, free: 5.469 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.5386, allocations: 7.938 kB / 0.623 GB, free: 5.461 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.0008464/0.5394, allocations: 0.5038 MB / 0.6235 GB, free: 4.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.5395, allocations: 8.031 kB / 0.6235 GB, free: 4.902 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.217e-05/0.5395, allocations: 54.73 kB / 0.6236 GB, free: 4.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007604/0.5471, allocations: 0.7423 MB / 0.6243 GB, free: 4.098 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.5476, allocations: 280 kB / 0.6246 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.5477, allocations: 20.27 kB / 0.6246 GB, free: 3.766 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.5478, allocations: 16 kB / 0.6246 GB, free: 3.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.5493, allocations: 0.7006 MB / 0.6253 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5493, allocations: 0 / 0.6253 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.256e-05/0.5494, allocations: 8 kB / 0.6253 GB, free: 3.031 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.574e-05/0.5495, allocations: 11.94 kB / 0.6253 GB, free: 3.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.5515, allocations: 0.9173 MB / 0.6262 GB, free: 2.102 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.00542/0.557, allocations: 2.004 MB / 0.6282 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.5582, allocations: 0.5125 MB / 0.6287 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/0.5588, allocations: 317.6 kB / 0.629 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009991/0.5599, allocations: 383.2 kB / 0.6293 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.5599, allocations: 34.56 kB / 0.6294 GB, free: 14.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 3.026e-06/0.5599, allocations: 4 kB / 0.6294 GB, free: 14.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002243/0.5622, allocations: 0.8872 MB / 0.6302 GB, free: 13.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.5622, allocations: 89.09 kB / 0.6303 GB, free: 13.59 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.5624, allocations: 133.7 kB / 0.6305 GB, free: 13.45 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.5624, allocations: 33.64 kB / 0.6305 GB, free: 13.41 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.836e-05/0.5625, allocations: 120.3 kB / 0.6306 GB, free: 13.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.5626, allocations: 98.47 kB / 0.6307 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.5628, allocations: 73.67 kB / 0.6308 GB, free: 13.12 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5629, allocations: 322.8 kB / 0.6311 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/0.5636, allocations: 307.8 kB / 0.6314 GB, free: 12.49 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/0.5643, allocations: 396.5 kB / 0.6317 GB, free: 12.06 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.5657, allocations: 0.6903 MB / 0.6324 GB, free: 11.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.5657, allocations: 3.938 kB / 0.6324 GB, free: 11.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00174/0.5675, allocations: 0.743 MB / 0.6331 GB, free: 10.57 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.5675, allocations: 10.34 kB / 0.6332 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5675, allocations: 416 / 0.6332 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.5676, allocations: 12 kB / 0.6332 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.5687, allocations: 103.8 kB / 0.6333 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.5687, allocations: 5 kB / 0.6333 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009046/0.5696, allocations: 43.75 kB / 0.6333 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.699e-05/0.5697, allocations: 27.92 kB / 0.6333 GB, free: 10.38 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.0002397/0.57, allocations: 149.6 kB / 0.6335 GB, free: 10.22 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.5702, allocations: 23.81 kB / 0.6335 GB, free: 10.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.5722, allocations: 0.7654 MB / 0.6343 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5722, allocations: 4 kB / 0.6343 GB, free: 9.422 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.5722, allocations: 0.75 kB / 0.6343 GB, free: 9.422 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5722, allocations: 3.984 kB / 0.6343 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.5733, allocations: 0.806 MB / 0.6351 GB, free: 8.508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.5733, allocations: 4 kB / 0.6351 GB, free: 8.504 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/0.5744, allocations: 75.86 kB / 0.6351 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.5744, allocations: 12.86 kB / 0.6351 GB, free: 8.418 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/0.5745, allocations: 11.98 kB / 0.6352 GB, free: 8.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.5745, allocations: 8.453 kB / 0.6352 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5745, allocations: 0 / 0.6352 GB, free: 8.398 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.5765, allocations: 0.9554 MB / 0.6361 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.5767, allocations: 96.95 kB / 0.6362 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.581e-05/0.5768, allocations: 8 kB / 0.6362 GB, free: 7.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.5778, allocations: 32.52 kB / 0.6362 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.5779, allocations: 15.97 kB / 0.6362 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.5779, allocations: 19.98 kB / 0.6363 GB, free: 7.242 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.554e-05/0.578, allocations: 99.25 kB / 0.6364 GB, free: 7.145 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.578, allocations: 3.938 kB / 0.6364 GB, free: 7.141 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000782/0.5788, allocations: 187.8 kB / 0.6365 GB, free: 6.957 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.003426/0.5822, allocations: 1.758 MB / 0.6383 GB, free: 5.172 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.5838, allocations: 0.6798 MB / 0.6389 GB, free: 4.492 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.5839, allocations: 8 kB / 0.6389 GB, free: 4.484 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006994/0.5846, allocations: 323.7 kB / 0.6392 GB, free: 4.168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007731/0.5854, allocations: 97.02 kB / 0.6393 GB, free: 4.074 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006344/0.5917, allocations: 3.672 MB / 0.6429 GB, free: 236 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.5921, allocations: 0.7402 MB / 0.6436 GB, free: 15.46 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00127/0.5934, allocations: 181.7 kB / 0.6438 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/0.5937, allocations: 71.33 kB / 0.6439 GB, free: 15.21 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5937, allocations: 0 / 0.6439 GB, free: 15.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03475/0.6285, allocations: 12.7 MB / 0.6563 GB, free: 2.547 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/8.134, allocations: 18.73 kB / 0.6563 GB, free: 2.535 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