Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001429/0.001429, allocations: 77.88 kB / 21.42 MB, free: 3.07 MB / 18.57 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.001163/0.001163, allocations: 167.1 kB / 24.82 MB, free: 9.262 MB / 18.57 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.062/1.062, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3966/0.3966, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 378.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.203e-05/4.436e-05, allocations: 6.25 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4964/0.4964, allocations: 142.9 MB / 0.5091 GB, free: 19.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002855/0.4993, allocations: 2.209 MB / 0.5113 GB, free: 18.12 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.4994, allocations: 1.344 kB / 0.5113 GB, free: 18.12 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005508/0.5, allocations: 53.64 kB / 0.5113 GB, free: 18.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.5025, allocations: 0.6687 MB / 0.512 GB, free: 17.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.5029, allocations: 109.9 kB / 0.5121 GB, free: 17.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004925/0.5034, allocations: 259.9 kB / 0.5124 GB, free: 17.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.045e-05/0.5035, allocations: 7.797 kB / 0.5124 GB, free: 17.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/0.504, allocations: 178.2 kB / 0.5125 GB, free: 17.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.5043, allocations: 90.03 kB / 0.5126 GB, free: 17.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.5043, allocations: 8.875 kB / 0.5126 GB, free: 17.49 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00215/0.5065, allocations: 0.7706 MB / 0.5134 GB, free: 17.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.5066, allocations: 89.64 kB / 0.5135 GB, free: 17.2 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.5068, allocations: 81.08 kB / 0.5135 GB, free: 17.17 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.5083, allocations: 0.688 MB / 0.5142 GB, free: 16.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5083, allocations: 0 / 0.5142 GB, free: 16.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.5083, allocations: 0 / 0.5142 GB, free: 16.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.5083, allocations: 0 / 0.5142 GB, free: 16.96 MB / 410.7 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.0008684/0.5091, allocations: 0.5305 MB / 0.5147 GB, free: 16.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.044e-05/0.5092, allocations: 11.27 kB / 0.5147 GB, free: 16.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.5105, allocations: 297.5 kB / 0.515 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.5109, allocations: 216.5 kB / 0.5152 GB, free: 16.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.5109, allocations: 13.08 kB / 0.5152 GB, free: 16.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.511, allocations: 23.77 kB / 0.5153 GB, free: 16.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.5115, allocations: 485.5 kB / 0.5157 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5115, allocations: 0 / 0.5157 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/0.5115, allocations: 11.03 kB / 0.5157 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/0.5116, allocations: 5.531 kB / 0.5157 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003594/0.5119, allocations: 254.1 kB / 0.516 GB, free: 15.95 MB / 410.7 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.001404/0.5133, allocations: 0.8475 MB / 0.5168 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.5136, allocations: 166.6 kB / 0.517 GB, free: 15.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.5137, allocations: 97.39 kB / 0.5171 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004793/0.5142, allocations: 135.1 kB / 0.5172 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.5142, allocations: 42.3 kB / 0.5172 GB, free: 15.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.785e-06/0.5142, allocations: 0 / 0.5172 GB, free: 15.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.001046/0.5152, allocations: 416.5 kB / 0.5176 GB, free: 15.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.5153, allocations: 80.14 kB / 0.5177 GB, free: 15.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.5154, allocations: 189.8 kB / 0.5179 GB, free: 14.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.5154, allocations: 32.73 kB / 0.5179 GB, free: 14.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.5155, allocations: 166.3 kB / 0.5181 GB, free: 14.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.5156, allocations: 115.8 kB / 0.5182 GB, free: 14.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.5157, allocations: 66.53 kB / 0.5183 GB, free: 14.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.467e-05/0.5158, allocations: 0.5066 MB / 0.5187 GB, free: 14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.5159, allocations: 77.55 kB / 0.5188 GB, free: 14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.516, allocations: 230 kB / 0.519 GB, free: 13.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.5163, allocations: 336 kB / 0.5194 GB, free: 13.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.5164, allocations: 2.938 kB / 0.5194 GB, free: 13.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000516/0.5169, allocations: 342.6 kB / 0.5197 GB, free: 13.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.5169, allocations: 8.906 kB / 0.5197 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.5169, allocations: 2.5 kB / 0.5197 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.5169, allocations: 8.031 kB / 0.5197 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.5172, allocations: 74.53 kB / 0.5198 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5172, allocations: 9.828 kB / 0.5198 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.5174, allocations: 31.75 kB / 0.5198 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.5174, allocations: 15.08 kB / 0.5198 GB, free: 13.42 MB / 410.7 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.0001152/0.5175, allocations: 186.5 kB / 0.52 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.596e-05/0.5176, allocations: 33.25 kB / 0.52 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.5181, allocations: 326.6 kB / 0.5204 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.5181, allocations: 9.594 kB / 0.5204 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.5181, allocations: 0 / 0.5204 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5181, allocations: 0 / 0.5204 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.5185, allocations: 297.2 kB / 0.5206 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5185, allocations: 0 / 0.5206 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.5187, allocations: 50.34 kB / 0.5207 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5187, allocations: 0 / 0.5207 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.5188, allocations: 12.08 kB / 0.5207 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.5188, allocations: 9.812 kB / 0.5207 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5188, allocations: 4 kB / 0.5207 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005703/0.5194, allocations: 0.6196 MB / 0.5213 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.5194, allocations: 21.67 kB / 0.5213 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.5194, allocations: 8.922 kB / 0.5214 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.5196, allocations: 12.39 kB / 0.5214 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.5197, allocations: 25.62 kB / 0.5214 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.5197, allocations: 12.8 kB / 0.5214 GB, free: 12.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.032e-05/0.5197, allocations: 136.1 kB / 0.5215 GB, free: 12.37 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5197, allocations: 7.938 kB / 0.5215 GB, free: 12.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007681/0.5205, allocations: 162 kB / 0.5217 GB, free: 12.33 MB / 410.7 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.000647/0.5211, allocations: 355.4 kB / 0.522 GB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.5215, allocations: 249.1 kB / 0.5223 GB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5215, allocations: 0 / 0.5223 GB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.5216, allocations: 141.1 kB / 0.5224 GB, free: 12.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/0.5221, allocations: 109.2 kB / 0.5225 GB, free: 12.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001189/0.5233, allocations: 0.67 MB / 0.5232 GB, free: 11.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.103e-05/0.5234, allocations: 86.48 kB / 0.5232 GB, free: 11.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002808/0.5237, allocations: 76.55 kB / 0.5233 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003224/0.524, allocations: 188.2 kB / 0.5235 GB, free: 11.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.444e-06/0.524, allocations: 0 / 0.5235 GB, free: 11.41 MB / 410.7 MB Notification: Performance of Templates: time 0.01282/0.5368, allocations: 9.714 MB / 0.533 GB, free: 8.609 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.166288850829005]