Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_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.0008845/0.0008845, allocations: 97.72 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009284/0.0009284, allocations: 185.5 kB / 16.92 MB, free: 6.934 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.626/1.626, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.363/0.363, allocations: 43.57 MB / 315 MB, free: 9.023 MB / 254.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.0005706/0.0005705, allocations: 12 kB / 384.7 MB, free: 7.801 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1319, allocations: 58.87 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4343/0.5663, allocations: 146.9 MB / 0.5766 GB, free: 8.391 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.5688, allocations: 2.104 MB / 0.5786 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.5689, allocations: 0 / 0.5786 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.5692, allocations: 58.59 kB / 0.5787 GB, free: 6.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.5705, allocations: 0.5607 MB / 0.5792 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.5708, allocations: 87.83 kB / 0.5793 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.5712, allocations: 374.8 kB / 0.5797 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.5712, allocations: 10.66 kB / 0.5797 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.5715, allocations: 119.5 kB / 0.5798 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.5717, allocations: 99.7 kB / 0.5799 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.5717, allocations: 7.984 kB / 0.5799 GB, free: 5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001784/0.5735, allocations: 1.204 MB / 0.5811 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.5736, allocations: 75.77 kB / 0.5811 GB, free: 3.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.5738, allocations: 124 kB / 0.5812 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.5748, allocations: 0.7402 MB / 0.582 GB, free: 2.852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.5748, allocations: 4 kB / 0.582 GB, free: 2.848 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5748, allocations: 0 / 0.582 GB, free: 2.848 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.5748, allocations: 0 / 0.582 GB, free: 2.848 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.0006373/0.5755, allocations: 475 kB / 0.5824 GB, free: 2.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5755, allocations: 16.03 kB / 0.5824 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.309e-05/0.5756, allocations: 50.73 kB / 0.5825 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00694/0.5825, allocations: 0.724 MB / 0.5832 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.583, allocations: 272.1 kB / 0.5835 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.583, allocations: 16.69 kB / 0.5835 GB, free: 1.227 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.5832, allocations: 31.83 kB / 0.5835 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.5846, allocations: 0.7034 MB / 0.5842 GB, free: 492 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.5846, allocations: 0 / 0.5842 GB, free: 492 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/0.5847, allocations: 8 kB / 0.5842 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.5847, allocations: 7.984 kB / 0.5842 GB, free: 476 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.5867, allocations: 0.9265 MB / 0.5851 GB, free: 15.54 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.004868/0.5916, allocations: 1.984 MB / 0.587 GB, free: 13.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.5928, allocations: 0.5072 MB / 0.5875 GB, free: 12.86 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006376/0.5934, allocations: 329.4 kB / 0.5879 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006673/0.5941, allocations: 266.1 kB / 0.5881 GB, free: 12.24 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.5942, allocations: 38.56 kB / 0.5881 GB, free: 12.19 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/0.5942, allocations: 0 / 0.5881 GB, free: 12.19 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002164/0.5963, allocations: 0.8998 MB / 0.589 GB, free: 11.29 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.5964, allocations: 81.77 kB / 0.5891 GB, free: 11.19 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.5965, allocations: 125.8 kB / 0.5892 GB, free: 11.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.5966, allocations: 29.7 kB / 0.5893 GB, free: 11.02 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.5967, allocations: 108.4 kB / 0.5894 GB, free: 10.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5968, allocations: 114.4 kB / 0.5895 GB, free: 10.8 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.764e-05/0.5969, allocations: 33.7 kB / 0.5895 GB, free: 10.76 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.597, allocations: 326.8 kB / 0.5898 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.5976, allocations: 304.9 kB / 0.5901 GB, free: 10.13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006922/0.5983, allocations: 400.7 kB / 0.5905 GB, free: 9.695 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.5997, allocations: 0.6949 MB / 0.5912 GB, free: 8.957 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.5997, allocations: 0 / 0.5912 GB, free: 8.957 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001622/0.6013, allocations: 0.7511 MB / 0.5919 GB, free: 8.199 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.6014, allocations: 4 kB / 0.5919 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.6014, allocations: 4 kB / 0.5919 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.6014, allocations: 8 kB / 0.5919 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.6025, allocations: 95.8 kB / 0.592 GB, free: 8.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.6025, allocations: 8.672 kB / 0.592 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.6034, allocations: 59.72 kB / 0.5921 GB, free: 8.023 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.371e-05/0.6035, allocations: 19.98 kB / 0.5921 GB, free: 8.004 MB / 462.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.0002258/0.6037, allocations: 143.2 kB / 0.5922 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.6038, allocations: 23.78 kB / 0.5922 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001969/0.6058, allocations: 0.7779 MB / 0.593 GB, free: 7.055 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.6058, allocations: 4 kB / 0.593 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6058, allocations: 0 / 0.593 GB, free: 7.051 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.6059, allocations: 4 kB / 0.593 GB, free: 7.047 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.6069, allocations: 0.8144 MB / 0.5938 GB, free: 6.137 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6069, allocations: 4 kB / 0.5938 GB, free: 6.133 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.6079, allocations: 67.92 kB / 0.5939 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.608, allocations: 15.92 kB / 0.5939 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.608, allocations: 15.98 kB / 0.5939 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.608, allocations: 4 kB / 0.5939 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.608, allocations: 3.938 kB / 0.5939 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.6101, allocations: 0.9558 MB / 0.5948 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.203e-05/0.6102, allocations: 92.86 kB / 0.5949 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/0.6103, allocations: 11.98 kB / 0.5949 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009834/0.6113, allocations: 43.89 kB / 0.595 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.6114, allocations: 16.48 kB / 0.595 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/0.6114, allocations: 23.97 kB / 0.595 GB, free: 4.855 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.527e-05/0.6115, allocations: 96.03 kB / 0.5951 GB, free: 4.762 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6115, allocations: 0 / 0.5951 GB, free: 4.762 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000823/0.6123, allocations: 179.9 kB / 0.5953 GB, free: 4.586 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.003183/0.6155, allocations: 1.753 MB / 0.597 GB, free: 2.809 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.6171, allocations: 0.6526 MB / 0.5976 GB, free: 2.156 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6171, allocations: 0 / 0.5976 GB, free: 2.156 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006967/0.6178, allocations: 333.6 kB / 0.598 GB, free: 1.836 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008693/0.6187, allocations: 87.91 kB / 0.598 GB, free: 1.75 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006552/0.6253, allocations: 3.864 MB / 0.6018 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.6256, allocations: 0.7438 MB / 0.6025 GB, free: 12.96 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001356/0.627, allocations: 193.1 kB / 0.6027 GB, free: 12.77 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00038/0.6274, allocations: 67.39 kB / 0.6028 GB, free: 12.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.222e-06/0.6274, allocations: 0 / 0.6028 GB, free: 12.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.6533, allocations: 12.24 MB / 0.6147 GB, free: 488 kB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.6536, allocations: 180.1 kB / 0.6149 GB, free: 232 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.07/2.724, allocations: 0 / 0.6149 GB, free: 232 kB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches