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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 105 kB / 20.48 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 213.2 kB / 23.79 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 207.6 MB / 234.6 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2229/0.2229, allocations: 44.24 MB / 331.1 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 80.39 kB / 468.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1333, allocations: 61.05 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4686/0.6019, allocations: 151.5 MB / 0.6648 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003083/0.605, allocations: 2.096 MB / 0.6669 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.6051, allocations: 0 / 0.6669 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004038/0.6055, allocations: 55.72 kB / 0.6669 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.6073, allocations: 0.6335 MB / 0.6676 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.6077, allocations: 107.7 kB / 0.6677 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004012/0.6081, allocations: 263.1 kB / 0.6679 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.6081, allocations: 7.984 kB / 0.6679 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002894/0.6084, allocations: 147.4 kB / 0.6681 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.6086, allocations: 91.7 kB / 0.6681 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.2e-05/0.6086, allocations: 12 kB / 0.6682 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.6104, allocations: 0.8729 MB / 0.669 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.6105, allocations: 83.7 kB / 0.6691 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.6106, allocations: 95.66 kB / 0.6692 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009672/0.6116, allocations: 0.6372 MB / 0.6698 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.6116, allocations: 4 kB / 0.6698 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6116, allocations: 4 kB / 0.6698 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.6116, allocations: 0 / 0.6698 GB, free: 7.336 MB / 0.4981 GB 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.000824/0.6124, allocations: 441.4 kB / 0.6702 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.6124, allocations: 11.97 kB / 0.6702 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.926e-05/0.6125, allocations: 4.516 kB / 0.6702 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.752e-05/0.6125, allocations: 54.73 kB / 0.6703 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.6145, allocations: 266.4 kB / 0.6706 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.6149, allocations: 218.5 kB / 0.6708 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.6149, allocations: 20.27 kB / 0.6708 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.792e-05/0.615, allocations: 23.94 kB / 0.6708 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008689/0.6159, allocations: 0.4929 MB / 0.6713 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.6159, allocations: 0.9375 kB / 0.6713 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.6159, allocations: 8 kB / 0.6713 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/0.616, allocations: 11.98 kB / 0.6713 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000929/0.6169, allocations: 0.5899 MB / 0.6719 GB, free: 5.145 MB / 0.4981 GB 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.002282/0.6192, allocations: 0.9756 MB / 0.6728 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.6196, allocations: 249 kB / 0.6731 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.6199, allocations: 177.6 kB / 0.6732 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007114/0.6206, allocations: 119.9 kB / 0.6734 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.6206, allocations: 38.89 kB / 0.6734 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=28): time 2.003e-06/0.6206, allocations: 0 / 0.6734 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.002045/0.6227, allocations: 0.5952 MB / 0.674 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.6227, allocations: 81.11 kB / 0.674 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.6228, allocations: 129.8 kB / 0.6742 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.6229, allocations: 29.7 kB / 0.6742 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.623, allocations: 116.5 kB / 0.6743 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.6231, allocations: 123 kB / 0.6744 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.6232, allocations: 57.7 kB / 0.6745 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6234, allocations: 334.8 kB / 0.6748 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.6237, allocations: 179.9 kB / 0.675 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004251/0.6241, allocations: 289.8 kB / 0.6753 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/0.6249, allocations: 488.1 kB / 0.6757 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.6249, allocations: 8 kB / 0.6757 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001071/0.626, allocations: 0.5205 MB / 0.6762 GB, free: 460 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.626, allocations: 4.406 kB / 0.6762 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.626, allocations: 8 kB / 0.6762 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.626, allocations: 4 kB / 0.6762 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.6266, allocations: 83.83 kB / 0.6763 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.6266, allocations: 7.984 kB / 0.6763 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/0.627, allocations: 40.77 kB / 0.6764 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.036e-05/0.627, allocations: 12 kB / 0.6764 GB, free: 300 kB / 0.4981 GB 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.0001962/0.6272, allocations: 153.6 kB / 0.6765 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6273, allocations: 15.91 kB / 0.6765 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.6284, allocations: 496.7 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6284, allocations: 8 kB / 0.677 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.6284, allocations: 3.984 kB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.6284, allocations: 4.875 kB / 0.677 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007972/0.6292, allocations: 432.9 kB / 0.6774 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.6292, allocations: 0 / 0.6774 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.6297, allocations: 55.97 kB / 0.6775 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.6297, allocations: 4 kB / 0.6775 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.043e-05/0.6297, allocations: 15.92 kB / 0.6775 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6297, allocations: 2.75 kB / 0.6775 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6297, allocations: 3.938 kB / 0.6775 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.6309, allocations: 0.7058 MB / 0.6782 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/0.6309, allocations: 15.89 kB / 0.6782 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.631, allocations: 7.984 kB / 0.6782 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/0.6315, allocations: 19.98 kB / 0.6783 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.441e-05/0.6315, allocations: 23.95 kB / 0.6783 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/0.6316, allocations: 15.98 kB / 0.6783 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.474e-05/0.6317, allocations: 99.27 kB / 0.6784 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6317, allocations: 0 / 0.6784 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007403/0.6324, allocations: 163.6 kB / 0.6785 GB, free: 14.01 MB / 0.5137 GB 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.002285/0.6347, allocations: 1.466 MB / 0.68 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008677/0.6356, allocations: 424.3 kB / 0.6804 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6356, allocations: 0 / 0.6804 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.6359, allocations: 208.6 kB / 0.6806 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007688/0.6367, allocations: 96.14 kB / 0.6807 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.6414, allocations: 3.226 MB / 0.6838 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.6418, allocations: 0.7408 MB / 0.6845 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004741/0.6423, allocations: 109.8 kB / 0.6847 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/0.6425, allocations: 67.41 kB / 0.6847 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of SimCode: time 7.72e-07/0.6425, allocations: 0 / 0.6847 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04859/0.6911, allocations: 10.81 MB / 0.6953 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.9, allocations: 8 kB / 0.6953 GB, free: 12.65 MB / 0.5294 GB " [Timeout remaining time 648] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.259335898037534]