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.000921/0.000921, allocations: 84.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001064/0.001064, allocations: 160.2 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9566/0.9566, allocations: 177 MB / 205.2 MB, free: 5.422 MB / 186.7 MB " [Timeout remaining time 179] 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.2581/0.2581, allocations: 34.87 MB / 296.6 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.|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.[0-9,]+.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.952e-05/2.087e-05, allocations: 2.312 kB / 325.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3167/0.3167, allocations: 145 MB / 471 MB, free: 12.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.3185, allocations: 2.247 MB / 473.2 MB, free: 12.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.3185, allocations: 3.938 kB / 473.2 MB, free: 12.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.3188, allocations: 49.03 kB / 473.3 MB, free: 12.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.3201, allocations: 0.6469 MB / 473.9 MB, free: 12.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.3203, allocations: 110.5 kB / 474 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.3206, allocations: 263.9 kB / 474.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.126e-05/0.3207, allocations: 5.375 kB / 474.3 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.3209, allocations: 182 kB / 474.5 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.3211, allocations: 81.52 kB / 474.5 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.3211, allocations: 8.719 kB / 474.5 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.3223, allocations: 0.7864 MB / 475.3 MB, free: 12.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.081e-05/0.3224, allocations: 92.95 kB / 475.4 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.73e-05/0.3225, allocations: 73.06 kB / 475.5 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008648/0.3233, allocations: 0.6827 MB / 476.2 MB, free: 12.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3233, allocations: 0 / 476.2 MB, free: 12.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.3233, allocations: 0 / 476.2 MB, free: 12.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.3233, allocations: 0 / 476.2 MB, free: 12.22 MB / 410.7 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.0005406/0.3239, allocations: 412.8 kB / 476.6 MB, free: 11.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3239, allocations: 14.88 kB / 476.6 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.325, allocations: 319 kB / 476.9 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.3252, allocations: 197.2 kB / 477.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3252, allocations: 15.36 kB / 477.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.175e-05/0.3253, allocations: 18.38 kB / 477.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.3256, allocations: 465.3 kB / 477.6 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3256, allocations: 4.062 kB / 477.6 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.3257, allocations: 3.125 kB / 477.6 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.3257, allocations: 7.688 kB / 477.6 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.3259, allocations: 205.8 kB / 477.8 MB, free: 11.5 MB / 410.7 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.001106/0.3271, allocations: 0.6961 MB / 478.5 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.3272, allocations: 163.4 kB / 478.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.669e-05/0.3273, allocations: 80.5 kB / 478.7 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003425/0.3276, allocations: 136.5 kB / 478.9 MB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.3276, allocations: 36.12 kB / 478.9 MB, free: 11.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.325e-06/0.3276, allocations: 0 / 478.9 MB, free: 11.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007508/0.3284, allocations: 349.2 kB / 479.2 MB, free: 10.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.3284, allocations: 86.33 kB / 479.3 MB, free: 10.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.3285, allocations: 136.7 kB / 479.5 MB, free: 10.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.3285, allocations: 31.58 kB / 479.5 MB, free: 10.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.3285, allocations: 111.1 kB / 479.6 MB, free: 10.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.16e-05/0.3286, allocations: 113.6 kB / 479.7 MB, free: 10.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.639e-05/0.3286, allocations: 64.06 kB / 479.8 MB, free: 10.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.445e-05/0.3287, allocations: 328.4 kB / 480.1 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.235e-05/0.3287, allocations: 65.38 kB / 480.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.845e-05/0.3288, allocations: 171.8 kB / 480.3 MB, free: 10.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.329, allocations: 286.6 kB / 480.6 MB, free: 9.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.329, allocations: 0 / 480.6 MB, free: 9.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002933/0.3293, allocations: 278.8 kB / 480.9 MB, free: 9.879 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.3294, allocations: 7.125 kB / 480.9 MB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3294, allocations: 2.719 kB / 480.9 MB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3294, allocations: 5.781 kB / 480.9 MB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.3296, allocations: 88.31 kB / 481 MB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3296, allocations: 5.5 kB / 481 MB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.3298, allocations: 25.89 kB / 481 MB, free: 9.855 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.3298, allocations: 14.75 kB / 481 MB, free: 9.855 MB / 410.7 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 8.277e-05/0.3299, allocations: 145 kB / 481.2 MB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.634e-05/0.3299, allocations: 31.55 kB / 481.2 MB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002859/0.3302, allocations: 269.1 kB / 481.5 MB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3302, allocations: 4.141 kB / 481.5 MB, free: 9.664 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3302, allocations: 6.875 kB / 481.5 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3302, allocations: 2.719 kB / 481.5 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002982/0.3305, allocations: 197.3 kB / 481.7 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3305, allocations: 0 / 481.7 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.3308, allocations: 53.34 kB / 481.7 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3308, allocations: 3.469 kB / 481.7 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.3308, allocations: 8.938 kB / 481.7 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3308, allocations: 7.938 kB / 481.7 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3308, allocations: 2.656 kB / 481.7 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.3312, allocations: 0.5195 MB / 482.3 MB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.3312, allocations: 15.67 kB / 482.3 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.3312, allocations: 11.91 kB / 482.3 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.3314, allocations: 16.22 kB / 482.3 MB, free: 9.293 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.3314, allocations: 20.62 kB / 482.3 MB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.3314, allocations: 12.8 kB / 482.3 MB, free: 9.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.944e-05/0.3315, allocations: 26.25 kB / 482.4 MB, free: 9.277 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3315, allocations: 0 / 482.4 MB, free: 9.277 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004461/0.3319, allocations: 163.6 kB / 482.5 MB, free: 9.254 MB / 410.7 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.000516/0.3324, allocations: 331.7 kB / 482.8 MB, free: 9.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.3327, allocations: 204.8 kB / 483 MB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3327, allocations: 2.562 kB / 483 MB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.625e-05/0.3328, allocations: 124 kB / 483.2 MB, free: 9.094 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.3331, allocations: 103.5 kB / 483.3 MB, free: 9.082 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.3339, allocations: 0.5316 MB / 483.8 MB, free: 8.762 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.224e-05/0.3339, allocations: 90.5 kB / 483.9 MB, free: 8.691 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002434/0.3342, allocations: 80.7 kB / 484 MB, free: 8.645 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/0.3345, allocations: 151.6 kB / 484.1 MB, free: 8.586 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.3345, allocations: 2.938 kB / 484.1 MB, free: 8.586 MB / 410.7 MB Notification: Performance of Templates: time 0.009211/0.3437, allocations: 9.654 MB / 493.8 MB, free: 4.816 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3341748658567667]