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.001476/0.001476, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001727/0.001727, allocations: 216.9 kB / 22.99 MB, free: 4.977 MB / 14.72 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.71/1.71, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 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.245/0.245, allocations: 44.28 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002354/0.002354, allocations: 68.47 kB / 468 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1681, allocations: 61.04 MB / 0.5166 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5286/0.6967, allocations: 129.9 MB / 0.6434 GB, free: 388 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.7004, allocations: 1.884 MB / 0.6453 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.7005, allocations: 4 kB / 0.6453 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000608/0.7011, allocations: 54.11 kB / 0.6453 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003575/0.7047, allocations: 0.6258 MB / 0.646 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.7052, allocations: 108.6 kB / 0.6461 GB, free: 13.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.7058, allocations: 263 kB / 0.6463 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.236e-05/0.7059, allocations: 7.984 kB / 0.6463 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.7064, allocations: 139.4 kB / 0.6464 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.7067, allocations: 91.64 kB / 0.6465 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/0.7067, allocations: 12 kB / 0.6465 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.7087, allocations: 0.7441 MB / 0.6473 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.7088, allocations: 83.81 kB / 0.6474 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.709, allocations: 83.72 kB / 0.6474 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.7105, allocations: 0.6416 MB / 0.6481 GB, free: 11.67 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.7106, allocations: 0 / 0.6481 GB, free: 11.67 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.7106, allocations: 0 / 0.6481 GB, free: 11.67 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.7106, allocations: 0 / 0.6481 GB, free: 11.67 MB / 494.1 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.001184/0.7117, allocations: 433.5 kB / 0.6485 GB, free: 11.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.7118, allocations: 16.02 kB / 0.6485 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.7139, allocations: 260.5 kB / 0.6487 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.7145, allocations: 214.3 kB / 0.6489 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.7146, allocations: 12.89 kB / 0.649 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.7147, allocations: 31.89 kB / 0.649 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.7157, allocations: 0.6473 MB / 0.6496 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.7157, allocations: 0 / 0.6496 GB, free: 9.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.7158, allocations: 11.98 kB / 0.6496 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.66e-05/0.7158, allocations: 8 kB / 0.6496 GB, free: 9.953 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.7168, allocations: 0.586 MB / 0.6502 GB, free: 9.367 MB / 494.1 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.00255/0.7194, allocations: 0.9031 MB / 0.6511 GB, free: 8.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.7199, allocations: 237.1 kB / 0.6513 GB, free: 8.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002839/0.7201, allocations: 177.6 kB / 0.6515 GB, free: 8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007866/0.7209, allocations: 120 kB / 0.6516 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/0.721, allocations: 46.78 kB / 0.6516 GB, free: 7.828 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 2.785e-06/0.721, allocations: 0 / 0.6516 GB, free: 7.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.002219/0.7232, allocations: 0.5961 MB / 0.6522 GB, free: 7.227 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.7233, allocations: 81.11 kB / 0.6523 GB, free: 7.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.7234, allocations: 141.7 kB / 0.6524 GB, free: 6.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.7235, allocations: 33.7 kB / 0.6525 GB, free: 6.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.961e-05/0.7236, allocations: 112.5 kB / 0.6526 GB, free: 6.828 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.7237, allocations: 107.1 kB / 0.6527 GB, free: 6.723 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.7239, allocations: 65.69 kB / 0.6527 GB, free: 6.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.7241, allocations: 326.8 kB / 0.6531 GB, free: 6.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.7244, allocations: 183.9 kB / 0.6532 GB, free: 6.145 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000499/0.7249, allocations: 288.8 kB / 0.6535 GB, free: 5.816 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009034/0.7258, allocations: 0.4912 MB / 0.654 GB, free: 5.281 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.7259, allocations: 1.062 kB / 0.654 GB, free: 5.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001098/0.727, allocations: 0.5109 MB / 0.6545 GB, free: 4.766 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.727, allocations: 15.95 kB / 0.6545 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.727, allocations: 4 kB / 0.6545 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-05/0.727, allocations: 8 kB / 0.6545 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.7276, allocations: 79.89 kB / 0.6546 GB, free: 4.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.7276, allocations: 7.938 kB / 0.6546 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.7281, allocations: 35.77 kB / 0.6546 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.584e-05/0.7281, allocations: 23.98 kB / 0.6547 GB, free: 4.594 MB / 494.1 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.000203/0.7283, allocations: 137.8 kB / 0.6548 GB, free: 4.449 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.7285, allocations: 27.84 kB / 0.6548 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.7295, allocations: 496.8 kB / 0.6553 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.7296, allocations: 11.94 kB / 0.6553 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.7296, allocations: 0 / 0.6553 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.7296, allocations: 0 / 0.6553 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007761/0.7303, allocations: 357.8 kB / 0.6556 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7303, allocations: 0 / 0.6556 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005442/0.7309, allocations: 63.89 kB / 0.6557 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.7309, allocations: 1.438 kB / 0.6557 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.577e-05/0.7309, allocations: 15.92 kB / 0.6557 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.7309, allocations: 4 kB / 0.6557 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7309, allocations: 0 / 0.6557 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.7322, allocations: 0.6956 MB / 0.6564 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.7323, allocations: 23.77 kB / 0.6564 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.7324, allocations: 8 kB / 0.6564 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005403/0.7329, allocations: 23.97 kB / 0.6564 GB, free: 2.695 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.733, allocations: 11.97 kB / 0.6565 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.733, allocations: 23.92 kB / 0.6565 GB, free: 2.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.932e-05/0.7331, allocations: 99.27 kB / 0.6566 GB, free: 2.562 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7331, allocations: 0 / 0.6566 GB, free: 2.562 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007728/0.7339, allocations: 155.7 kB / 0.6567 GB, free: 2.41 MB / 494.1 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.001026/0.7349, allocations: 345.9 kB / 0.6571 GB, free: 2.062 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009442/0.7358, allocations: 419.5 kB / 0.6575 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.7358, allocations: 0 / 0.6575 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003989/0.7362, allocations: 211.8 kB / 0.6577 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.737, allocations: 81.27 kB / 0.6577 GB, free: 1.363 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.7388, allocations: 0.8839 MB / 0.6586 GB, free: 468 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.739, allocations: 131.1 kB / 0.6587 GB, free: 312 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005259/0.7395, allocations: 117.7 kB / 0.6588 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.7397, allocations: 27.44 kB / 0.6589 GB, free: 168 kB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.7397, allocations: 0 / 0.6589 GB, free: 168 kB / 494.1 MB Notification: Performance of Templates: time 0.01808/0.7578, allocations: 8.516 MB / 0.6672 GB, free: 7.695 MB / 0.4981 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480] 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: 6.411282384768128]