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.004463/0.004463, allocations: 114.2 kB / 21.97 MB, free: 5.223 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.001276/0.001276, allocations: 216.3 kB / 25.28 MB, free: 3.246 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.228/1.228, allocations: 207.6 MB / 236 MB, free: 9.984 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.001599/0.001599, allocations: 55.33 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2086, allocations: 49.17 MB / 397.1 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1588/0.3674, allocations: 151.5 MB / 0.5357 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002587/0.37, allocations: 2.107 MB / 0.5378 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.3701, allocations: 0 / 0.5378 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.3704, allocations: 51.72 kB / 0.5378 GB, free: 9.281 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.372, allocations: 0.63 MB / 0.5385 GB, free: 8.648 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.3723, allocations: 107.8 kB / 0.5386 GB, free: 8.543 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003563/0.3727, allocations: 270.9 kB / 0.5388 GB, free: 8.277 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.649e-05/0.3727, allocations: 7.656 kB / 0.5388 GB, free: 8.273 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.373, allocations: 143.4 kB / 0.539 GB, free: 8.133 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.3732, allocations: 95.64 kB / 0.5391 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.278e-05/0.3732, allocations: 8 kB / 0.5391 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.3748, allocations: 0.8689 MB / 0.5399 GB, free: 7.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.3749, allocations: 87.75 kB / 0.54 GB, free: 7.074 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.375, allocations: 91.64 kB / 0.5401 GB, free: 6.984 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009524/0.3759, allocations: 0.6513 MB / 0.5407 GB, free: 6.336 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.376, allocations: 0 / 0.5407 GB, free: 6.336 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.376, allocations: 4 kB / 0.5407 GB, free: 6.332 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.376, allocations: 0 / 0.5407 GB, free: 6.332 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.0008539/0.3768, allocations: 437.5 kB / 0.5411 GB, free: 5.875 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3769, allocations: 15.92 kB / 0.5412 GB, free: 5.859 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.77e-05/0.3769, allocations: 4.516 kB / 0.5412 GB, free: 5.855 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.3769, allocations: 54.73 kB / 0.5412 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.3788, allocations: 264.5 kB / 0.5415 GB, free: 5.535 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.3793, allocations: 218.2 kB / 0.5417 GB, free: 5.297 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.3793, allocations: 20.27 kB / 0.5417 GB, free: 5.277 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.3794, allocations: 20 kB / 0.5417 GB, free: 5.258 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008007/0.3802, allocations: 0.4967 MB / 0.5422 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3802, allocations: 0 / 0.5422 GB, free: 4.75 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.976e-05/0.3803, allocations: 15.94 kB / 0.5422 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.3803, allocations: 8 kB / 0.5422 GB, free: 4.727 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/0.3812, allocations: 0.5894 MB / 0.5428 GB, free: 4.137 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.002268/0.3834, allocations: 0.9912 MB / 0.5438 GB, free: 3.098 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/0.3838, allocations: 237 kB / 0.544 GB, free: 2.848 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.3841, allocations: 189.6 kB / 0.5442 GB, free: 2.656 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006663/0.3848, allocations: 115.9 kB / 0.5443 GB, free: 2.543 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3848, allocations: 38.56 kB / 0.5443 GB, free: 2.496 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.3848, allocations: 0 / 0.5443 GB, free: 2.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.001902/0.3867, allocations: 0.5992 MB / 0.5449 GB, free: 1.891 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.3867, allocations: 88.98 kB / 0.545 GB, free: 1.785 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.3869, allocations: 129.8 kB / 0.5451 GB, free: 1.648 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.054e-05/0.3869, allocations: 33.7 kB / 0.5451 GB, free: 1.609 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.387, allocations: 120.5 kB / 0.5453 GB, free: 1.488 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.429e-05/0.3871, allocations: 99.12 kB / 0.5454 GB, free: 1.391 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3872, allocations: 73.64 kB / 0.5454 GB, free: 1.312 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3874, allocations: 326.8 kB / 0.5457 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/0.3877, allocations: 191.9 kB / 0.5459 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.3881, allocations: 288.5 kB / 0.5462 GB, free: 480 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000767/0.3889, allocations: 493.2 kB / 0.5467 GB, free: 15.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3889, allocations: 11.88 kB / 0.5467 GB, free: 15.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009367/0.3898, allocations: 0.5127 MB / 0.5472 GB, free: 15.41 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3898, allocations: 8 kB / 0.5472 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3898, allocations: 4.406 kB / 0.5472 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3898, allocations: 8 kB / 0.5472 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004927/0.3903, allocations: 79.89 kB / 0.5473 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3903, allocations: 4.391 kB / 0.5473 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.3907, allocations: 39.77 kB / 0.5473 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/0.3908, allocations: 19.98 kB / 0.5473 GB, free: 15.25 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.0001677/0.3909, allocations: 153.6 kB / 0.5475 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.391, allocations: 11.95 kB / 0.5475 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009306/0.392, allocations: 490 kB / 0.548 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.392, allocations: 8 kB / 0.548 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.392, allocations: 0 / 0.548 GB, free: 14.59 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.392, allocations: 3.984 kB / 0.548 GB, free: 14.58 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007119/0.3927, allocations: 437 kB / 0.5484 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3927, allocations: 3.984 kB / 0.5484 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.3932, allocations: 59.91 kB / 0.5484 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3932, allocations: 0 / 0.5484 GB, free: 14.05 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.3932, allocations: 11.98 kB / 0.5485 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3932, allocations: 4 kB / 0.5485 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3932, allocations: 0 / 0.5485 GB, free: 14.03 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.3943, allocations: 0.6878 MB / 0.5491 GB, free: 13.33 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.3943, allocations: 15.84 kB / 0.5492 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.365e-05/0.3944, allocations: 11.98 kB / 0.5492 GB, free: 13.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.3948, allocations: 19.97 kB / 0.5492 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.3949, allocations: 23.91 kB / 0.5492 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.794e-05/0.3949, allocations: 19.98 kB / 0.5492 GB, free: 13.24 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.831e-05/0.395, allocations: 103.2 kB / 0.5493 GB, free: 13.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.395, allocations: 0 / 0.5493 GB, free: 13.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000609/0.3956, allocations: 147.8 kB / 0.5495 GB, free: 12.99 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.002035/0.3976, allocations: 1.48 MB / 0.5509 GB, free: 11.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007456/0.3984, allocations: 411.6 kB / 0.5513 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3984, allocations: 0.8125 kB / 0.5513 GB, free: 11.08 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003444/0.3987, allocations: 216.5 kB / 0.5515 GB, free: 10.87 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006704/0.3994, allocations: 96.52 kB / 0.5516 GB, free: 10.77 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.4035, allocations: 3.249 MB / 0.5548 GB, free: 7.352 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.4038, allocations: 0.7402 MB / 0.5555 GB, free: 6.586 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004213/0.4043, allocations: 109.8 kB / 0.5556 GB, free: 6.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.4044, allocations: 63.41 kB / 0.5557 GB, free: 6.422 MB / 478.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4044, allocations: 0 / 0.5557 GB, free: 6.422 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1709/0.5753, allocations: 10.86 MB / 0.5663 GB, free: 163.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.99, allocations: 10.69 kB / 0.5663 GB, free: 163.5 MB / 478.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.25971913797548]