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.007776/0.007776, allocations: 100.3 kB / 15.87 MB, free: 6.309 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.001494/0.001494, allocations: 192.9 kB / 16.79 MB, free: 6.238 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.47/1.47, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.3693/0.3693, allocations: 43.5 MB / 313.5 MB, free: 8.344 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.001455/0.001455, allocations: 74.97 kB / 382.1 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1189, allocations: 57.78 MB / 439.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.35/0.4689, allocations: 148.8 MB / 0.5749 GB, free: 7.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.4714, allocations: 2.146 MB / 0.577 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.768e-05/0.4715, allocations: 4 kB / 0.577 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003294/0.4718, allocations: 54.53 kB / 0.577 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.4731, allocations: 0.5529 MB / 0.5776 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.4734, allocations: 98.42 kB / 0.5777 GB, free: 4.398 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.4737, allocations: 370.9 kB / 0.578 GB, free: 4.035 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.4738, allocations: 6.656 kB / 0.578 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.474, allocations: 123.5 kB / 0.5781 GB, free: 3.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.4742, allocations: 103.6 kB / 0.5782 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.4743, allocations: 4 kB / 0.5782 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.4762, allocations: 1.204 MB / 0.5794 GB, free: 2.598 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.88e-05/0.4763, allocations: 80.56 kB / 0.5795 GB, free: 2.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.4764, allocations: 91.59 kB / 0.5796 GB, free: 2.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.4775, allocations: 0.7481 MB / 0.5803 GB, free: 1.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4776, allocations: 3.938 kB / 0.5803 GB, free: 1.676 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4776, allocations: 0 / 0.5803 GB, free: 1.676 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.4776, allocations: 0 / 0.5803 GB, free: 1.676 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.0008391/0.4784, allocations: 0.503 MB / 0.5808 GB, free: 1.129 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4785, allocations: 8.031 kB / 0.5808 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.072e-05/0.4786, allocations: 56.05 kB / 0.5809 GB, free: 1.059 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006835/0.4854, allocations: 0.7396 MB / 0.5816 GB, free: 332 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.4859, allocations: 284 kB / 0.5819 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.4859, allocations: 12.75 kB / 0.5819 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.486, allocations: 23.94 kB / 0.5819 GB, free: 15.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.4875, allocations: 0.711 MB / 0.5826 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4875, allocations: 0 / 0.5826 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.4876, allocations: 8 kB / 0.5826 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.4876, allocations: 8 kB / 0.5826 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.4896, allocations: 0.9178 MB / 0.5835 GB, free: 14.32 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.004721/0.4943, allocations: 1.988 MB / 0.5854 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001101/0.4954, allocations: 0.5104 MB / 0.5859 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006422/0.4961, allocations: 328.9 kB / 0.5863 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007138/0.4968, allocations: 282.2 kB / 0.5865 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.4968, allocations: 43.12 kB / 0.5866 GB, free: 10.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 3.105e-06/0.4968, allocations: 0 / 0.5866 GB, free: 10.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002078/0.4989, allocations: 0.888 MB / 0.5874 GB, free: 10.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.499, allocations: 85.05 kB / 0.5875 GB, free: 9.953 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.991e-05/0.4991, allocations: 125.8 kB / 0.5876 GB, free: 9.82 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.446e-05/0.4992, allocations: 33.7 kB / 0.5877 GB, free: 9.781 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.4992, allocations: 112.3 kB / 0.5878 GB, free: 9.668 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.4994, allocations: 106.5 kB / 0.5879 GB, free: 9.562 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.4996, allocations: 69.67 kB / 0.5879 GB, free: 9.488 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4997, allocations: 334.8 kB / 0.5883 GB, free: 9.152 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006033/0.5003, allocations: 295.8 kB / 0.5885 GB, free: 8.863 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.501, allocations: 400.7 kB / 0.5889 GB, free: 8.426 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.5023, allocations: 0.6987 MB / 0.5896 GB, free: 7.684 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5023, allocations: 1.188 kB / 0.5896 GB, free: 7.684 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001606/0.5039, allocations: 0.7433 MB / 0.5903 GB, free: 6.934 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5039, allocations: 8.062 kB / 0.5903 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.504, allocations: 4 kB / 0.5903 GB, free: 6.922 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.504, allocations: 8 kB / 0.5904 GB, free: 6.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009849/0.505, allocations: 99.84 kB / 0.5904 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.505, allocations: 4 kB / 0.5904 GB, free: 6.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.5058, allocations: 59.64 kB / 0.5905 GB, free: 6.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-05/0.5059, allocations: 23.98 kB / 0.5905 GB, free: 6.73 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.0002195/0.5061, allocations: 145.7 kB / 0.5907 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.5063, allocations: 23.75 kB / 0.5907 GB, free: 6.555 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/0.5082, allocations: 0.774 MB / 0.5914 GB, free: 5.781 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5082, allocations: 4 kB / 0.5915 GB, free: 5.777 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.5082, allocations: 7.938 kB / 0.5915 GB, free: 5.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.5082, allocations: 3.984 kB / 0.5915 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.5092, allocations: 0.8096 MB / 0.5923 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5092, allocations: 0 / 0.5923 GB, free: 4.859 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009426/0.5102, allocations: 75.86 kB / 0.5923 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.5102, allocations: 0 / 0.5923 GB, free: 4.785 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.444e-05/0.5103, allocations: 23.11 kB / 0.5923 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5103, allocations: 0 / 0.5923 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5103, allocations: 0 / 0.5923 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001955/0.5123, allocations: 0.9669 MB / 0.5933 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.044e-05/0.5123, allocations: 88.95 kB / 0.5934 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-05/0.5124, allocations: 8 kB / 0.5934 GB, free: 3.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008686/0.5133, allocations: 43.89 kB / 0.5934 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.5134, allocations: 23.91 kB / 0.5934 GB, free: 3.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-05/0.5134, allocations: 15.98 kB / 0.5935 GB, free: 3.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.169e-05/0.5135, allocations: 105.1 kB / 0.5936 GB, free: 3.488 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5135, allocations: 0 / 0.5936 GB, free: 3.488 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007438/0.5143, allocations: 179.8 kB / 0.5937 GB, free: 3.312 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.002968/0.5172, allocations: 1.748 MB / 0.5954 GB, free: 1.539 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.5187, allocations: 0.6511 MB / 0.5961 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5187, allocations: 4 kB / 0.5961 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006446/0.5193, allocations: 328.5 kB / 0.5964 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007293/0.5201, allocations: 98.62 kB / 0.5965 GB, free: 484 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005791/0.5259, allocations: 3.717 MB / 0.6001 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5262, allocations: 0.7478 MB / 0.6008 GB, free: 11.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001317/0.5275, allocations: 176.2 kB / 0.601 GB, free: 11.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000364/0.5279, allocations: 67.39 kB / 0.6011 GB, free: 11.59 MB / 478.1 MB Notification: Performance of SimCode: time 8.91e-07/0.5279, allocations: 0 / 0.6011 GB, free: 11.59 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04958/0.5775, allocations: 12.35 MB / 0.6131 GB, free: 15.23 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.5777, allocations: 186 kB / 0.6133 GB, free: 14.98 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.631, allocations: 0 / 0.6133 GB, free: 14.98 MB / 494.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