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.001298/0.001298, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 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.00147/0.00147, allocations: 174.3 kB / 24.92 MB, free: 8.773 MB / 18.57 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 0.9815/0.9815, allocations: 177.1 MB / 205.3 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] 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.2374/0.2374, allocations: 34.27 MB / 296.1 MB, free: 0.6836 MB / 266.7 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.[0-9,]+.|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.[0-9,]+.|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.363e-06/1.363e-06, allocations: 0 / 325.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.469e-05/1.605e-05, allocations: 5.266 kB / 325.2 MB, free: 7.746 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3264/0.3264, allocations: 145 MB / 470.2 MB, free: 12.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.3282, allocations: 2.233 MB / 472.4 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.551e-05/0.3283, allocations: 1.094 kB / 472.4 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.3286, allocations: 53.77 kB / 472.5 MB, free: 12.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.3298, allocations: 0.6688 MB / 473.2 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.33, allocations: 105.5 kB / 473.3 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.3303, allocations: 260.5 kB / 473.5 MB, free: 12.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.3304, allocations: 9.781 kB / 473.5 MB, free: 12.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002798/0.3306, allocations: 175.5 kB / 473.7 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.3308, allocations: 90.23 kB / 473.8 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.3308, allocations: 8.25 kB / 473.8 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.3319, allocations: 0.7613 MB / 474.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.58e-05/0.332, allocations: 85.61 kB / 474.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.3321, allocations: 80.03 kB / 474.7 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000774/0.3329, allocations: 0.685 MB / 475.4 MB, free: 12.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3329, allocations: 0 / 475.4 MB, free: 12.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3329, allocations: 4 kB / 475.4 MB, free: 12.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.3329, allocations: 0 / 475.4 MB, free: 12.3 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.0004974/0.3334, allocations: 414 kB / 475.8 MB, free: 12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3334, allocations: 10.75 kB / 475.8 MB, free: 12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001036/0.3344, allocations: 324.9 kB / 476.1 MB, free: 11.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3347, allocations: 199.1 kB / 476.3 MB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.3347, allocations: 15.73 kB / 476.4 MB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.803e-05/0.3347, allocations: 19.5 kB / 476.4 MB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.3351, allocations: 457.1 kB / 476.8 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3351, allocations: 0 / 476.8 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.512e-05/0.3351, allocations: 14.39 kB / 476.8 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.142e-05/0.3351, allocations: 11.08 kB / 476.8 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.3354, allocations: 207.9 kB / 477 MB, free: 11.57 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.001019/0.3364, allocations: 0.6845 MB / 477.7 MB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.3366, allocations: 167 kB / 477.9 MB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.292e-05/0.3367, allocations: 74.61 kB / 478 MB, free: 11.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/0.337, allocations: 142.5 kB / 478.1 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.337, allocations: 41.69 kB / 478.1 MB, free: 11.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.337, allocations: 0 / 478.1 MB, free: 11.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007425/0.3378, allocations: 345.8 kB / 478.5 MB, free: 11.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.3378, allocations: 92.17 kB / 478.6 MB, free: 10.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.878e-05/0.3379, allocations: 130.8 kB / 478.7 MB, free: 10.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.3379, allocations: 35.14 kB / 478.7 MB, free: 10.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.26e-05/0.3379, allocations: 111.3 kB / 478.8 MB, free: 10.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.338, allocations: 120.2 kB / 479 MB, free: 10.63 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.3381, allocations: 54.69 kB / 479 MB, free: 10.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.984e-05/0.3381, allocations: 329.4 kB / 479.3 MB, free: 10.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.3382, allocations: 69.44 kB / 479.4 MB, free: 10.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.3383, allocations: 167.6 kB / 479.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.3385, allocations: 287.7 kB / 479.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3385, allocations: 6.969 kB / 479.9 MB, free: 10.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002807/0.3388, allocations: 273.6 kB / 480.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3388, allocations: 8.281 kB / 480.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.3388, allocations: 4.203 kB / 480.1 MB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3388, allocations: 9 kB / 480.1 MB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.339, allocations: 75.61 kB / 480.2 MB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.339, allocations: 9.438 kB / 480.2 MB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.3392, allocations: 31.59 kB / 480.3 MB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.751e-05/0.3392, allocations: 11.59 kB / 480.3 MB, free: 9.918 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.989e-05/0.3393, allocations: 137.2 kB / 480.4 MB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.3394, allocations: 29.41 kB / 480.4 MB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.3397, allocations: 270.2 kB / 480.7 MB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3397, allocations: 6.781 kB / 480.7 MB, free: 9.738 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3397, allocations: 6.594 kB / 480.7 MB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3397, allocations: 3.641 kB / 480.7 MB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.34, allocations: 198.6 kB / 480.9 MB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.34, allocations: 0 / 480.9 MB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.3402, allocations: 53.77 kB / 481 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.3402, allocations: 1.969 kB / 481 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.3402, allocations: 8.891 kB / 481 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3402, allocations: 2.438 kB / 481 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3402, allocations: 2.844 kB / 481 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.3406, allocations: 0.524 MB / 481.5 MB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.3406, allocations: 15.83 kB / 481.5 MB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.3406, allocations: 9.781 kB / 481.5 MB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000176/0.3408, allocations: 20.08 kB / 481.5 MB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.3408, allocations: 19 kB / 481.6 MB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.3409, allocations: 16.17 kB / 481.6 MB, free: 9.355 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.969e-05/0.3409, allocations: 18.84 kB / 481.6 MB, free: 9.348 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3409, allocations: 1.094 kB / 481.6 MB, free: 9.348 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004748/0.3414, allocations: 163.4 kB / 481.8 MB, free: 9.324 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.0005675/0.3419, allocations: 333.7 kB / 482.1 MB, free: 9.203 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.3422, allocations: 213.9 kB / 482.3 MB, free: 9.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3422, allocations: 0 / 482.3 MB, free: 9.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.3423, allocations: 114.3 kB / 482.4 MB, free: 9.168 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.3426, allocations: 97.78 kB / 482.5 MB, free: 9.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008312/0.3435, allocations: 0.533 MB / 483 MB, free: 8.836 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.3435, allocations: 87.16 kB / 483.1 MB, free: 8.766 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002325/0.3437, allocations: 80.83 kB / 483.2 MB, free: 8.715 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/0.344, allocations: 155 kB / 483.3 MB, free: 8.656 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.344, allocations: 0 / 483.3 MB, free: 8.656 MB / 410.7 MB Notification: Performance of Templates: time 0.01027/0.3543, allocations: 9.657 MB / 493 MB, free: 4.926 MB / 410.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] 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","",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.5616163280792534]