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.001338/0.001338, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009708/0.0009708, allocations: 163.4 kB / 24.91 MB, free: 8.715 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.9367/0.9367, allocations: 177 MB / 205.2 MB, free: 5.008 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.2892/0.2892, allocations: 34.86 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.724e-06/1.724e-06, allocations: 0 / 325.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.19e-05, allocations: 6.312 kB / 325.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3231/0.3231, allocations: 145 MB / 470.9 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.3247, allocations: 2.242 MB / 473.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.788e-05/0.3247, allocations: 0 / 473.1 MB, free: 12.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.325, allocations: 51.56 kB / 473.2 MB, free: 12.42 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001083/0.3261, allocations: 0.6684 MB / 473.8 MB, free: 12.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.3263, allocations: 107.7 kB / 473.9 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002413/0.3266, allocations: 262.3 kB / 474.2 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.767e-05/0.3266, allocations: 7.609 kB / 474.2 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.3268, allocations: 179.4 kB / 474.4 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.327, allocations: 88 kB / 474.5 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.327, allocations: 8.312 kB / 474.5 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008677/0.3279, allocations: 0.7603 MB / 475.2 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.775e-05/0.3279, allocations: 86.44 kB / 475.3 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.835e-05/0.328, allocations: 79.64 kB / 475.4 MB, free: 12.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006765/0.3287, allocations: 0.6831 MB / 476.1 MB, free: 12.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.3287, allocations: 0 / 476.1 MB, free: 12.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3287, allocations: 1.203 kB / 476.1 MB, free: 12.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.3287, allocations: 4 kB / 476.1 MB, free: 12.21 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.0004418/0.3291, allocations: 413 kB / 476.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.883e-05/0.3292, allocations: 11.12 kB / 476.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009756/0.3301, allocations: 324.6 kB / 476.8 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.3303, allocations: 193.9 kB / 477 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3304, allocations: 11.77 kB / 477 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.437e-05/0.3304, allocations: 27.94 kB / 477 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.3307, allocations: 457.5 kB / 477.5 MB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3307, allocations: 3.984 kB / 477.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.3308, allocations: 13.66 kB / 477.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.622e-05/0.3308, allocations: 7.719 kB / 477.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.331, allocations: 207.3 kB / 477.7 MB, free: 11.49 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.0008999/0.3319, allocations: 0.6895 MB / 478.4 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.3321, allocations: 163.7 kB / 478.6 MB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.414e-05/0.3321, allocations: 76 kB / 478.6 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/0.3324, allocations: 133.7 kB / 478.8 MB, free: 11.08 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.3325, allocations: 36.94 kB / 478.8 MB, free: 11.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.373e-06/0.3325, allocations: 1.203 kB / 478.8 MB, free: 11.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007062/0.3332, allocations: 356.3 kB / 479.1 MB, free: 10.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.3332, allocations: 87.83 kB / 479.2 MB, free: 10.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.396e-05/0.3332, allocations: 131.3 kB / 479.4 MB, free: 10.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3333, allocations: 32.39 kB / 479.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.3333, allocations: 107 kB / 479.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.3333, allocations: 117.3 kB / 479.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.3334, allocations: 63.56 kB / 479.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.818e-05/0.3334, allocations: 326.2 kB / 480 MB, free: 10.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.047e-05/0.3335, allocations: 68.28 kB / 480.1 MB, free: 10.22 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.309e-05/0.3336, allocations: 168.2 kB / 480.2 MB, free: 10.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.3338, allocations: 292.5 kB / 480.5 MB, free: 9.941 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3338, allocations: 2.219 kB / 480.5 MB, free: 9.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002615/0.3341, allocations: 272.7 kB / 480.8 MB, free: 9.871 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3341, allocations: 7.75 kB / 480.8 MB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3341, allocations: 3.656 kB / 480.8 MB, free: 9.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3341, allocations: 9.25 kB / 480.8 MB, free: 9.867 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.3343, allocations: 76.27 kB / 480.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3343, allocations: 7.719 kB / 480.9 MB, free: 9.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.3344, allocations: 31.09 kB / 480.9 MB, free: 9.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.3345, allocations: 16.53 kB / 480.9 MB, free: 9.848 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 7.335e-05/0.3345, allocations: 136.2 kB / 481.1 MB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.3346, allocations: 29.56 kB / 481.1 MB, free: 9.711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002818/0.3349, allocations: 277.9 kB / 481.4 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3349, allocations: 4.906 kB / 481.4 MB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3349, allocations: 3.938 kB / 481.4 MB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3349, allocations: 0 / 481.4 MB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.3352, allocations: 198 kB / 481.6 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3352, allocations: 1.094 kB / 481.6 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.3354, allocations: 57.59 kB / 481.6 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3354, allocations: 3.375 kB / 481.6 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.3354, allocations: 8.484 kB / 481.6 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3354, allocations: 0 / 481.6 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3354, allocations: 2.344 kB / 481.6 MB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.3358, allocations: 0.5222 MB / 482.2 MB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.453e-05/0.3358, allocations: 15.66 kB / 482.2 MB, free: 9.289 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.3358, allocations: 13.98 kB / 482.2 MB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.336, allocations: 17.03 kB / 482.2 MB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.336, allocations: 23.5 kB / 482.2 MB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.336, allocations: 13.97 kB / 482.2 MB, free: 9.277 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.516e-05/0.3361, allocations: 15.62 kB / 482.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3361, allocations: 0 / 482.3 MB, free: 9.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003512/0.3364, allocations: 166.4 kB / 482.4 MB, free: 9.246 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.0004703/0.3369, allocations: 326.3 kB / 482.7 MB, free: 9.129 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.3371, allocations: 217.9 kB / 482.9 MB, free: 9.105 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3371, allocations: 0 / 482.9 MB, free: 9.105 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.716e-05/0.3372, allocations: 115.1 kB / 483.1 MB, free: 9.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.3375, allocations: 100.9 kB / 483.2 MB, free: 9.078 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007286/0.3382, allocations: 0.535 MB / 483.7 MB, free: 8.758 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.914e-05/0.3383, allocations: 81.25 kB / 483.8 MB, free: 8.688 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.3385, allocations: 83.19 kB / 483.9 MB, free: 8.641 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.3388, allocations: 150.1 kB / 484 MB, free: 8.582 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3388, allocations: 0 / 484 MB, free: 8.582 MB / 410.7 MB Notification: Performance of Templates: time 0.00853/0.3473, allocations: 9.669 MB / 493.7 MB, free: 4.812 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 -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.468118214979768]