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.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 3.2.3+maint.om/package.mo", uses=false) 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.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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 97.98 kB / 17.58 MB, free: 5.418 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.001354/0.001354, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 55.92 kB / 280.7 MB, free: 3.098 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0819/0.08309, allocations: 46.64 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3036/0.3868, allocations: 151 MB / 478.3 MB, free: 108 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.3891, allocations: 2.089 MB / 480.4 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.117e-05/0.3892, allocations: 0 / 480.4 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.3896, allocations: 59.72 kB / 480.5 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.391, allocations: 0.6066 MB / 481.1 MB, free: 13.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.3913, allocations: 103.7 kB / 481.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.3917, allocations: 259 kB / 481.5 MB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.3917, allocations: 11.7 kB / 481.5 MB, free: 13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.392, allocations: 135.5 kB / 481.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.3921, allocations: 91.66 kB / 481.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.3922, allocations: 8 kB / 481.7 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001471/0.3937, allocations: 0.912 MB / 482.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.667e-05/0.3938, allocations: 83.75 kB / 482.7 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.3939, allocations: 95.59 kB / 482.8 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009141/0.3948, allocations: 0.6704 MB / 483.5 MB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3948, allocations: 3.938 kB / 483.5 MB, free: 11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3948, allocations: 4 kB / 483.5 MB, free: 11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3948, allocations: 0 / 483.5 MB, free: 11 MB / 382.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.0007168/0.3955, allocations: 0.5 MB / 484 MB, free: 10.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3956, allocations: 15.97 kB / 484 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.559e-05/0.3957, allocations: 54.73 kB / 484 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007372/0.403, allocations: 0.7384 MB / 484.8 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004067/0.4035, allocations: 276.9 kB / 485 MB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.4035, allocations: 12.7 kB / 485 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.4036, allocations: 23.94 kB / 485.1 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.4049, allocations: 0.7112 MB / 485.8 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4049, allocations: 0 / 485.8 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.512e-05/0.405, allocations: 11.94 kB / 485.8 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.4051, allocations: 4 kB / 485.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.407, allocations: 0.9251 MB / 486.7 MB, free: 7.625 MB / 382.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.005104/0.4121, allocations: 2.02 MB / 488.7 MB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.4133, allocations: 0.5123 MB / 489.3 MB, free: 4.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.414, allocations: 321.5 kB / 489.6 MB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007774/0.4148, allocations: 274.1 kB / 489.8 MB, free: 4.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.4149, allocations: 34.56 kB / 489.9 MB, free: 4.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.734e-06/0.4149, allocations: 0 / 489.9 MB, free: 4.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002166/0.417, allocations: 0.8921 MB / 490.8 MB, free: 3.332 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.4171, allocations: 81.11 kB / 490.8 MB, free: 3.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.4172, allocations: 129.7 kB / 491 MB, free: 3.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/0.4173, allocations: 29.7 kB / 491 MB, free: 3.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.4173, allocations: 116.4 kB / 491.1 MB, free: 2.945 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.4175, allocations: 110.4 kB / 491.2 MB, free: 2.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001872/0.4177, allocations: 73.67 kB / 491.3 MB, free: 2.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4178, allocations: 322.8 kB / 491.6 MB, free: 2.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006216/0.4184, allocations: 299.8 kB / 491.9 MB, free: 2.141 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006842/0.4191, allocations: 412.2 kB / 492.3 MB, free: 1.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.4204, allocations: 0.6964 MB / 493 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4204, allocations: 0 / 493 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001617/0.4221, allocations: 0.7471 MB / 493.7 MB, free: 200 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4221, allocations: 4 kB / 493.7 MB, free: 196 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4221, allocations: 4.625 kB / 493.8 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.4222, allocations: 8 kB / 493.8 MB, free: 184 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.4233, allocations: 99.78 kB / 493.9 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.4233, allocations: 4 kB / 493.9 MB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000888/0.4242, allocations: 55.81 kB / 493.9 MB, free: 24 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.4242, allocations: 23.97 kB / 493.9 MB, free: 0 / 382.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.0001921/0.4244, allocations: 141.8 kB / 494.1 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.4246, allocations: 15.84 kB / 494.1 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001894/0.4265, allocations: 0.7732 MB / 494.9 MB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.4265, allocations: 4 kB / 494.9 MB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4265, allocations: 3.938 kB / 494.9 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4265, allocations: 0 / 494.9 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009778/0.4275, allocations: 0.8097 MB / 495.7 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4275, allocations: 4 kB / 495.7 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.4286, allocations: 71.91 kB / 495.8 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.4286, allocations: 11.98 kB / 495.8 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.4287, allocations: 15.98 kB / 495.8 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4287, allocations: 4.078 kB / 495.8 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4287, allocations: 7.922 kB / 495.8 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.4306, allocations: 0.9526 MB / 496.8 MB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.4307, allocations: 96.84 kB / 496.8 MB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.883e-05/0.4308, allocations: 11.69 kB / 496.9 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009732/0.4317, allocations: 31.95 kB / 496.9 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.4318, allocations: 19.98 kB / 496.9 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.3e-05/0.4319, allocations: 23.97 kB / 496.9 MB, free: 12.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.774e-05/0.4319, allocations: 96.58 kB / 497 MB, free: 12.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4319, allocations: 0 / 497 MB, free: 12.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000689/0.4326, allocations: 187.9 kB / 497.2 MB, free: 12.58 MB / 398.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.00292/0.4356, allocations: 1.746 MB / 499 MB, free: 10.8 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.437, allocations: 0.6794 MB / 499.6 MB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.437, allocations: 0 / 499.6 MB, free: 10.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006565/0.4376, allocations: 332.5 kB / 500 MB, free: 9.801 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.4384, allocations: 89.23 kB / 0.4883 GB, free: 9.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005794/0.4442, allocations: 3.663 MB / 0.4919 GB, free: 5.887 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.4445, allocations: 0.7324 MB / 0.4926 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001226/0.4457, allocations: 181.7 kB / 0.4928 GB, free: 4.949 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.446, allocations: 67.39 kB / 0.4929 GB, free: 4.883 MB / 398.1 MB Notification: Performance of SimCode: time 4.1e-07/0.446, allocations: 0 / 0.4929 GB, free: 4.883 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03034/0.4764, allocations: 12.83 MB / 0.5054 GB, free: 7.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/8.005, allocations: 4 kB / 0.5054 GB, free: 7.941 MB / 414.1 MB (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 --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) 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) Reference file matches