Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001622/0.001622, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002424/0.002424, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2213/0.2213, allocations: 44.91 MB / 359.6 MB, free: 6.336 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00196/0.00196, allocations: 63.91 kB / 0.4938 GB, free: 10.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3425, allocations: 65.47 MB / 0.5578 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1957/0.5382, allocations: 153.1 MB / 0.7072 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003471/0.5417, allocations: 2.196 MB / 0.7094 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.5418, allocations: 4 kB / 0.7094 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.5423, allocations: 67.58 kB / 0.7095 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002316/0.5446, allocations: 0.6337 MB / 0.7101 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.545, allocations: 115.7 kB / 0.7102 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004825/0.5455, allocations: 263 kB / 0.7104 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.227e-05/0.5455, allocations: 11.98 kB / 0.7105 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.5459, allocations: 147.4 kB / 0.7106 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/0.5462, allocations: 91.7 kB / 0.7107 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.5462, allocations: 8 kB / 0.7107 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001983/0.5482, allocations: 0.8923 MB / 0.7116 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.5484, allocations: 91.75 kB / 0.7116 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000164/0.5486, allocations: 91.61 kB / 0.7117 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.5502, allocations: 0.6642 MB / 0.7124 GB, free: 8.902 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.5502, allocations: 0 / 0.7124 GB, free: 8.902 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5502, allocations: 0 / 0.7124 GB, free: 8.902 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.5502, allocations: 0 / 0.7124 GB, free: 8.902 MB / 0.545 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.001091/0.5513, allocations: 449.4 kB / 0.7128 GB, free: 8.434 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.5513, allocations: 12.03 kB / 0.7128 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.098e-05/0.5514, allocations: 4.516 kB / 0.7128 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.773e-05/0.5514, allocations: 54.73 kB / 0.7129 GB, free: 8.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.5537, allocations: 272.5 kB / 0.7131 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005111/0.5542, allocations: 237.5 kB / 0.7134 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.5542, allocations: 12.33 kB / 0.7134 GB, free: 7.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.969e-05/0.5543, allocations: 16 kB / 0.7134 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008829/0.5552, allocations: 0.4889 MB / 0.7139 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5552, allocations: 0 / 0.7139 GB, free: 7.305 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.5552, allocations: 4 kB / 0.7139 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.5553, allocations: 11.98 kB / 0.7139 GB, free: 7.289 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009569/0.5562, allocations: 0.5894 MB / 0.7145 GB, free: 6.699 MB / 0.545 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.002479/0.5587, allocations: 0.9872 MB / 0.7154 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004572/0.5591, allocations: 239.3 kB / 0.7157 GB, free: 5.414 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.5594, allocations: 177.6 kB / 0.7158 GB, free: 5.234 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009505/0.5604, allocations: 151.8 kB / 0.716 GB, free: 5.086 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/0.5604, allocations: 42.55 kB / 0.716 GB, free: 5.035 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 3.036e-06/0.5604, allocations: 0 / 0.716 GB, free: 5.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.002151/0.5626, allocations: 0.5917 MB / 0.7166 GB, free: 4.438 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.5627, allocations: 81.11 kB / 0.7167 GB, free: 4.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/0.5628, allocations: 137.7 kB / 0.7168 GB, free: 4.195 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.5629, allocations: 33.7 kB / 0.7168 GB, free: 4.156 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.563, allocations: 124.4 kB / 0.7169 GB, free: 4.031 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.5632, allocations: 111.1 kB / 0.7171 GB, free: 3.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/0.5633, allocations: 65.48 kB / 0.7171 GB, free: 3.852 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.5635, allocations: 330.8 kB / 0.7174 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.5639, allocations: 183.9 kB / 0.7176 GB, free: 3.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.5644, allocations: 301.5 kB / 0.7179 GB, free: 3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008553/0.5652, allocations: 486 kB / 0.7184 GB, free: 2.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5652, allocations: 0 / 0.7184 GB, free: 2.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001075/0.5663, allocations: 0.5237 MB / 0.7189 GB, free: 1.953 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5663, allocations: 8 kB / 0.7189 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.5663, allocations: 4 kB / 0.7189 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.5663, allocations: 4 kB / 0.7189 GB, free: 1.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000578/0.5669, allocations: 80.23 kB / 0.719 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.5669, allocations: 16.05 kB / 0.719 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.5674, allocations: 39.77 kB / 0.719 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/0.5674, allocations: 16 kB / 0.719 GB, free: 1.789 MB / 0.545 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.0002807/0.5677, allocations: 145.7 kB / 0.7192 GB, free: 1.637 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.5679, allocations: 19.91 kB / 0.7192 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.569, allocations: 490 kB / 0.7197 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.569, allocations: 0 / 0.7197 GB, free: 1.133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.341e-05/0.569, allocations: 4 kB / 0.7197 GB, free: 1.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.569, allocations: 3.984 kB / 0.7197 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.5699, allocations: 436.9 kB / 0.7201 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5699, allocations: 7.938 kB / 0.7201 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.5704, allocations: 55.91 kB / 0.7201 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.5704, allocations: 4 kB / 0.7201 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.5705, allocations: 11.98 kB / 0.7202 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5705, allocations: 0 / 0.7202 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5705, allocations: 4 kB / 0.7202 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.5718, allocations: 0.6878 MB / 0.7208 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.5718, allocations: 19.84 kB / 0.7208 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.5719, allocations: 11.98 kB / 0.7209 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.5724, allocations: 15.98 kB / 0.7209 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.5724, allocations: 19.95 kB / 0.7209 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/0.5725, allocations: 15.98 kB / 0.7209 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.515e-05/0.5726, allocations: 107.2 kB / 0.721 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5726, allocations: 7.938 kB / 0.721 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007498/0.5733, allocations: 163.6 kB / 0.7212 GB, free: 15.52 MB / 0.5606 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.002645/0.576, allocations: 1.458 MB / 0.7226 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000909/0.5769, allocations: 427.1 kB / 0.723 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5769, allocations: 3.938 kB / 0.723 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.5773, allocations: 203.8 kB / 0.7232 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000777/0.578, allocations: 103.9 kB / 0.7233 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/0.5831, allocations: 3.23 MB / 0.7265 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.5836, allocations: 0.7439 MB / 0.7272 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004991/0.584, allocations: 109.8 kB / 0.7273 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.5843, allocations: 67.34 kB / 0.7274 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of SimCode: time 1.713e-06/0.5843, allocations: 0 / 0.7274 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2831/0.8674, allocations: 10.76 MB / 0.7379 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/12.19, allocations: 8.938 kB / 0.7379 GB, free: 178.5 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.40680156101007]