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.001583/0.001583, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002115/0.002115, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.11 MB / 343.6 MB, free: 11.71 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001806, allocations: 77.69 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1636, allocations: 62.44 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.555/0.7187, allocations: 150.4 MB / 0.615 GB, free: 13.46 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.7218, allocations: 2.247 MB / 0.6172 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.722, allocations: 0 / 0.6172 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.7224, allocations: 50.16 kB / 0.6172 GB, free: 11.18 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.7242, allocations: 0.5797 MB / 0.6178 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.7246, allocations: 99.69 kB / 0.6179 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004738/0.725, allocations: 370.8 kB / 0.6182 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.425e-05/0.7251, allocations: 14.78 kB / 0.6183 GB, free: 10.13 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.7255, allocations: 123.5 kB / 0.6184 GB, free: 10.01 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.7257, allocations: 111.7 kB / 0.6185 GB, free: 9.902 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.7258, allocations: 7.938 kB / 0.6185 GB, free: 9.895 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.728, allocations: 1.228 MB / 0.6197 GB, free: 8.664 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.7282, allocations: 79.75 kB / 0.6198 GB, free: 8.586 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.7283, allocations: 91.64 kB / 0.6198 GB, free: 8.496 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001644/0.73, allocations: 0.7637 MB / 0.6206 GB, free: 7.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.73, allocations: 0 / 0.6206 GB, free: 7.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.73, allocations: 0 / 0.6206 GB, free: 7.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.183e-06/0.73, allocations: 3.938 kB / 0.6206 GB, free: 7.727 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.001121/0.7312, allocations: 0.5077 MB / 0.6211 GB, free: 7.172 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.956e-05/0.7312, allocations: 8.875 kB / 0.6211 GB, free: 7.164 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.369e-05/0.7313, allocations: 50.73 kB / 0.6211 GB, free: 7.105 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007557/0.7389, allocations: 0.7389 MB / 0.6219 GB, free: 6.367 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007878/0.7397, allocations: 287.9 kB / 0.6221 GB, free: 6.047 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/0.7398, allocations: 20.27 kB / 0.6222 GB, free: 6.027 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.74, allocations: 16 kB / 0.6222 GB, free: 6.012 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.742, allocations: 0.7006 MB / 0.6229 GB, free: 5.301 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.7421, allocations: 0 / 0.6229 GB, free: 5.301 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.7422, allocations: 12 kB / 0.6229 GB, free: 5.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.7422, allocations: 12 kB / 0.6229 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.7444, allocations: 0.9133 MB / 0.6238 GB, free: 4.363 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.005464/0.7499, allocations: 2.004 MB / 0.6257 GB, free: 2.176 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.7511, allocations: 0.5009 MB / 0.6262 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/0.7518, allocations: 329.5 kB / 0.6265 GB, free: 1.328 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009908/0.7528, allocations: 379.2 kB / 0.6269 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.7529, allocations: 42.56 kB / 0.6269 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.246e-06/0.7529, allocations: 0 / 0.6269 GB, free: 0.8516 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002417/0.7553, allocations: 0.8921 MB / 0.6278 GB, free: 15.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.525e-05/0.7554, allocations: 77.11 kB / 0.6279 GB, free: 15.86 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.7556, allocations: 137.2 kB / 0.628 GB, free: 15.72 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/0.7557, allocations: 29.7 kB / 0.628 GB, free: 15.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.7558, allocations: 112.4 kB / 0.6282 GB, free: 15.57 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.7559, allocations: 110.5 kB / 0.6283 GB, free: 15.46 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.7562, allocations: 77.61 kB / 0.6283 GB, free: 15.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.7563, allocations: 326.8 kB / 0.6286 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006765/0.757, allocations: 291.8 kB / 0.6289 GB, free: 14.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007655/0.7578, allocations: 412.4 kB / 0.6293 GB, free: 14.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.7592, allocations: 0.6902 MB / 0.63 GB, free: 13.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.7592, allocations: 11.94 kB / 0.63 GB, free: 13.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001764/0.761, allocations: 0.7349 MB / 0.6307 GB, free: 12.83 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.761, allocations: 10.66 kB / 0.6307 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.761, allocations: 4 kB / 0.6307 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.7611, allocations: 4 kB / 0.6307 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.7622, allocations: 99.84 kB / 0.6308 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.7622, allocations: 12.95 kB / 0.6308 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008969/0.7631, allocations: 55.83 kB / 0.6309 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/0.7632, allocations: 27.92 kB / 0.6309 GB, free: 12.63 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.000276/0.7635, allocations: 145.7 kB / 0.6311 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.7637, allocations: 15.81 kB / 0.6311 GB, free: 12.46 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002107/0.7658, allocations: 0.7729 MB / 0.6318 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.7658, allocations: 4 kB / 0.6318 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.7658, allocations: 3.984 kB / 0.6318 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.7658, allocations: 3.984 kB / 0.6318 GB, free: 11.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.767, allocations: 0.81 MB / 0.6326 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.7671, allocations: 0 / 0.6326 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.7681, allocations: 83.86 kB / 0.6327 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.7681, allocations: 0 / 0.6327 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.371e-05/0.7682, allocations: 19.97 kB / 0.6327 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.7682, allocations: 3.938 kB / 0.6327 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7682, allocations: 0 / 0.6327 GB, free: 10.65 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002236/0.7705, allocations: 0.9638 MB / 0.6337 GB, free: 9.676 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.7706, allocations: 92.95 kB / 0.6338 GB, free: 9.566 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-05/0.7707, allocations: 4 kB / 0.6338 GB, free: 9.562 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009984/0.7717, allocations: 43.86 kB / 0.6338 GB, free: 9.52 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.82e-05/0.7717, allocations: 19.97 kB / 0.6338 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.613e-05/0.7718, allocations: 23.97 kB / 0.6339 GB, free: 9.477 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.114e-05/0.7719, allocations: 95.27 kB / 0.6339 GB, free: 9.383 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7719, allocations: 0 / 0.6339 GB, free: 9.383 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009404/0.7729, allocations: 187.9 kB / 0.6341 GB, free: 9.199 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.003587/0.7765, allocations: 1.744 MB / 0.6358 GB, free: 7.43 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.7781, allocations: 0.6517 MB / 0.6365 GB, free: 6.777 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7781, allocations: 0.8125 kB / 0.6365 GB, free: 6.777 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007283/0.7788, allocations: 342.3 kB / 0.6368 GB, free: 6.445 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/0.7796, allocations: 95.78 kB / 0.6369 GB, free: 6.352 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007/0.7866, allocations: 3.73 MB / 0.6405 GB, free: 2.457 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.7871, allocations: 0.7324 MB / 0.6412 GB, free: 1.695 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001422/0.7885, allocations: 186.3 kB / 0.6414 GB, free: 1.512 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.7889, allocations: 63.39 kB / 0.6415 GB, free: 1.449 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7889, allocations: 4 kB / 0.6415 GB, free: 1.445 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03172/0.8207, allocations: 12.3 MB / 0.6535 GB, free: 5.203 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.8209, allocations: 188.9 kB / 0.6537 GB, free: 4.945 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.955, allocations: 0 / 0.6537 GB, free: 4.945 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