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.001699/0.001699, allocations: 77.09 kB / 20.5 MB, free: 1.246 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.002008/0.002008, allocations: 163.3 kB / 23.75 MB, free: 4.219 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.576/1.576, allocations: 177.1 MB / 204 MB, free: 9.246 MB / 190.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.232/0.232, allocations: 34.27 MB / 294.7 MB, free: 14.64 MB / 286.1 MB " [Timeout remaining time 179] 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: 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_trunk_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_trunk_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 79.88 kB / 442.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3205, allocations: 66.06 MB / 0.4965 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1882/0.5087, allocations: 131.6 MB / 0.6251 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.5116, allocations: 1.974 MB / 0.627 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.5116, allocations: 4 kB / 0.627 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.512, allocations: 55.67 kB / 0.627 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.5138, allocations: 0.6415 MB / 0.6277 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.5141, allocations: 115.3 kB / 0.6278 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.5145, allocations: 267 kB / 0.628 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.5145, allocations: 4 kB / 0.628 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003886/0.5149, allocations: 175.4 kB / 0.6282 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.5151, allocations: 91.69 kB / 0.6283 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.5152, allocations: 8 kB / 0.6283 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.5167, allocations: 0.7636 MB / 0.629 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.5168, allocations: 87.77 kB / 0.6291 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.5169, allocations: 83.7 kB / 0.6292 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000994/0.5179, allocations: 0.6612 MB / 0.6299 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5179, allocations: 0 / 0.6299 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5179, allocations: 0 / 0.6299 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.5179, allocations: 0 / 0.6299 GB, free: 8.676 MB / 0.5294 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.0008306/0.5188, allocations: 445.4 kB / 0.6303 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5188, allocations: 8.031 kB / 0.6303 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.5208, allocations: 280.4 kB / 0.6306 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.5212, allocations: 226 kB / 0.6308 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.5212, allocations: 16.33 kB / 0.6308 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.369e-05/0.5213, allocations: 16 kB / 0.6308 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009473/0.5223, allocations: 0.6318 MB / 0.6314 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5223, allocations: 7.938 kB / 0.6314 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.5223, allocations: 8 kB / 0.6314 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.5224, allocations: 11.98 kB / 0.6314 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009784/0.5233, allocations: 0.5778 MB / 0.632 GB, free: 6.367 MB / 0.5294 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.002283/0.5256, allocations: 0.9104 MB / 0.6329 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.5261, allocations: 245 kB / 0.6331 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.5263, allocations: 181.6 kB / 0.6333 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008557/0.5272, allocations: 151.8 kB / 0.6334 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.5272, allocations: 38.56 kB / 0.6335 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.673e-06/0.5272, allocations: 0 / 0.6335 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.001965/0.5292, allocations: 0.6032 MB / 0.6341 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.541e-05/0.5293, allocations: 85.2 kB / 0.6342 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.5294, allocations: 125.8 kB / 0.6343 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.5295, allocations: 29.7 kB / 0.6343 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/0.5296, allocations: 124.5 kB / 0.6344 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.5297, allocations: 111 kB / 0.6345 GB, free: 3.672 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.5298, allocations: 73.47 kB / 0.6346 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.53, allocations: 322.8 kB / 0.6349 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.5304, allocations: 179.9 kB / 0.6351 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.5308, allocations: 288.8 kB / 0.6354 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008145/0.5316, allocations: 495.6 kB / 0.6358 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.5316, allocations: 0 / 0.6358 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00103/0.5327, allocations: 0.5244 MB / 0.6363 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5327, allocations: 8 kB / 0.6363 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5327, allocations: 4 kB / 0.6363 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.5327, allocations: 4 kB / 0.6364 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.5333, allocations: 80.3 kB / 0.6364 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.5333, allocations: 16.33 kB / 0.6364 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.5336, allocations: 35.77 kB / 0.6365 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.5337, allocations: 19.98 kB / 0.6365 GB, free: 1.543 MB / 0.5294 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.0001868/0.5339, allocations: 150.5 kB / 0.6366 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.534, allocations: 15.91 kB / 0.6367 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.535, allocations: 0.49 MB / 0.6371 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.5351, allocations: 4 kB / 0.6371 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5351, allocations: 0 / 0.6371 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.5351, allocations: 3.984 kB / 0.6371 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000723/0.5358, allocations: 342 kB / 0.6375 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5358, allocations: 7.938 kB / 0.6375 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.5363, allocations: 63.89 kB / 0.6375 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.5363, allocations: 3.984 kB / 0.6375 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.125e-05/0.5363, allocations: 12 kB / 0.6376 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.5363, allocations: 0 / 0.6376 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5363, allocations: 0 / 0.6376 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2519/0.7882, allocations: 0.6899 MB / 0.6382 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.7883, allocations: 15.69 kB / 0.6382 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.7884, allocations: 8.734 kB / 0.6382 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/0.7889, allocations: 21 kB / 0.6383 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.789, allocations: 19.14 kB / 0.6383 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-05/0.7891, allocations: 21.77 kB / 0.6383 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.714e-05/0.7892, allocations: 103 kB / 0.6384 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.7892, allocations: 0.5 kB / 0.6384 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001208/0.7904, allocations: 160.3 kB / 0.6386 GB, free: 142.6 MB / 0.5294 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.001036/0.7914, allocations: 343 kB / 0.6389 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00106/0.7925, allocations: 418.8 kB / 0.6393 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7925, allocations: 1.5 kB / 0.6393 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.7928, allocations: 212.5 kB / 0.6395 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.7935, allocations: 97.59 kB / 0.6396 GB, free: 142.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.7948, allocations: 0.8706 MB / 0.6404 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.795, allocations: 127.9 kB / 0.6406 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004589/0.7954, allocations: 119.4 kB / 0.6407 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.7956, allocations: 29.17 kB / 0.6407 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of SimCode: time 7.02e-07/0.7956, allocations: 0 / 0.6407 GB, free: 141.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.01333/0.8089, allocations: 8.179 MB / 0.6487 GB, free: 137.3 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (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 & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/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: 6.128826588392258]