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.001482/0.001482, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001601/0.001601, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.52/1.52, allocations: 177.2 MB / 204.3 MB, free: 9.168 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.2328/0.2328, allocations: 34.28 MB / 295 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 179] 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 1.793e-06/1.793e-06, allocations: 0 / 442.7 MB, free: 5.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.328e-05/3.508e-05, allocations: 2.281 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3951/0.3952, allocations: 131.7 MB / 0.5609 GB, free: 2.203 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.3981, allocations: 1.975 MB / 0.5628 GB, free: 244 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.028e-05/0.3982, allocations: 0 / 0.5628 GB, free: 244 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.3985, allocations: 63.12 kB / 0.5628 GB, free: 184 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001992/0.4005, allocations: 0.6566 MB / 0.5635 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.4009, allocations: 111.3 kB / 0.5636 GB, free: 15.41 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004164/0.4013, allocations: 262.8 kB / 0.5638 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.326e-05/0.4014, allocations: 4 kB / 0.5638 GB, free: 15.15 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004263/0.4018, allocations: 175.4 kB / 0.564 GB, free: 14.98 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.402, allocations: 87.75 kB / 0.5641 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.4021, allocations: 12 kB / 0.5641 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001639/0.4037, allocations: 0.7672 MB / 0.5649 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.4038, allocations: 91.78 kB / 0.5649 GB, free: 14.02 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.404, allocations: 71.89 kB / 0.565 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.4053, allocations: 0.7208 MB / 0.5657 GB, free: 13.23 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.4053, allocations: 0 / 0.5657 GB, free: 13.23 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4053, allocations: 0 / 0.5657 GB, free: 13.23 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.4054, allocations: 0 / 0.5657 GB, free: 13.23 MB / 478.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.0009047/0.4063, allocations: 449.4 kB / 0.5661 GB, free: 12.76 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.4063, allocations: 12.03 kB / 0.5662 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.4085, allocations: 284.3 kB / 0.5664 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.409, allocations: 217.5 kB / 0.5666 GB, free: 12.24 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.4091, allocations: 12.7 kB / 0.5666 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.92e-05/0.4092, allocations: 12.56 kB / 0.5667 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.4102, allocations: 0.6481 MB / 0.5673 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.4102, allocations: 3.938 kB / 0.5673 GB, free: 11.52 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/0.4103, allocations: 8 kB / 0.5673 GB, free: 11.51 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.4103, allocations: 4 kB / 0.5673 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009747/0.4113, allocations: 0.5739 MB / 0.5679 GB, free: 10.93 MB / 478.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.002432/0.4137, allocations: 0.918 MB / 0.5688 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.4141, allocations: 233 kB / 0.569 GB, free: 9.73 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.4144, allocations: 182.3 kB / 0.5692 GB, free: 9.547 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009193/0.4154, allocations: 155.8 kB / 0.5693 GB, free: 9.395 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.4154, allocations: 34.56 kB / 0.5693 GB, free: 9.352 MB / 478.1 MB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/0.4154, allocations: 0 / 0.5693 GB, free: 9.352 MB / 478.1 MB Notification: Performance of matching and sorting (n=28): time 0.002216/0.4176, allocations: 0.6039 MB / 0.5699 GB, free: 8.746 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.4177, allocations: 89.03 kB / 0.57 GB, free: 8.641 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.4178, allocations: 131.6 kB / 0.5701 GB, free: 8.504 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.539e-05/0.4179, allocations: 33.7 kB / 0.5702 GB, free: 8.465 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.34e-05/0.418, allocations: 116.5 kB / 0.5703 GB, free: 8.344 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.4181, allocations: 115 kB / 0.5704 GB, free: 8.23 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.4183, allocations: 65.69 kB / 0.5705 GB, free: 8.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.4185, allocations: 322.8 kB / 0.5708 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.4188, allocations: 187.9 kB / 0.5709 GB, free: 7.652 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.4193, allocations: 292.3 kB / 0.5712 GB, free: 7.32 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008731/0.4202, allocations: 499.6 kB / 0.5717 GB, free: 6.789 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4202, allocations: 4 kB / 0.5717 GB, free: 6.785 MB / 478.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001134/0.4213, allocations: 0.5166 MB / 0.5722 GB, free: 6.262 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.4214, allocations: 4 kB / 0.5722 GB, free: 6.258 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4214, allocations: 8.344 kB / 0.5722 GB, free: 6.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.673e-05/0.4214, allocations: 12 kB / 0.5722 GB, free: 6.238 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/0.422, allocations: 80.77 kB / 0.5723 GB, free: 6.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.422, allocations: 4.859 kB / 0.5723 GB, free: 6.156 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.4224, allocations: 35.77 kB / 0.5723 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/0.4225, allocations: 23.98 kB / 0.5724 GB, free: 6.098 MB / 478.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.0002132/0.4227, allocations: 142.4 kB / 0.5725 GB, free: 5.949 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.4228, allocations: 15.91 kB / 0.5725 GB, free: 5.934 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.424, allocations: 497.8 kB / 0.573 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.424, allocations: 4 kB / 0.573 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.424, allocations: 0 / 0.573 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.424, allocations: 11.98 kB / 0.573 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007651/0.4248, allocations: 342.1 kB / 0.5733 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4248, allocations: 4.938 kB / 0.5733 GB, free: 5.062 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.4253, allocations: 55.89 kB / 0.5734 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.4253, allocations: 4 kB / 0.5734 GB, free: 5.004 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.4254, allocations: 11.98 kB / 0.5734 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.93e-06/0.4254, allocations: 3.938 kB / 0.5734 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.4254, allocations: 3.938 kB / 0.5734 GB, free: 4.984 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.4267, allocations: 0.6835 MB / 0.5741 GB, free: 4.289 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.4268, allocations: 27.84 kB / 0.5741 GB, free: 4.262 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/0.4268, allocations: 15.56 kB / 0.5741 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/0.4274, allocations: 23.95 kB / 0.5742 GB, free: 4.227 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.4274, allocations: 15.97 kB / 0.5742 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.4275, allocations: 15.98 kB / 0.5742 GB, free: 4.195 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.624e-05/0.4276, allocations: 110 kB / 0.5743 GB, free: 4.09 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4276, allocations: 0 / 0.5743 GB, free: 4.09 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000777/0.4283, allocations: 163.6 kB / 0.5744 GB, free: 3.93 MB / 478.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.001025/0.4294, allocations: 346.8 kB / 0.5748 GB, free: 3.578 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009091/0.4303, allocations: 419.6 kB / 0.5752 GB, free: 3.168 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4303, allocations: 0 / 0.5752 GB, free: 3.168 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004187/0.4307, allocations: 212.6 kB / 0.5754 GB, free: 2.961 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.4315, allocations: 92.78 kB / 0.5755 GB, free: 2.871 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.4329, allocations: 0.7022 MB / 0.5761 GB, free: 2.145 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.4331, allocations: 127.5 kB / 0.5763 GB, free: 2.004 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004916/0.4336, allocations: 109.8 kB / 0.5764 GB, free: 1.895 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.4337, allocations: 32.48 kB / 0.5764 GB, free: 1.863 MB / 478.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4337, allocations: 0 / 0.5764 GB, free: 1.863 MB / 478.1 MB Notification: Performance of Templates: time 0.01616/0.4499, allocations: 8.164 MB / 0.5844 GB, free: 9.789 MB / 494.1 MB " [Timeout remaining time 660] 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 -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/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_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.592812012881041]