Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 103.2 kB / 21.96 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 214 kB / 25.26 MB, free: 3.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 207.7 MB / 236.1 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 55.92 kB / 348 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2319, allocations: 49.16 MB / 397.1 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1492/0.3812, allocations: 129.8 MB / 0.5146 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002471/0.3836, allocations: 1.881 MB / 0.5164 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.3837, allocations: 0 / 0.5164 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.384, allocations: 51.67 kB / 0.5164 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001523/0.3856, allocations: 0.6183 MB / 0.517 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.3859, allocations: 115.8 kB / 0.5172 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.3862, allocations: 270.9 kB / 0.5174 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.3863, allocations: 11.64 kB / 0.5174 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002638/0.3865, allocations: 139.4 kB / 0.5176 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.3867, allocations: 95.64 kB / 0.5176 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.3868, allocations: 8 kB / 0.5177 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.3881, allocations: 0.7598 MB / 0.5184 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.3882, allocations: 71.84 kB / 0.5185 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.3884, allocations: 91.64 kB / 0.5186 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.3895, allocations: 0.6435 MB / 0.5192 GB, free: 12.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3895, allocations: 0 / 0.5192 GB, free: 12.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3895, allocations: 0 / 0.5192 GB, free: 12.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3895, allocations: 0 / 0.5192 GB, free: 12.15 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.0009662/0.3904, allocations: 441.4 kB / 0.5196 GB, free: 11.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.3905, allocations: 15.98 kB / 0.5196 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.189e-05/0.3905, allocations: 4.516 kB / 0.5196 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.74e-05/0.3906, allocations: 54.73 kB / 0.5197 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.3926, allocations: 268.5 kB / 0.5199 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.3931, allocations: 222.2 kB / 0.5201 GB, free: 11.1 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.3931, allocations: 20.27 kB / 0.5202 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.573e-05/0.3932, allocations: 16 kB / 0.5202 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008963/0.3941, allocations: 0.6512 MB / 0.5208 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3941, allocations: 0 / 0.5208 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.654e-05/0.3942, allocations: 8 kB / 0.5208 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.3942, allocations: 7.938 kB / 0.5208 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000884/0.3951, allocations: 0.5895 MB / 0.5214 GB, free: 9.762 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.002347/0.3974, allocations: 0.9522 MB / 0.5223 GB, free: 8.762 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003929/0.3978, allocations: 237 kB / 0.5226 GB, free: 8.512 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.3981, allocations: 181.6 kB / 0.5227 GB, free: 8.328 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007183/0.3988, allocations: 123.9 kB / 0.5228 GB, free: 8.207 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.3988, allocations: 42.5 kB / 0.5229 GB, free: 8.156 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.3988, allocations: 0 / 0.5229 GB, free: 8.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001901/0.4007, allocations: 0.5913 MB / 0.5235 GB, free: 7.559 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.4008, allocations: 85.11 kB / 0.5235 GB, free: 7.457 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.4009, allocations: 129.8 kB / 0.5237 GB, free: 7.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.401, allocations: 29.7 kB / 0.5237 GB, free: 7.285 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.205e-05/0.4011, allocations: 124.6 kB / 0.5238 GB, free: 7.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.4012, allocations: 103.1 kB / 0.5239 GB, free: 7.059 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.4013, allocations: 69.64 kB / 0.524 GB, free: 6.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4014, allocations: 330.8 kB / 0.5243 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003393/0.4018, allocations: 179.9 kB / 0.5245 GB, free: 6.477 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004078/0.4022, allocations: 292.5 kB / 0.5248 GB, free: 6.145 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.403, allocations: 0.4894 MB / 0.5252 GB, free: 5.609 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.403, allocations: 3.938 kB / 0.5252 GB, free: 5.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009654/0.4039, allocations: 0.5208 MB / 0.5257 GB, free: 5.078 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.404, allocations: 8 kB / 0.5257 GB, free: 5.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.404, allocations: 4 kB / 0.5258 GB, free: 5.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.404, allocations: 4 kB / 0.5258 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004935/0.4045, allocations: 83.83 kB / 0.5258 GB, free: 4.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.4045, allocations: 8 kB / 0.5258 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/0.4048, allocations: 35.77 kB / 0.5259 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.507e-05/0.4049, allocations: 23.92 kB / 0.5259 GB, free: 4.914 MB / 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.000171/0.4051, allocations: 149.9 kB / 0.526 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.4052, allocations: 11.95 kB / 0.5261 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009517/0.4061, allocations: 498.4 kB / 0.5265 GB, free: 4.254 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.4061, allocations: 4 kB / 0.5265 GB, free: 4.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.4061, allocations: 4 kB / 0.5265 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4062, allocations: 3.984 kB / 0.5265 GB, free: 4.242 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006836/0.4068, allocations: 389.1 kB / 0.5269 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.4068, allocations: 0 / 0.5269 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.4073, allocations: 63.89 kB / 0.527 GB, free: 3.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.4073, allocations: 4 kB / 0.527 GB, free: 3.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.4074, allocations: 11.98 kB / 0.527 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4074, allocations: 0 / 0.527 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4074, allocations: 4 kB / 0.527 GB, free: 3.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.4085, allocations: 0.68 MB / 0.5277 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.4085, allocations: 23.78 kB / 0.5277 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.4086, allocations: 8 kB / 0.5277 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.409, allocations: 19.97 kB / 0.5277 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.135e-05/0.4091, allocations: 15.97 kB / 0.5277 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-05/0.4091, allocations: 15.98 kB / 0.5277 GB, free: 2.957 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.269e-05/0.4092, allocations: 107.2 kB / 0.5278 GB, free: 2.852 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4092, allocations: 4 kB / 0.5278 GB, free: 2.848 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006228/0.4098, allocations: 151.7 kB / 0.528 GB, free: 2.699 MB / 446.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.002089/0.4119, allocations: 1.473 MB / 0.5294 GB, free: 1.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007786/0.4127, allocations: 416.3 kB / 0.5298 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4127, allocations: 4.062 kB / 0.5298 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.413, allocations: 212.5 kB / 0.53 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/0.4137, allocations: 92.53 kB / 0.5301 GB, free: 500 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/0.4179, allocations: 3.241 MB / 0.5333 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.4181, allocations: 127.1 kB / 0.5334 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000439/0.4185, allocations: 117.8 kB / 0.5335 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.4187, allocations: 55.41 kB / 0.5336 GB, free: 12.77 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4187, allocations: 0 / 0.5336 GB, free: 12.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.454, allocations: 11.21 MB / 0.5445 GB, free: 1.484 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.98, allocations: 7.953 kB / 0.5445 GB, free: 1.477 MB / 462.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.348634655005299]