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.001814/0.001814, allocations: 73.41 kB / 21.24 MB, free: 0.5547 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.002262/0.002262, allocations: 158.6 kB / 24.5 MB, free: 3.715 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.498/1.498, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] 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.2205/0.2205, allocations: 34.27 MB / 295.5 MB, free: 14.56 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+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.1.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.1.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 71.88 kB / 443.1 MB, free: 6.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3158, allocations: 66 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.1855/0.5014, allocations: 131.6 MB / 0.6258 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.5041, allocations: 1.974 MB / 0.6277 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.5042, allocations: 0 / 0.6277 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.5045, allocations: 55.73 kB / 0.6277 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.5062, allocations: 0.6414 MB / 0.6284 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003175/0.5065, allocations: 103.5 kB / 0.6285 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.5069, allocations: 271 kB / 0.6287 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.274e-05/0.5069, allocations: 4 kB / 0.6287 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.5073, allocations: 151.4 kB / 0.6289 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.5075, allocations: 95.69 kB / 0.629 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.252e-05/0.5075, allocations: 8 kB / 0.629 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.5091, allocations: 0.7558 MB / 0.6297 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.5092, allocations: 87.7 kB / 0.6298 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.5093, allocations: 91.7 kB / 0.6299 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.5105, allocations: 0.6502 MB / 0.6305 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5105, allocations: 0 / 0.6305 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.254e-06/0.5105, allocations: 3.938 kB / 0.6305 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.5105, allocations: 0 / 0.6305 GB, free: 12.8 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.0009042/0.5114, allocations: 452 kB / 0.6309 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.5114, allocations: 8.031 kB / 0.631 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002056/0.5135, allocations: 284.5 kB / 0.6312 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.5139, allocations: 222 kB / 0.6314 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.514, allocations: 12.33 kB / 0.6314 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.373e-05/0.514, allocations: 20 kB / 0.6315 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009246/0.515, allocations: 0.6396 MB / 0.6321 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.515, allocations: 0 / 0.6321 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.515, allocations: 8 kB / 0.6321 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.515, allocations: 8.5 kB / 0.6321 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/0.516, allocations: 0.5777 MB / 0.6327 GB, free: 10.49 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.002237/0.5182, allocations: 0.9059 MB / 0.6336 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.5186, allocations: 241 kB / 0.6338 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.5189, allocations: 181.7 kB / 0.634 GB, free: 9.109 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008548/0.5198, allocations: 155.8 kB / 0.6341 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.594e-05/0.5199, allocations: 42.56 kB / 0.6341 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.5199, allocations: 0 / 0.6341 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=28): time 0.002171/0.522, allocations: 0.5957 MB / 0.6347 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.5221, allocations: 81.11 kB / 0.6348 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.5222, allocations: 137.7 kB / 0.6349 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.5223, allocations: 29.7 kB / 0.635 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.833e-05/0.5224, allocations: 116.5 kB / 0.6351 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.5225, allocations: 115.1 kB / 0.6352 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.5226, allocations: 69.47 kB / 0.6353 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.5228, allocations: 330.8 kB / 0.6356 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.5232, allocations: 183.9 kB / 0.6357 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.5236, allocations: 288.5 kB / 0.636 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008394/0.5244, allocations: 495.2 kB / 0.6365 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.5244, allocations: 0 / 0.6365 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001102/0.5255, allocations: 0.5244 MB / 0.637 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5256, allocations: 8 kB / 0.637 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.5256, allocations: 8 kB / 0.637 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5256, allocations: 4 kB / 0.637 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.5262, allocations: 83.83 kB / 0.6371 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.5262, allocations: 4.406 kB / 0.6371 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.5266, allocations: 43.7 kB / 0.6372 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.5267, allocations: 23.98 kB / 0.6372 GB, free: 5.652 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.0001773/0.5269, allocations: 150.3 kB / 0.6373 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.527, allocations: 19.91 kB / 0.6373 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.528, allocations: 492.6 kB / 0.6378 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.528, allocations: 0 / 0.6378 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.528, allocations: 4 kB / 0.6378 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.528, allocations: 3.984 kB / 0.6378 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.5287, allocations: 342.1 kB / 0.6381 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5287, allocations: 3.938 kB / 0.6381 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/0.5293, allocations: 59.95 kB / 0.6382 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.5293, allocations: 3.938 kB / 0.6382 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.558e-05/0.5293, allocations: 8 kB / 0.6382 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.5293, allocations: 11.92 kB / 0.6382 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5293, allocations: 0 / 0.6382 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.5305, allocations: 0.6925 MB / 0.6389 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.5305, allocations: 11.89 kB / 0.6389 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.5306, allocations: 8 kB / 0.6389 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.5311, allocations: 23.97 kB / 0.6389 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.5311, allocations: 19.97 kB / 0.639 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.5312, allocations: 19.98 kB / 0.639 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.894e-05/0.5313, allocations: 95.7 kB / 0.6391 GB, free: 3.648 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5313, allocations: 3.938 kB / 0.6391 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006919/0.532, allocations: 171.6 kB / 0.6392 GB, free: 3.477 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.0007946/0.5328, allocations: 343 kB / 0.6396 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008122/0.5336, allocations: 415.9 kB / 0.64 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/0.5336, allocations: 8 kB / 0.64 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003691/0.5339, allocations: 207.8 kB / 0.6402 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/0.5347, allocations: 92.75 kB / 0.6403 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.5361, allocations: 0.8759 MB / 0.6411 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.5362, allocations: 127.5 kB / 0.6412 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004508/0.5367, allocations: 117.8 kB / 0.6413 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.5368, allocations: 36.48 kB / 0.6414 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of SimCode: time 5.11e-07/0.5368, allocations: 0 / 0.6414 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of Templates: time 0.01441/0.5512, allocations: 8.167 MB / 0.6494 GB, free: 9.148 MB / 0.545 GB " [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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.608642839943059]