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.00154/0.00154, allocations: 98.88 kB / 16.27 MB, free: 5.961 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.002047/0.002047, allocations: 193.8 kB / 17.2 MB, free: 5.598 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.524/1.524, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2539/0.2539, allocations: 43.51 MB / 313.9 MB, free: 0.5273 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.001755/0.001755, allocations: 66.05 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1124, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4795/0.5919, allocations: 151 MB / 0.5777 GB, free: 12.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.5942, allocations: 2.089 MB / 0.5798 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.285e-05/0.5944, allocations: 4 kB / 0.5798 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003703/0.5948, allocations: 57.09 kB / 0.5798 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.5964, allocations: 0.6025 MB / 0.5804 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.5967, allocations: 106.1 kB / 0.5805 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.5971, allocations: 266 kB / 0.5808 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.5971, allocations: 12.84 kB / 0.5808 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.5974, allocations: 133.2 kB / 0.5809 GB, free: 12.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.5975, allocations: 87.41 kB / 0.581 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.5976, allocations: 10.09 kB / 0.581 GB, free: 12.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.599, allocations: 0.9147 MB / 0.5819 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.428e-05/0.5991, allocations: 85.78 kB / 0.582 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.5992, allocations: 93.55 kB / 0.5821 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008646/0.6001, allocations: 0.6682 MB / 0.5827 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6001, allocations: 0 / 0.5827 GB, free: 11.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.6001, allocations: 0 / 0.5827 GB, free: 11.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.6002, allocations: 2 kB / 0.5827 GB, free: 11.86 MB / 430.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.0006969/0.6009, allocations: 0.4959 MB / 0.5832 GB, free: 11.44 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.6009, allocations: 13.95 kB / 0.5832 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.196e-05/0.601, allocations: 52.14 kB / 0.5833 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007536/0.6085, allocations: 0.7409 MB / 0.584 GB, free: 11.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.609, allocations: 282.6 kB / 0.5843 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.6091, allocations: 9.359 kB / 0.5843 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.6092, allocations: 23.19 kB / 0.5843 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.6106, allocations: 0.7045 MB / 0.585 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.6106, allocations: 0 / 0.585 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.183e-05/0.6107, allocations: 9.188 kB / 0.585 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.6108, allocations: 7.688 kB / 0.585 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.6127, allocations: 0.9267 MB / 0.5859 GB, free: 10.44 MB / 430.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.005185/0.6179, allocations: 2.014 MB / 0.5879 GB, free: 8.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.619, allocations: 0.5102 MB / 0.5884 GB, free: 8.848 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006074/0.6197, allocations: 338.1 kB / 0.5887 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008248/0.6205, allocations: 269.3 kB / 0.5889 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.6205, allocations: 35.97 kB / 0.589 GB, free: 8.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.744e-06/0.6205, allocations: 0 / 0.589 GB, free: 8.516 MB / 430.1 MB Notification: Performance of matching and sorting (n=28): time 0.002172/0.6227, allocations: 0.897 MB / 0.5899 GB, free: 8.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.6228, allocations: 79.89 kB / 0.5899 GB, free: 8.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.6229, allocations: 127.7 kB / 0.59 GB, free: 8.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.623, allocations: 32.2 kB / 0.5901 GB, free: 8.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.6231, allocations: 116.4 kB / 0.5902 GB, free: 8.016 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.6232, allocations: 106.8 kB / 0.5903 GB, free: 7.941 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.6234, allocations: 70.45 kB / 0.5904 GB, free: 7.914 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6236, allocations: 326.6 kB / 0.5907 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006024/0.6242, allocations: 302.3 kB / 0.591 GB, free: 7.547 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000703/0.6249, allocations: 394.9 kB / 0.5913 GB, free: 7.379 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.6262, allocations: 0.6907 MB / 0.592 GB, free: 7.188 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6262, allocations: 2.625 kB / 0.592 GB, free: 7.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001546/0.6278, allocations: 0.7468 MB / 0.5927 GB, free: 7.031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.6278, allocations: 6.844 kB / 0.5927 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6278, allocations: 2.531 kB / 0.5928 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.6279, allocations: 5.219 kB / 0.5928 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.629, allocations: 103 kB / 0.5929 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.629, allocations: 9.25 kB / 0.5929 GB, free: 6.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009185/0.63, allocations: 48.34 kB / 0.5929 GB, free: 6.973 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.07e-05/0.63, allocations: 21.83 kB / 0.5929 GB, free: 6.969 MB / 430.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.0002214/0.6303, allocations: 142.8 kB / 0.5931 GB, free: 6.848 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.6304, allocations: 21.69 kB / 0.5931 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.6324, allocations: 0.7748 MB / 0.5938 GB, free: 6.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.6324, allocations: 9.281 kB / 0.5939 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6324, allocations: 0 / 0.5939 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.6324, allocations: 3.984 kB / 0.5939 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009745/0.6334, allocations: 0.8028 MB / 0.5946 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.6334, allocations: 3.625 kB / 0.5946 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.6345, allocations: 81.52 kB / 0.5947 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.6345, allocations: 2.719 kB / 0.5947 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.6346, allocations: 16.12 kB / 0.5947 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.6346, allocations: 2.5 kB / 0.5947 GB, free: 5.918 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6346, allocations: 3.938 kB / 0.5947 GB, free: 5.914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.6366, allocations: 0.9574 MB / 0.5957 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.6366, allocations: 97.56 kB / 0.5958 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.137e-05/0.6367, allocations: 5.781 kB / 0.5958 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/0.6378, allocations: 34.52 kB / 0.5958 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.6378, allocations: 20.69 kB / 0.5958 GB, free: 5.453 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.6379, allocations: 16.11 kB / 0.5958 GB, free: 5.449 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.062e-05/0.638, allocations: 106.2 kB / 0.5959 GB, free: 5.367 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.638, allocations: 0 / 0.5959 GB, free: 5.367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008298/0.6388, allocations: 187 kB / 0.5961 GB, free: 5.34 MB / 430.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.003118/0.642, allocations: 1.751 MB / 0.5978 GB, free: 4.371 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.6434, allocations: 0.6709 MB / 0.5985 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.6434, allocations: 0 / 0.5985 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006889/0.6441, allocations: 336.5 kB / 0.5988 GB, free: 4.203 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007921/0.6449, allocations: 91.34 kB / 0.5989 GB, free: 4.168 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/0.6508, allocations: 3.668 MB / 0.6025 GB, free: 1.902 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.6512, allocations: 0.743 MB / 0.6032 GB, free: 1.176 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001283/0.6525, allocations: 177.9 kB / 0.6034 GB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.6528, allocations: 67.42 kB / 0.6034 GB, free: 1.027 MB / 430.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6528, allocations: 0 / 0.6034 GB, free: 1.027 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.685, allocations: 12.76 MB / 0.6159 GB, free: 6.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.481, allocations: 7.688 kB / 0.6159 GB, free: 6.176 MB / 446.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches