Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.008446/0.008446, allocations: 106.6 kB / 21.98 MB, free: 5.223 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.002119/0.002119, allocations: 216.6 kB / 25.29 MB, free: 3.203 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.462/1.462, allocations: 230.5 MB / 258.9 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2406/0.2406, allocations: 46.93 MB / 362.3 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: 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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 83.86 kB / 0.4982 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3154, allocations: 66.07 MB / 0.5627 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.182/0.4973, allocations: 153.1 MB / 0.7122 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002825/0.5001, allocations: 2.2 MB / 0.7143 GB, free: 8.359 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.5002, allocations: 8 kB / 0.7144 GB, free: 8.352 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.5006, allocations: 51.72 kB / 0.7144 GB, free: 8.301 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001505/0.5021, allocations: 0.6492 MB / 0.715 GB, free: 7.652 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.5024, allocations: 103.8 kB / 0.7151 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.5028, allocations: 274.9 kB / 0.7154 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.716e-05/0.5028, allocations: 4 kB / 0.7154 GB, free: 7.277 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.5031, allocations: 147.4 kB / 0.7155 GB, free: 7.133 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.5033, allocations: 91.7 kB / 0.7156 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.5034, allocations: 8 kB / 0.7156 GB, free: 7.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.5049, allocations: 0.8962 MB / 0.7165 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.505, allocations: 87.77 kB / 0.7166 GB, free: 6.051 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.5052, allocations: 91.66 kB / 0.7167 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009497/0.5061, allocations: 0.6648 MB / 0.7173 GB, free: 5.301 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5061, allocations: 0 / 0.7173 GB, free: 5.301 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5061, allocations: 0 / 0.7173 GB, free: 5.301 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.5061, allocations: 0 / 0.7173 GB, free: 5.301 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.0008015/0.5069, allocations: 445.4 kB / 0.7178 GB, free: 4.836 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.507, allocations: 8.031 kB / 0.7178 GB, free: 4.828 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001927/0.5089, allocations: 284.5 kB / 0.718 GB, free: 4.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.5094, allocations: 226 kB / 0.7183 GB, free: 4.305 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.5094, allocations: 12.33 kB / 0.7183 GB, free: 4.293 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.231e-05/0.5095, allocations: 16 kB / 0.7183 GB, free: 4.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000788/0.5102, allocations: 0.4928 MB / 0.7188 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5103, allocations: 0 / 0.7188 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.5103, allocations: 4 kB / 0.7188 GB, free: 3.77 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.533e-05/0.5103, allocations: 12 kB / 0.7188 GB, free: 3.758 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000919/0.5112, allocations: 0.5816 MB / 0.7193 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.00223/0.5135, allocations: 0.9912 MB / 0.7203 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.5139, allocations: 237.1 kB / 0.7205 GB, free: 1.887 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002596/0.5142, allocations: 177.6 kB / 0.7207 GB, free: 1.707 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008427/0.515, allocations: 156 kB / 0.7209 GB, free: 1.555 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.515, allocations: 38.5 kB / 0.7209 GB, free: 1.508 MB / 0.545 GB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.515, allocations: 0 / 0.7209 GB, free: 1.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=28): time 0.001922/0.517, allocations: 0.5939 MB / 0.7215 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.517, allocations: 85.05 kB / 0.7216 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.5172, allocations: 133.8 kB / 0.7217 GB, free: 0.668 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.781e-05/0.5172, allocations: 37.64 kB / 0.7217 GB, free: 0.625 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.5173, allocations: 116.5 kB / 0.7218 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.5174, allocations: 111 kB / 0.7219 GB, free: 408 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.5175, allocations: 73.47 kB / 0.722 GB, free: 328 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5177, allocations: 322.8 kB / 0.7223 GB, free: 16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.518, allocations: 183.9 kB / 0.7225 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.5184, allocations: 292.5 kB / 0.7228 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008021/0.5193, allocations: 496.4 kB / 0.7232 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.5193, allocations: 0 / 0.7232 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009738/0.5202, allocations: 0.5146 MB / 0.7237 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.5203, allocations: 14.33 kB / 0.7238 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.5203, allocations: 4 kB / 0.7238 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.5203, allocations: 4 kB / 0.7238 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005052/0.5208, allocations: 79.89 kB / 0.7238 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.5208, allocations: 4.406 kB / 0.7238 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.5212, allocations: 39.77 kB / 0.7239 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.5212, allocations: 20 kB / 0.7239 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.0001742/0.5214, allocations: 153.6 kB / 0.7241 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.5215, allocations: 23.89 kB / 0.7241 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009803/0.5225, allocations: 494.4 kB / 0.7245 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.5225, allocations: 0 / 0.7245 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5225, allocations: 4 kB / 0.7245 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.5225, allocations: 0 / 0.7245 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000741/0.5232, allocations: 432.9 kB / 0.725 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5232, allocations: 4 kB / 0.725 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.5237, allocations: 59.89 kB / 0.725 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5237, allocations: 7.938 kB / 0.725 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.5237, allocations: 11.98 kB / 0.725 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5237, allocations: 0 / 0.725 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5237, allocations: 4 kB / 0.725 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.5249, allocations: 0.6879 MB / 0.7257 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.5249, allocations: 19.84 kB / 0.7257 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.253e-05/0.525, allocations: 11.94 kB / 0.7257 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.5254, allocations: 19.97 kB / 0.7258 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/0.5255, allocations: 19.97 kB / 0.7258 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.5255, allocations: 11.98 kB / 0.7258 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.372e-05/0.5256, allocations: 107.2 kB / 0.7259 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5256, allocations: 4 kB / 0.7259 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006502/0.5262, allocations: 163.6 kB / 0.7261 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.000801/0.527, allocations: 350.6 kB / 0.7264 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008194/0.5278, allocations: 411.6 kB / 0.7268 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.5279, allocations: 4.812 kB / 0.7268 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.5282, allocations: 211.8 kB / 0.727 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.5289, allocations: 88.39 kB / 0.7271 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.5304, allocations: 0.9167 MB / 0.728 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.5307, allocations: 0.7366 MB / 0.7287 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.531, allocations: 39.36 kB / 0.7287 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.531, allocations: 4 kB / 0.7287 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.009976/0.5409, allocations: 6.687 MB / 0.7353 GB, free: 2.492 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_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: 8.974735097028315]