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.001373/0.001373, allocations: 114.9 kB / 17.84 MB, free: 5.242 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.001511/0.001511, allocations: 198.3 kB / 20.79 MB, free: 2.301 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.601/1.601, allocations: 207.6 MB / 231.2 MB, free: 4.094 MB / 174.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.3524/0.3524, allocations: 44.23 MB / 327.3 MB, free: 6.684 MB / 254.1 MB " [Timeout remaining time 180] 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.002538/0.002538, allocations: 75.91 kB / 462.9 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3087, allocations: 61.01 MB / 0.5116 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5413/0.85, allocations: 151.4 MB / 0.6595 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002171/0.8521, allocations: 2.094 MB / 0.6615 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.021e-05/0.8522, allocations: 1.719 kB / 0.6615 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.8525, allocations: 56.8 kB / 0.6616 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.854, allocations: 0.6212 MB / 0.6622 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.8543, allocations: 106.7 kB / 0.6623 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000365/0.8546, allocations: 260.2 kB / 0.6626 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.8547, allocations: 11.61 kB / 0.6626 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.855, allocations: 138.3 kB / 0.6627 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.8551, allocations: 100.3 kB / 0.6628 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.8552, allocations: 8.938 kB / 0.6628 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.8567, allocations: 0.8605 MB / 0.6636 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.523e-05/0.8568, allocations: 84.11 kB / 0.6637 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.8569, allocations: 95.48 kB / 0.6638 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.858, allocations: 0.6453 MB / 0.6644 GB, free: 480 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.858, allocations: 0 / 0.6644 GB, free: 480 kB / 0.4981 GB Notification: Performance of FrontEnd: time 7.82e-07/0.858, allocations: 0.6562 kB / 0.6644 GB, free: 480 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.8581, allocations: 4 kB / 0.6645 GB, free: 476 kB / 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.0008516/0.8589, allocations: 0.5026 MB / 0.6649 GB, free: 16.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.8589, allocations: 14.89 kB / 0.665 GB, free: 16.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.027e-05/0.859, allocations: 3.266 kB / 0.665 GB, free: 16.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.859, allocations: 52.06 kB / 0.665 GB, free: 16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001888/0.8609, allocations: 268.3 kB / 0.6653 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004003/0.8613, allocations: 274 kB / 0.6655 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.8613, allocations: 16.11 kB / 0.6655 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.8614, allocations: 29.48 kB / 0.6656 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000678/0.8621, allocations: 0.5009 MB / 0.6661 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.8621, allocations: 0 / 0.6661 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.829e-05/0.8621, allocations: 10.09 kB / 0.6661 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.8621, allocations: 8.125 kB / 0.6661 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008461/0.863, allocations: 0.5844 MB / 0.6666 GB, free: 15.71 MB / 0.5137 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.002368/0.8654, allocations: 1.005 MB / 0.6676 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.8658, allocations: 238.7 kB / 0.6679 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.866, allocations: 181.6 kB / 0.668 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000796/0.8668, allocations: 280.3 kB / 0.6683 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.8669, allocations: 40.92 kB / 0.6683 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 1.433e-06/0.8669, allocations: 1.094 kB / 0.6683 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28): time 0.002013/0.8689, allocations: 0.5912 MB / 0.6689 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.8689, allocations: 83.89 kB / 0.669 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.8691, allocations: 125.8 kB / 0.6691 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.8691, allocations: 34.8 kB / 0.6691 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/0.8692, allocations: 115.7 kB / 0.6693 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.8693, allocations: 116.5 kB / 0.6694 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.8694, allocations: 67.11 kB / 0.6694 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.8696, allocations: 326.2 kB / 0.6697 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.8699, allocations: 190.5 kB / 0.6699 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.8703, allocations: 281.5 kB / 0.6702 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/0.871, allocations: 495 kB / 0.6707 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.871, allocations: 1.781 kB / 0.6707 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008927/0.8719, allocations: 0.5264 MB / 0.6712 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.8719, allocations: 11.75 kB / 0.6712 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8719, allocations: 2.094 kB / 0.6712 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8719, allocations: 5.156 kB / 0.6712 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.8725, allocations: 87.25 kB / 0.6713 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.8725, allocations: 10.25 kB / 0.6713 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.8729, allocations: 32.47 kB / 0.6713 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.8729, allocations: 21.45 kB / 0.6713 GB, free: 13.92 MB / 0.5137 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.0001709/0.8731, allocations: 147.2 kB / 0.6715 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.8732, allocations: 15.31 kB / 0.6715 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008589/0.8741, allocations: 0.4906 MB / 0.672 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.8741, allocations: 7.328 kB / 0.672 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8741, allocations: 4 kB / 0.672 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8741, allocations: 0 / 0.672 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007152/0.8748, allocations: 469 kB / 0.6724 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.8748, allocations: 4 kB / 0.6724 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.8753, allocations: 61.61 kB / 0.6725 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.8753, allocations: 3.281 kB / 0.6725 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.8753, allocations: 6.781 kB / 0.6725 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.8753, allocations: 5.375 kB / 0.6725 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8753, allocations: 0 / 0.6725 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000995/0.8763, allocations: 0.6926 MB / 0.6732 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.8764, allocations: 90.19 kB / 0.6733 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.8765, allocations: 6.906 kB / 0.6733 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004897/0.877, allocations: 25.86 kB / 0.6733 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.877, allocations: 14.41 kB / 0.6733 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.877, allocations: 21.14 kB / 0.6733 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.681e-05/0.8771, allocations: 106.2 kB / 0.6734 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.8771, allocations: 0 / 0.6734 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008324/0.8779, allocations: 157.1 kB / 0.6736 GB, free: 13.04 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.002048/0.88, allocations: 1.472 MB / 0.675 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000693/0.8807, allocations: 420.2 kB / 0.6754 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.8807, allocations: 0 / 0.6754 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.881, allocations: 214.6 kB / 0.6756 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006806/0.8817, allocations: 88.08 kB / 0.6757 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004116/0.8858, allocations: 3.227 MB / 0.6789 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.8862, allocations: 0.7417 MB / 0.6796 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004687/0.8867, allocations: 112.5 kB / 0.6797 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.8869, allocations: 64.28 kB / 0.6798 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of SimCode: time 4.11e-07/0.8869, allocations: 0 / 0.6798 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.9182, allocations: 10.46 MB / 0.69 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.568/9.486, allocations: 10.88 kB / 0.69 GB, free: 8.008 MB / 0.5137 GB " [Timeout remaining time 650] (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: 12.677381151996087]