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.001846/0.001846, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001986/0.001986, allocations: 215 kB / 24.47 MB, free: 3.777 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.339/1.339, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.FlueGas,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_FlueGas",fmuType="me",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.001823/0.001823, allocations: 54.73 kB / 347.2 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2273, allocations: 49.15 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1591/0.3864, allocations: 129.9 MB / 0.5139 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.3892, allocations: 1.889 MB / 0.5157 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.3893, allocations: 0 / 0.5157 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.3896, allocations: 51.75 kB / 0.5158 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.3913, allocations: 0.6257 MB / 0.5164 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.3916, allocations: 99.78 kB / 0.5165 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.392, allocations: 267 kB / 0.5167 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.392, allocations: 4 kB / 0.5167 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.3923, allocations: 143.4 kB / 0.5169 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.3925, allocations: 95.62 kB / 0.517 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.3926, allocations: 12 kB / 0.517 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.394, allocations: 0.7364 MB / 0.5177 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.3942, allocations: 79.77 kB / 0.5178 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.3943, allocations: 87.66 kB / 0.5178 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.3954, allocations: 0.6448 MB / 0.5185 GB, free: 12.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3954, allocations: 0 / 0.5185 GB, free: 12.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3954, allocations: 0 / 0.5185 GB, free: 12.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.3954, allocations: 0 / 0.5185 GB, free: 12.07 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.0008425/0.3963, allocations: 433.5 kB / 0.5189 GB, free: 11.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3963, allocations: 15.98 kB / 0.5189 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.862e-05/0.3964, allocations: 62.66 kB / 0.519 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/0.3983, allocations: 268.5 kB / 0.5192 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/0.3988, allocations: 222.2 kB / 0.5194 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3989, allocations: 16.45 kB / 0.5194 GB, free: 11.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.228e-05/0.399, allocations: 20 kB / 0.5195 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009447/0.3999, allocations: 0.6473 MB / 0.5201 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3999, allocations: 3.938 kB / 0.5201 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.462e-05/0.4, allocations: 11.98 kB / 0.5201 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.4, allocations: 12 kB / 0.5201 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009451/0.4009, allocations: 0.5816 MB / 0.5207 GB, free: 9.691 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.002398/0.4033, allocations: 0.9483 MB / 0.5216 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.4038, allocations: 237 kB / 0.5218 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.404, allocations: 181.6 kB / 0.522 GB, free: 8.262 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007218/0.4048, allocations: 127.9 kB / 0.5221 GB, free: 8.137 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.4048, allocations: 38.56 kB / 0.5222 GB, free: 8.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.224e-06/0.4048, allocations: 0 / 0.5222 GB, free: 8.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002037/0.4068, allocations: 0.5953 MB / 0.5228 GB, free: 7.488 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.4069, allocations: 85.05 kB / 0.5228 GB, free: 7.387 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.407, allocations: 129.8 kB / 0.523 GB, free: 7.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.4071, allocations: 29.7 kB / 0.523 GB, free: 7.215 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.4072, allocations: 120.5 kB / 0.5231 GB, free: 7.094 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.4073, allocations: 107.1 kB / 0.5232 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.4074, allocations: 69.69 kB / 0.5233 GB, free: 6.914 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4076, allocations: 322.8 kB / 0.5236 GB, free: 6.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.4079, allocations: 183.8 kB / 0.5238 GB, free: 6.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.4084, allocations: 292.5 kB / 0.524 GB, free: 6.078 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008164/0.4092, allocations: 497.2 kB / 0.5245 GB, free: 5.547 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4092, allocations: 0 / 0.5245 GB, free: 5.547 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001033/0.4102, allocations: 0.5205 MB / 0.525 GB, free: 5.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4102, allocations: 8.406 kB / 0.525 GB, free: 5.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.4103, allocations: 11.94 kB / 0.525 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4103, allocations: 4 kB / 0.525 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/0.4108, allocations: 83.83 kB / 0.5251 GB, free: 4.914 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.4108, allocations: 8 kB / 0.5251 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.4112, allocations: 35.77 kB / 0.5252 GB, free: 4.871 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/0.4113, allocations: 20.38 kB / 0.5252 GB, free: 4.852 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.0001857/0.4115, allocations: 157.6 kB / 0.5253 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.4116, allocations: 15.91 kB / 0.5254 GB, free: 4.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009981/0.4126, allocations: 490 kB / 0.5258 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.4126, allocations: 4 kB / 0.5258 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4126, allocations: 4 kB / 0.5258 GB, free: 4.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.4126, allocations: 3.984 kB / 0.5258 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000722/0.4133, allocations: 381.2 kB / 0.5262 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4133, allocations: 0 / 0.5262 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.4138, allocations: 63.95 kB / 0.5263 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.4138, allocations: 4 kB / 0.5263 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.4139, allocations: 8 kB / 0.5263 GB, free: 3.684 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.4139, allocations: 3.938 kB / 0.5263 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4139, allocations: 0 / 0.5263 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.415, allocations: 0.6878 MB / 0.5269 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.4151, allocations: 19.84 kB / 0.527 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.4151, allocations: 8 kB / 0.527 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.4156, allocations: 19.97 kB / 0.527 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.4157, allocations: 19.97 kB / 0.527 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-05/0.4157, allocations: 11.98 kB / 0.527 GB, free: 2.898 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.32e-05/0.4158, allocations: 107.2 kB / 0.5271 GB, free: 2.793 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4158, allocations: 0 / 0.5271 GB, free: 2.793 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006378/0.4164, allocations: 159.6 kB / 0.5273 GB, free: 2.637 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.00219/0.4186, allocations: 1.473 MB / 0.5287 GB, free: 1.133 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008161/0.4194, allocations: 423.5 kB / 0.5291 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4194, allocations: 0.8125 kB / 0.5291 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003743/0.4198, allocations: 204.5 kB / 0.5293 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.4205, allocations: 97.81 kB / 0.5294 GB, free: 436 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004617/0.4251, allocations: 3.241 MB / 0.5326 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/0.4253, allocations: 131 kB / 0.5327 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004718/0.4257, allocations: 109.8 kB / 0.5328 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.4259, allocations: 63.41 kB / 0.5329 GB, free: 12.7 MB / 462.1 MB Notification: Performance of SimCode: time 5.92e-07/0.4259, allocations: 0 / 0.5329 GB, free: 12.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04384/0.4698, allocations: 11.48 MB / 0.5441 GB, free: 1.152 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.58, allocations: 0 / 0.5441 GB, free: 1.152 MB / 462.1 MB " [Timeout remaining time 648] (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.922164015937597]