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.002123/0.002123, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.002344/0.002344, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 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.586/1.586, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 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.216/0.216, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 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: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.873e-05, allocations: 2.312 kB / 346.9 MB, free: 9.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.4857/0.4857, allocations: 143.6 MB / 490.6 MB, free: 9.355 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.4882, allocations: 2.139 MB / 492.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.272e-05/0.4882, allocations: 0 / 492.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004113/0.4886, allocations: 51.97 kB / 492.7 MB, free: 8.934 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001556/0.4902, allocations: 0.6338 MB / 493.4 MB, free: 8.609 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.4905, allocations: 117.8 kB / 493.5 MB, free: 8.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.4908, allocations: 257.9 kB / 493.7 MB, free: 8.484 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.266e-05/0.4909, allocations: 9.875 kB / 493.8 MB, free: 8.484 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000356/0.4912, allocations: 164.4 kB / 493.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.4914, allocations: 84.91 kB / 494 MB, free: 8.395 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.231e-05/0.4915, allocations: 8.438 kB / 494 MB, free: 8.395 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.4929, allocations: 0.7534 MB / 494.8 MB, free: 8.148 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.493, allocations: 88.92 kB / 494.8 MB, free: 8.121 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.4931, allocations: 76.48 kB / 494.9 MB, free: 8.105 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.4942, allocations: 0.6993 MB / 495.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4942, allocations: 0 / 495.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4942, allocations: 0 / 495.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.4942, allocations: 0 / 495.6 MB, free: 7.867 MB / 362.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.0008718/0.4951, allocations: 0.5363 MB / 496.2 MB, free: 7.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.4952, allocations: 8.875 kB / 496.2 MB, free: 7.402 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/0.4972, allocations: 332.6 kB / 496.5 MB, free: 7.277 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.4977, allocations: 216.2 kB / 496.7 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.4977, allocations: 14.2 kB / 496.7 MB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.389e-05/0.4978, allocations: 24.61 kB / 496.7 MB, free: 7.109 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/0.4985, allocations: 0.5244 MB / 497.3 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4985, allocations: 3.938 kB / 497.3 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.4986, allocations: 5.812 kB / 497.3 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.032e-05/0.4986, allocations: 5.969 kB / 497.3 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007325/0.4994, allocations: 363.4 kB / 497.6 MB, free: 6.699 MB / 362.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.002182/0.5015, allocations: 0.9174 MB / 498.6 MB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.5019, allocations: 197.8 kB / 498.7 MB, free: 6.051 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.5021, allocations: 122.3 kB / 498.9 MB, free: 6.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006504/0.5027, allocations: 119.8 kB / 499 MB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.5028, allocations: 43.05 kB / 499 MB, free: 5.938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.513e-06/0.5028, allocations: 0 / 499 MB, free: 5.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.00172/0.5045, allocations: 491.6 kB / 499.5 MB, free: 5.812 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.5045, allocations: 86.83 kB / 499.6 MB, free: 5.715 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.5047, allocations: 184.7 kB / 499.8 MB, free: 5.543 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/0.5047, allocations: 35.77 kB / 499.8 MB, free: 5.508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.5048, allocations: 163.5 kB / 500 MB, free: 5.355 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.7e-05/0.5048, allocations: 117.8 kB / 0.4884 GB, free: 5.273 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/0.505, allocations: 75.41 kB / 0.4884 GB, free: 5.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5051, allocations: 0.5 MB / 0.4889 GB, free: 4.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.5054, allocations: 135.4 kB / 0.489 GB, free: 4.727 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003046/0.5057, allocations: 274.9 kB / 0.4893 GB, free: 4.531 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005692/0.5062, allocations: 441.1 kB / 0.4897 GB, free: 4.324 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5062, allocations: 3.938 kB / 0.4897 GB, free: 4.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007767/0.507, allocations: 446 kB / 0.4902 GB, free: 4.219 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.507, allocations: 5.812 kB / 0.4902 GB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.507, allocations: 2.375 kB / 0.4902 GB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.5071, allocations: 9.906 kB / 0.4902 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.5076, allocations: 78.64 kB / 0.4902 GB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.5076, allocations: 10.09 kB / 0.4903 GB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.508, allocations: 34.17 kB / 0.4903 GB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.508, allocations: 21.84 kB / 0.4903 GB, free: 4.176 MB / 362.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.0001588/0.5082, allocations: 183.4 kB / 0.4905 GB, free: 4.004 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.5083, allocations: 25.12 kB / 0.4905 GB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008673/0.5092, allocations: 414.6 kB / 0.4909 GB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.477e-05/0.5092, allocations: 14.28 kB / 0.4909 GB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.5092, allocations: 3.281 kB / 0.4909 GB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.5092, allocations: 0 / 0.4909 GB, free: 3.883 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006153/0.5098, allocations: 327.9 kB / 0.4912 GB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.5098, allocations: 0 / 0.4912 GB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000511/0.5104, allocations: 62.7 kB / 0.4913 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.5104, allocations: 2.344 kB / 0.4913 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.283e-05/0.5104, allocations: 6.344 kB / 0.4913 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/0.5104, allocations: 10.67 kB / 0.4913 GB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5104, allocations: 3.938 kB / 0.4913 GB, free: 3.633 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009735/0.5114, allocations: 0.731 MB / 0.492 GB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.5114, allocations: 13.67 kB / 0.492 GB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.5115, allocations: 13.06 kB / 0.4921 GB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004578/0.5119, allocations: 23.84 kB / 0.4921 GB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.512, allocations: 16.72 kB / 0.4921 GB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.349e-05/0.512, allocations: 15.3 kB / 0.4921 GB, free: 3.234 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.307e-05/0.5121, allocations: 141.5 kB / 0.4922 GB, free: 3.113 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5121, allocations: 4 kB / 0.4922 GB, free: 3.109 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007291/0.5128, allocations: 164 kB / 0.4924 GB, free: 3.082 MB / 362.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.0007742/0.5136, allocations: 341.6 kB / 0.4927 GB, free: 2.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006347/0.5142, allocations: 346.2 kB / 0.4931 GB, free: 2.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5142, allocations: 0 / 0.4931 GB, free: 2.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.5145, allocations: 174.8 kB / 0.4932 GB, free: 2.801 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007368/0.5152, allocations: 100.5 kB / 0.4933 GB, free: 2.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.5163, allocations: 0.6863 MB / 0.494 GB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.5164, allocations: 119.5 kB / 0.4941 GB, free: 2.184 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004078/0.5168, allocations: 101 kB / 0.4942 GB, free: 2.113 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.5169, allocations: 29.58 kB / 0.4942 GB, free: 2.102 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5169, allocations: 0 / 0.4942 GB, free: 2.102 MB / 362.7 MB Notification: Performance of Templates: time 0.01591/0.5328, allocations: 8.388 MB / 0.5024 GB, free: 10.59 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (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 & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/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: 5.934705065912567]