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.001546/0.001546, allocations: 102.3 kB / 15.98 MB, free: 6.348 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.001585/0.001584, allocations: 198.4 kB / 16.91 MB, free: 6.191 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.652/1.652, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.3966/0.3966, allocations: 43.5 MB / 313.6 MB, free: 8.461 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.001698/0.001698, allocations: 63.91 kB / 382.3 MB, free: 8.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1427, allocations: 57.78 MB / 440.1 MB, free: 14.65 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4576/0.6003, allocations: 148.9 MB / 0.5752 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.6039, allocations: 2.079 MB / 0.5772 GB, free: 5.105 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.6041, allocations: 4 kB / 0.5772 GB, free: 5.102 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006063/0.6047, allocations: 50.16 kB / 0.5773 GB, free: 5.055 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002211/0.607, allocations: 0.5689 MB / 0.5778 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.6074, allocations: 87.83 kB / 0.5779 GB, free: 4.406 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00038/0.6078, allocations: 264.4 kB / 0.5781 GB, free: 4.148 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.687e-05/0.6079, allocations: 18.64 kB / 0.5782 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.6082, allocations: 131.5 kB / 0.5783 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.6084, allocations: 99.7 kB / 0.5784 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.6085, allocations: 8 kB / 0.5784 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.6103, allocations: 1.08 MB / 0.5794 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.6104, allocations: 87.75 kB / 0.5795 GB, free: 2.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.6106, allocations: 91.64 kB / 0.5796 GB, free: 2.641 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.6117, allocations: 0.7481 MB / 0.5803 GB, free: 1.891 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6117, allocations: 4 kB / 0.5803 GB, free: 1.887 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6117, allocations: 4 kB / 0.5804 GB, free: 1.883 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.6117, allocations: 0 / 0.5804 GB, free: 1.883 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.0008626/0.6126, allocations: 0.4991 MB / 0.5808 GB, free: 1.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/0.6127, allocations: 15.83 kB / 0.5809 GB, free: 1.324 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.557e-05/0.6127, allocations: 54.73 kB / 0.5809 GB, free: 1.262 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006872/0.6196, allocations: 0.7431 MB / 0.5816 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.6201, allocations: 280.7 kB / 0.5819 GB, free: 220 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.6202, allocations: 16.7 kB / 0.5819 GB, free: 204 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.6203, allocations: 15.94 kB / 0.5819 GB, free: 188 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.6218, allocations: 0.7074 MB / 0.5826 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.6218, allocations: 0 / 0.5826 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/0.6219, allocations: 9 kB / 0.5826 GB, free: 15.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.6219, allocations: 11.94 kB / 0.5826 GB, free: 15.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.6239, allocations: 0.9251 MB / 0.5835 GB, free: 14.52 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.005136/0.629, allocations: 1.984 MB / 0.5855 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.6302, allocations: 0.5104 MB / 0.586 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.6308, allocations: 329.5 kB / 0.5863 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008004/0.6316, allocations: 274.1 kB / 0.5866 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.6317, allocations: 40 kB / 0.5866 GB, free: 11.16 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 2.595e-06/0.6317, allocations: 0 / 0.5866 GB, free: 11.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002195/0.6339, allocations: 0.896 MB / 0.5875 GB, free: 10.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.6339, allocations: 81.11 kB / 0.5875 GB, free: 10.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.6341, allocations: 126 kB / 0.5877 GB, free: 10.03 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/0.6341, allocations: 33.64 kB / 0.5877 GB, free: 9.988 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.6342, allocations: 120.3 kB / 0.5878 GB, free: 9.867 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.6344, allocations: 98.5 kB / 0.5879 GB, free: 9.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.6346, allocations: 77.67 kB / 0.588 GB, free: 9.688 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.6347, allocations: 326.8 kB / 0.5883 GB, free: 9.359 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006136/0.6353, allocations: 295.8 kB / 0.5886 GB, free: 9.07 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006695/0.636, allocations: 396.7 kB / 0.589 GB, free: 8.637 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.6373, allocations: 0.6947 MB / 0.5896 GB, free: 7.898 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6373, allocations: 4 kB / 0.5896 GB, free: 7.895 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001601/0.639, allocations: 0.751 MB / 0.5904 GB, free: 7.137 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.639, allocations: 4 kB / 0.5904 GB, free: 7.133 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.639, allocations: 4 kB / 0.5904 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.639, allocations: 8 kB / 0.5904 GB, free: 7.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.6401, allocations: 99.78 kB / 0.5905 GB, free: 7.023 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.6401, allocations: 5.719 kB / 0.5905 GB, free: 7.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008696/0.641, allocations: 63.8 kB / 0.5905 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.6411, allocations: 23.92 kB / 0.5906 GB, free: 6.934 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.0002431/0.6413, allocations: 145.7 kB / 0.5907 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.6415, allocations: 23.75 kB / 0.5907 GB, free: 6.758 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.6434, allocations: 0.7741 MB / 0.5915 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6434, allocations: 4 kB / 0.5915 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6435, allocations: 0 / 0.5915 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.6435, allocations: 4 kB / 0.5915 GB, free: 5.977 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.6445, allocations: 0.8134 MB / 0.5923 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6445, allocations: 4 kB / 0.5923 GB, free: 5.062 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.6456, allocations: 75.86 kB / 0.5924 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.6456, allocations: 4 kB / 0.5924 GB, free: 4.984 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.6457, allocations: 15.98 kB / 0.5924 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.6457, allocations: 4 kB / 0.5924 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.6457, allocations: 0 / 0.5924 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.6476, allocations: 0.961 MB / 0.5933 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.6477, allocations: 88.95 kB / 0.5934 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.149e-05/0.6478, allocations: 8 kB / 0.5934 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009657/0.6488, allocations: 43.89 kB / 0.5935 GB, free: 3.836 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.6488, allocations: 19.97 kB / 0.5935 GB, free: 3.816 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.238e-05/0.6489, allocations: 19.98 kB / 0.5935 GB, free: 3.797 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.762e-05/0.649, allocations: 103.2 kB / 0.5936 GB, free: 3.695 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.649, allocations: 0 / 0.5936 GB, free: 3.695 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008721/0.6499, allocations: 183.8 kB / 0.5938 GB, free: 3.516 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.003126/0.653, allocations: 1.744 MB / 0.5955 GB, free: 1.746 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.6545, allocations: 0.6722 MB / 0.5961 GB, free: 1.074 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6545, allocations: 0 / 0.5961 GB, free: 1.074 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000657/0.6552, allocations: 339.9 kB / 0.5965 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.6559, allocations: 92.64 kB / 0.5965 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006004/0.662, allocations: 3.717 MB / 0.6002 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.6623, allocations: 0.7478 MB / 0.6009 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001324/0.6636, allocations: 173.7 kB / 0.6011 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.664, allocations: 67.39 kB / 0.6011 GB, free: 11.79 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/0.664, allocations: 3.938 kB / 0.6011 GB, free: 11.78 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02816/0.6922, allocations: 12.65 MB / 0.6135 GB, free: 15.12 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.6924, allocations: 201.3 kB / 0.6137 GB, free: 14.86 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.157/2.849, allocations: 0 / 0.6137 GB, free: 14.86 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