Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001102/0.001102, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001261/0.001261, allocations: 174 kB / 24.91 MB, free: 8.781 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 1.091/1.091, allocations: 177.1 MB / 205.3 MB, free: 5.125 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2642/0.2642, allocations: 32.81 MB / 294.6 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.FlueGas") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 4 kB / 323.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.98e-05, allocations: 6.312 kB / 323.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.3379/0.3379, allocations: 145 MB / 468.2 MB, free: 13.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.3398, allocations: 2.236 MB / 470.4 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.3399, allocations: 7.922 kB / 470.4 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004223/0.3403, allocations: 51.06 kB / 470.5 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.3417, allocations: 0.6696 MB / 471.1 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.3419, allocations: 103.8 kB / 471.2 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.3423, allocations: 262.4 kB / 471.5 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.065e-05/0.3423, allocations: 10.03 kB / 471.5 MB, free: 13.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.3426, allocations: 180.8 kB / 471.7 MB, free: 13.19 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.3428, allocations: 83.31 kB / 471.8 MB, free: 13.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.3428, allocations: 7.531 kB / 471.8 MB, free: 13.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009514/0.3438, allocations: 0.7657 MB / 472.5 MB, free: 13.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.54e-05/0.3439, allocations: 87.89 kB / 472.6 MB, free: 13.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.344, allocations: 74.44 kB / 472.7 MB, free: 13.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006867/0.3446, allocations: 0.6883 MB / 473.4 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3446, allocations: 4 kB / 473.4 MB, free: 13.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3446, allocations: 0 / 473.4 MB, free: 13.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3447, allocations: 1.094 kB / 473.4 MB, free: 13.1 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.0004803/0.3451, allocations: 409.2 kB / 473.8 MB, free: 12.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3452, allocations: 10.97 kB / 473.8 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009962/0.3462, allocations: 318 kB / 474.1 MB, free: 12.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.3464, allocations: 201.7 kB / 474.3 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3464, allocations: 14.52 kB / 474.3 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.3464, allocations: 21.19 kB / 474.3 MB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.3468, allocations: 473.1 kB / 474.8 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3468, allocations: 0 / 474.8 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.501e-05/0.3468, allocations: 5.938 kB / 474.8 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/0.3468, allocations: 11.69 kB / 474.8 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.3471, allocations: 204.3 kB / 475 MB, free: 12.38 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.0009405/0.348, allocations: 0.6884 MB / 475.7 MB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.3482, allocations: 169.3 kB / 475.9 MB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.675e-05/0.3482, allocations: 74.59 kB / 475.9 MB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003252/0.3486, allocations: 132.6 kB / 476.1 MB, free: 11.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.3486, allocations: 40.12 kB / 476.1 MB, free: 11.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.973e-06/0.3486, allocations: 3.984 kB / 476.1 MB, free: 11.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007184/0.3493, allocations: 365.5 kB / 476.5 MB, free: 11.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.3493, allocations: 84.36 kB / 476.5 MB, free: 11.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.842e-05/0.3494, allocations: 128 kB / 476.7 MB, free: 11.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.3494, allocations: 31.23 kB / 476.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.3494, allocations: 112.1 kB / 476.8 MB, free: 11.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.3495, allocations: 114.7 kB / 476.9 MB, free: 11.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.836e-05/0.3496, allocations: 65.94 kB / 477 MB, free: 11.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.393e-05/0.3496, allocations: 324.5 kB / 477.3 MB, free: 11.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.581e-05/0.3497, allocations: 64.2 kB / 477.4 MB, free: 11.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.3498, allocations: 182.1 kB / 477.5 MB, free: 10.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/0.35, allocations: 279.7 kB / 477.8 MB, free: 10.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.35, allocations: 3.125 kB / 477.8 MB, free: 10.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002872/0.3503, allocations: 270.3 kB / 478.1 MB, free: 10.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3503, allocations: 12.28 kB / 478.1 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3503, allocations: 2.531 kB / 478.1 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3504, allocations: 5.031 kB / 478.1 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.3506, allocations: 83.03 kB / 478.2 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3506, allocations: 5.5 kB / 478.2 MB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.3507, allocations: 24.11 kB / 478.2 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.3507, allocations: 16.8 kB / 478.2 MB, free: 10.73 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.368e-05/0.3508, allocations: 141 kB / 478.4 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.3509, allocations: 33.47 kB / 478.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.3512, allocations: 259.2 kB / 478.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3512, allocations: 2.906 kB / 478.7 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.3512, allocations: 6.812 kB / 478.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.3512, allocations: 6.719 kB / 478.7 MB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.3515, allocations: 196.7 kB / 478.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3515, allocations: 2.672 kB / 478.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/0.3517, allocations: 51.17 kB / 478.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3517, allocations: 2 kB / 478.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.3517, allocations: 13.33 kB / 478.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3517, allocations: 0 / 478.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3517, allocations: 2.781 kB / 478.9 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.3521, allocations: 0.5263 MB / 479.5 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.3521, allocations: 24.12 kB / 479.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.3522, allocations: 6.531 kB / 479.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.3523, allocations: 15.25 kB / 479.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.3524, allocations: 24.2 kB / 479.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.3524, allocations: 14.36 kB / 479.5 MB, free: 10.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.159e-05/0.3524, allocations: 21.47 kB / 479.6 MB, free: 10.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3524, allocations: 0 / 479.6 MB, free: 10.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004008/0.3528, allocations: 165.9 kB / 479.7 MB, free: 10.13 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.0004992/0.3533, allocations: 339.1 kB / 480.1 MB, free: 10 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.3535, allocations: 210.3 kB / 480.3 MB, free: 9.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3535, allocations: 0 / 480.3 MB, free: 9.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.553e-05/0.3536, allocations: 116.4 kB / 480.4 MB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.354, allocations: 95.39 kB / 480.5 MB, free: 9.957 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007917/0.3548, allocations: 0.5427 MB / 481 MB, free: 9.633 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.458e-05/0.3548, allocations: 83.84 kB / 481.1 MB, free: 9.562 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002237/0.355, allocations: 77.38 kB / 481.2 MB, free: 9.516 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.3553, allocations: 156.6 kB / 481.3 MB, free: 9.453 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3553, allocations: 0 / 481.3 MB, free: 9.453 MB / 410.7 MB Notification: Performance of Templates: time 0.009259/0.3646, allocations: 9.663 MB / 491 MB, free: 6.055 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.683693990111351]