Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.93 MB / 360.8 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002641/0.002641, allocations: 83.88 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3249, allocations: 66.08 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1837/0.5086, allocations: 153.1 MB / 0.7102 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002821/0.5114, allocations: 2.2 MB / 0.7124 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.101e-05/0.5115, allocations: 0 / 0.7124 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.5118, allocations: 59.7 kB / 0.7124 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/0.5136, allocations: 0.6453 MB / 0.713 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003233/0.5139, allocations: 103.8 kB / 0.7131 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.5143, allocations: 271 kB / 0.7134 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.5143, allocations: 4 kB / 0.7134 GB, free: 7.352 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.5147, allocations: 147.4 kB / 0.7135 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.5149, allocations: 99.62 kB / 0.7136 GB, free: 7.109 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.5149, allocations: 12 kB / 0.7136 GB, free: 7.098 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.5167, allocations: 0.8962 MB / 0.7145 GB, free: 6.199 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.5168, allocations: 75.83 kB / 0.7146 GB, free: 6.125 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.5169, allocations: 103.6 kB / 0.7147 GB, free: 6.023 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.5182, allocations: 0.6564 MB / 0.7153 GB, free: 5.367 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5182, allocations: 8 kB / 0.7153 GB, free: 5.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.288e-06/0.5182, allocations: 4 kB / 0.7153 GB, free: 5.355 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.096e-06/0.5182, allocations: 0 / 0.7153 GB, free: 5.355 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.0009008/0.5191, allocations: 433.5 kB / 0.7158 GB, free: 4.902 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.5191, allocations: 16.02 kB / 0.7158 GB, free: 4.887 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.457e-05/0.5192, allocations: 54.67 kB / 0.7158 GB, free: 4.824 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002024/0.5212, allocations: 276.5 kB / 0.7161 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.5217, allocations: 225.8 kB / 0.7163 GB, free: 4.309 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.5217, allocations: 12.33 kB / 0.7163 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-05/0.5218, allocations: 20 kB / 0.7163 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008188/0.5226, allocations: 0.4928 MB / 0.7168 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5226, allocations: 0 / 0.7168 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.5227, allocations: 4 kB / 0.7168 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.5227, allocations: 15.98 kB / 0.7168 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/0.5236, allocations: 0.5778 MB / 0.7174 GB, free: 3.176 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.002422/0.526, allocations: 0.9872 MB / 0.7184 GB, free: 2.141 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.5264, allocations: 233.1 kB / 0.7186 GB, free: 1.895 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.5267, allocations: 185.6 kB / 0.7188 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008571/0.5275, allocations: 147.8 kB / 0.7189 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.5276, allocations: 42.5 kB / 0.7189 GB, free: 1.512 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.5276, allocations: 0 / 0.7189 GB, free: 1.512 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001981/0.5296, allocations: 0.6022 MB / 0.7195 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.5296, allocations: 81.11 kB / 0.7196 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.5298, allocations: 125.8 kB / 0.7197 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/0.5298, allocations: 33.7 kB / 0.7198 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.268e-05/0.5299, allocations: 124.5 kB / 0.7199 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.53, allocations: 103.1 kB / 0.72 GB, free: 420 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.5302, allocations: 73.47 kB / 0.7201 GB, free: 340 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5303, allocations: 326.8 kB / 0.7204 GB, free: 4 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.5307, allocations: 187.9 kB / 0.7205 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.5311, allocations: 288.5 kB / 0.7208 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.5319, allocations: 495.1 kB / 0.7213 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.5319, allocations: 4 kB / 0.7213 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001001/0.5329, allocations: 0.5206 MB / 0.7218 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.5329, allocations: 10.19 kB / 0.7218 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.533, allocations: 4 kB / 0.7218 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.533, allocations: 7.984 kB / 0.7218 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.5335, allocations: 79.89 kB / 0.7219 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.5335, allocations: 7.938 kB / 0.7219 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.5339, allocations: 36.08 kB / 0.7219 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.534, allocations: 27.98 kB / 0.722 GB, free: 14.27 MB / 0.5606 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.0001885/0.5342, allocations: 147 kB / 0.7221 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.5343, allocations: 15.91 kB / 0.7221 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009688/0.5352, allocations: 498.3 kB / 0.7226 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5352, allocations: 0 / 0.7226 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5353, allocations: 4 kB / 0.7226 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5353, allocations: 3.984 kB / 0.7226 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007753/0.536, allocations: 432.8 kB / 0.723 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.536, allocations: 0 / 0.723 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004959/0.5365, allocations: 63.89 kB / 0.7231 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.5365, allocations: 4 kB / 0.7231 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.954e-05/0.5366, allocations: 11.98 kB / 0.7231 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.5366, allocations: 0 / 0.7231 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5366, allocations: 4 kB / 0.7231 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.5377, allocations: 0.6904 MB / 0.7238 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.5378, allocations: 19.84 kB / 0.7238 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.5378, allocations: 8 kB / 0.7238 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.5383, allocations: 19.97 kB / 0.7238 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.5384, allocations: 19.97 kB / 0.7238 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.5384, allocations: 11.98 kB / 0.7238 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.636e-05/0.5385, allocations: 103.2 kB / 0.7239 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5385, allocations: 4 kB / 0.724 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006898/0.5392, allocations: 163.6 kB / 0.7241 GB, free: 12 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.002258/0.5414, allocations: 1.47 MB / 0.7255 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008199/0.5422, allocations: 419.8 kB / 0.7259 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5422, allocations: 0 / 0.7259 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.5426, allocations: 211.8 kB / 0.7261 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.5433, allocations: 97.03 kB / 0.7262 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.5479, allocations: 3.226 MB / 0.7294 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.5483, allocations: 0.7478 MB / 0.7301 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004663/0.5488, allocations: 109.8 kB / 0.7302 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.549, allocations: 59.42 kB / 0.7303 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of SimCode: time 8.11e-07/0.549, allocations: 0 / 0.7303 GB, free: 5.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2844/0.8334, allocations: 10.74 MB / 0.7408 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.86, allocations: 11.38 kB / 0.7408 GB, free: 174 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_FlueGas.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 14.956221143947914]