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.001534/0.001534, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001795/0.001795, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 8.23 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.2314/0.2314, allocations: 44.91 MB / 359.6 MB, free: 6.332 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: 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.FlueGas") [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.00227/0.00227, allocations: 63.91 kB / 0.4943 GB, free: 10.24 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3175, allocations: 65.46 MB / 0.5582 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1886/0.5061, allocations: 153.1 MB / 0.7077 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003112/0.5092, allocations: 2.2 MB / 0.7099 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.5093, allocations: 0 / 0.7099 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004087/0.5097, allocations: 59.66 kB / 0.7099 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.5116, allocations: 0.6454 MB / 0.7105 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.512, allocations: 107.7 kB / 0.7106 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004498/0.5124, allocations: 267 kB / 0.7109 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.832e-05/0.5125, allocations: 11.98 kB / 0.7109 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003661/0.5129, allocations: 143.4 kB / 0.711 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.5131, allocations: 103.6 kB / 0.7111 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.42e-05/0.5131, allocations: 8 kB / 0.7112 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001903/0.515, allocations: 0.8923 MB / 0.712 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.5152, allocations: 83.81 kB / 0.7121 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.5153, allocations: 103.6 kB / 0.7122 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001348/0.5167, allocations: 0.6609 MB / 0.7129 GB, free: 8.805 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5167, allocations: 0 / 0.7129 GB, free: 8.805 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5167, allocations: 0 / 0.7129 GB, free: 8.805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.5167, allocations: 0 / 0.7129 GB, free: 8.805 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.0009707/0.5177, allocations: 445.4 kB / 0.7133 GB, free: 8.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.5177, allocations: 8.031 kB / 0.7133 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002128/0.5198, allocations: 272.5 kB / 0.7135 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005255/0.5203, allocations: 222 kB / 0.7138 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.5204, allocations: 12.33 kB / 0.7138 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.5205, allocations: 24 kB / 0.7138 GB, free: 7.789 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008303/0.5213, allocations: 0.4967 MB / 0.7143 GB, free: 7.281 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5213, allocations: 3.938 kB / 0.7143 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.5214, allocations: 8 kB / 0.7143 GB, free: 7.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.5214, allocations: 8 kB / 0.7143 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009396/0.5223, allocations: 0.5813 MB / 0.7149 GB, free: 6.684 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.5248, allocations: 0.9912 MB / 0.7158 GB, free: 5.645 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.5252, allocations: 233.1 kB / 0.7161 GB, free: 5.398 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.5255, allocations: 192.2 kB / 0.7162 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009009/0.5264, allocations: 148 kB / 0.7164 GB, free: 5.062 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.5265, allocations: 50.44 kB / 0.7164 GB, free: 5.004 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 2.224e-06/0.5265, allocations: 0 / 0.7164 GB, free: 5.004 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001987/0.5285, allocations: 0.5915 MB / 0.717 GB, free: 4.406 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.5285, allocations: 81.11 kB / 0.7171 GB, free: 4.309 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.5287, allocations: 125.8 kB / 0.7172 GB, free: 4.176 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.011e-05/0.5287, allocations: 29.7 kB / 0.7172 GB, free: 4.141 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.945e-05/0.5288, allocations: 120.5 kB / 0.7173 GB, free: 4.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.5289, allocations: 119 kB / 0.7175 GB, free: 3.902 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.529, allocations: 61.48 kB / 0.7175 GB, free: 3.836 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5292, allocations: 330.8 kB / 0.7178 GB, free: 3.504 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/0.5296, allocations: 183.9 kB / 0.718 GB, free: 3.324 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.53, allocations: 293.6 kB / 0.7183 GB, free: 2.992 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008108/0.5308, allocations: 494.9 kB / 0.7188 GB, free: 2.465 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.5308, allocations: 7.938 kB / 0.7188 GB, free: 2.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001049/0.5319, allocations: 0.5168 MB / 0.7193 GB, free: 1.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.5319, allocations: 4 kB / 0.7193 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5319, allocations: 4 kB / 0.7193 GB, free: 1.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.5319, allocations: 4 kB / 0.7193 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.5325, allocations: 83.89 kB / 0.7194 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.5325, allocations: 11.92 kB / 0.7194 GB, free: 1.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.5329, allocations: 35.77 kB / 0.7194 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.5329, allocations: 24.27 kB / 0.7194 GB, free: 1.77 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.0001793/0.5331, allocations: 145.7 kB / 0.7196 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.5332, allocations: 15.91 kB / 0.7196 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.5342, allocations: 496 kB / 0.7201 GB, free: 1.113 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.5342, allocations: 7.984 kB / 0.7201 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5342, allocations: 0 / 0.7201 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5342, allocations: 0 / 0.7201 GB, free: 1.105 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008039/0.5351, allocations: 436.8 kB / 0.7205 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5351, allocations: 0 / 0.7205 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000519/0.5356, allocations: 63.91 kB / 0.7205 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.5356, allocations: 3.984 kB / 0.7205 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.5356, allocations: 8 kB / 0.7206 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.5356, allocations: 4 kB / 0.7206 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5356, allocations: 0 / 0.7206 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.5369, allocations: 0.6918 MB / 0.7212 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.537, allocations: 23.83 kB / 0.7213 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.537, allocations: 8 kB / 0.7213 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/0.5375, allocations: 15.98 kB / 0.7213 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.5376, allocations: 19.95 kB / 0.7213 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.5376, allocations: 19.98 kB / 0.7213 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.88e-05/0.5377, allocations: 99.27 kB / 0.7214 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.5377, allocations: 0 / 0.7214 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00082/0.5385, allocations: 163.6 kB / 0.7216 GB, free: 15.5 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.0009702/0.5395, allocations: 362.5 kB / 0.7219 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008391/0.5403, allocations: 407.6 kB / 0.7223 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5403, allocations: 0 / 0.7223 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.5407, allocations: 211.2 kB / 0.7225 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/0.5415, allocations: 95.33 kB / 0.7226 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.5432, allocations: 0.9128 MB / 0.7235 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.5437, allocations: 0.7327 MB / 0.7242 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.5439, allocations: 39.42 kB / 0.7242 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.5439, allocations: 0 / 0.7242 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.01233/0.5562, allocations: 6.691 MB / 0.7308 GB, free: 6.016 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] 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: 9.044626435963437]