Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008801/0.0008803, allocations: 96.08 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 168.8 kB / 18.25 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2404/0.2404, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004241, allocations: 8.531 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1358, allocations: 61.93 MB / 472.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4516/0.5874, allocations: 145.6 MB / 0.6035 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002673/0.5901, allocations: 2.206 MB / 0.6056 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.5902, allocations: 0 / 0.6056 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.5906, allocations: 50.41 kB / 0.6057 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.5919, allocations: 0.5797 MB / 0.6062 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.5922, allocations: 99.42 kB / 0.6063 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.5927, allocations: 370.9 kB / 0.6067 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.5927, allocations: 6.25 kB / 0.6067 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.593, allocations: 127.5 kB / 0.6068 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.5932, allocations: 107.6 kB / 0.6069 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.5932, allocations: 4 kB / 0.6069 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.595, allocations: 1.22 MB / 0.6081 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.5951, allocations: 79.81 kB / 0.6082 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.5953, allocations: 121.3 kB / 0.6083 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009994/0.5963, allocations: 0.7559 MB / 0.609 GB, free: 11.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5963, allocations: 4 kB / 0.609 GB, free: 11.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5963, allocations: 0 / 0.609 GB, free: 11.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.5963, allocations: 0 / 0.609 GB, free: 11.26 MB / 446.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.000671/0.597, allocations: 476.1 kB / 0.6095 GB, free: 10.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.597, allocations: 8.031 kB / 0.6095 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.013e-05/0.5971, allocations: 54.72 kB / 0.6095 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006996/0.6041, allocations: 0.7345 MB / 0.6103 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.6045, allocations: 284 kB / 0.6105 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.6046, allocations: 12.27 kB / 0.6105 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.6047, allocations: 20 kB / 0.6106 GB, free: 9.598 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.6061, allocations: 0.6996 MB / 0.6112 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.6062, allocations: 3.938 kB / 0.6112 GB, free: 8.883 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.392e-05/0.6062, allocations: 4 kB / 0.6112 GB, free: 8.879 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.6063, allocations: 15.44 kB / 0.6113 GB, free: 8.867 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.6083, allocations: 0.9173 MB / 0.6122 GB, free: 7.949 MB / 446.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.004834/0.6132, allocations: 1.99 MB / 0.6141 GB, free: 5.773 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.6144, allocations: 0.5108 MB / 0.6146 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006525/0.615, allocations: 325.5 kB / 0.6149 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008729/0.6159, allocations: 375.3 kB / 0.6153 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.616, allocations: 38.56 kB / 0.6153 GB, free: 4.453 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.554e-06/0.616, allocations: 0 / 0.6153 GB, free: 4.453 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002227/0.6182, allocations: 0.8881 MB / 0.6162 GB, free: 3.559 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.6183, allocations: 85.03 kB / 0.6163 GB, free: 3.457 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.6184, allocations: 133.8 kB / 0.6164 GB, free: 3.316 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/0.6185, allocations: 29.7 kB / 0.6164 GB, free: 3.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.516e-05/0.6186, allocations: 120.3 kB / 0.6165 GB, free: 3.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.6187, allocations: 98.55 kB / 0.6166 GB, free: 3.062 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-05/0.6188, allocations: 37.7 kB / 0.6167 GB, free: 3.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6189, allocations: 330.8 kB / 0.617 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000629/0.6196, allocations: 291.8 kB / 0.6172 GB, free: 2.402 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/0.6203, allocations: 405.3 kB / 0.6176 GB, free: 1.961 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.6217, allocations: 0.6909 MB / 0.6183 GB, free: 1.227 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.6217, allocations: 7.938 kB / 0.6183 GB, free: 1.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001594/0.6233, allocations: 0.7394 MB / 0.619 GB, free: 484 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.6233, allocations: 14.53 kB / 0.6191 GB, free: 472 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.6234, allocations: 8.375 kB / 0.6191 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.6234, allocations: 4 kB / 0.6191 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.6245, allocations: 95.86 kB / 0.6192 GB, free: 364 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.6245, allocations: 7.984 kB / 0.6192 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008772/0.6254, allocations: 59.66 kB / 0.6192 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.609e-05/0.6254, allocations: 15.98 kB / 0.6192 GB, free: 280 kB / 446.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.0002184/0.6257, allocations: 153.6 kB / 0.6194 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.6258, allocations: 15.81 kB / 0.6194 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.6278, allocations: 0.7856 MB / 0.6202 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.6278, allocations: 7.984 kB / 0.6202 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6278, allocations: 0 / 0.6202 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.6278, allocations: 0 / 0.6202 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.6288, allocations: 0.8056 MB / 0.621 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6289, allocations: 0 / 0.621 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.6299, allocations: 75.86 kB / 0.621 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.6299, allocations: 7.938 kB / 0.621 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/0.6299, allocations: 19.97 kB / 0.6211 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.63, allocations: 0.875 kB / 0.6211 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.63, allocations: 0 / 0.6211 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.6319, allocations: 0.9573 MB / 0.622 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.632, allocations: 96.86 kB / 0.6221 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-05/0.6321, allocations: 11.98 kB / 0.6221 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009679/0.6331, allocations: 35.95 kB / 0.6221 GB, free: 13.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.6331, allocations: 15.92 kB / 0.6221 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/0.6332, allocations: 26.91 kB / 0.6222 GB, free: 13.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.253e-05/0.6333, allocations: 99.27 kB / 0.6223 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6333, allocations: 0 / 0.6223 GB, free: 13.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007418/0.634, allocations: 188 kB / 0.6224 GB, free: 12.84 MB / 462.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.003108/0.6372, allocations: 1.743 MB / 0.6241 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.6386, allocations: 0.6596 MB / 0.6248 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6386, allocations: 4 kB / 0.6248 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006575/0.6393, allocations: 330.8 kB / 0.6251 GB, free: 10.08 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007943/0.6401, allocations: 90.31 kB / 0.6252 GB, free: 9.996 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006949/0.647, allocations: 3.861 MB / 0.629 GB, free: 5.973 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.6474, allocations: 0.7362 MB / 0.6297 GB, free: 5.207 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001346/0.6488, allocations: 189.6 kB / 0.6299 GB, free: 5.016 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003344/0.6491, allocations: 67.39 kB / 0.6299 GB, free: 4.949 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6491, allocations: 0 / 0.6299 GB, free: 4.949 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.6731, allocations: 12.19 MB / 0.6418 GB, free: 8.848 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001804/0.6734, allocations: 189.2 kB / 0.642 GB, free: 8.598 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.974/2.647, allocations: 0 / 0.642 GB, free: 8.598 MB / 478.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches