Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.001003/0.001003, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001068/0.001068, allocations: 169 kB / 23.02 MB, free: 1.547 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.071/1.071, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.04282/0.04282, allocations: 8.617 MB / 268.6 MB, free: 4.914 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/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(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 340.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.878e-05, allocations: 6.25 kB / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002407/0.002426, allocations: 1.657 MB / 342.5 MB, free: 6.738 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005882/0.003014, allocations: 302.8 kB / 342.8 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.767e-05/0.003082, allocations: 4 kB / 342.8 MB, free: 6.438 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.213e-05/0.003124, allocations: 11.88 kB / 342.8 MB, free: 6.426 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.003249, allocations: 27.72 kB / 342.9 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004385/0.003687, allocations: 91.7 kB / 343 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.003918, allocations: 135.6 kB / 343.1 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.004072, allocations: 17.8 kB / 343.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.004193, allocations: 75.75 kB / 343.2 MB, free: 6.086 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.00431, allocations: 51.8 kB / 343.2 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.613e-05/0.004347, allocations: 12 kB / 343.2 MB, free: 6.023 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.00445, allocations: 35.97 kB / 343.3 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.004497, allocations: 39.83 kB / 343.3 MB, free: 5.949 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.772e-05/0.004554, allocations: 35.84 kB / 343.3 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.004769, allocations: 127.5 kB / 343.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.004771, allocations: 0 / 343.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004771, allocations: 0 / 343.5 MB, free: 5.789 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.004777, allocations: 0 / 343.5 MB, free: 5.789 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005457/0.005322, allocations: 483.7 kB / 343.9 MB, free: 5.277 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.00536, allocations: 12.03 kB / 344 MB, free: 5.266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.005429, allocations: 20.84 kB / 344 MB, free: 5.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.005614, allocations: 168.4 kB / 344.1 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.005628, allocations: 4.375 kB / 344.1 MB, free: 5.051 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.005659, allocations: 8.375 kB / 344.2 MB, free: 5.043 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.005888, allocations: 256 kB / 344.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.005899, allocations: 192 / 344.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.005916, allocations: 4.375 kB / 344.4 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.005926, allocations: 4.375 kB / 344.4 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.006001, allocations: 27.92 kB / 344.4 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.006515, allocations: 379.5 kB / 344.8 MB, free: 4.297 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.00669, allocations: 87.12 kB / 344.9 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/0.00676, allocations: 35.67 kB / 344.9 MB, free: 4.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.006773, allocations: 7.938 kB / 344.9 MB, free: 4.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.006928, allocations: 112.8 kB / 345 MB, free: 4.027 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.006929, allocations: 0 / 345 MB, free: 4.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003688/0.007298, allocations: 150.9 kB / 345.2 MB, free: 3.875 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.007362, allocations: 170.2 kB / 345.4 MB, free: 3.672 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.01052, allocations: 235.2 kB / 345.6 MB, free: 3.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.01054, allocations: 37.69 kB / 345.6 MB, free: 3.383 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.01061, allocations: 162.8 kB / 345.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.812e-05/0.01063, allocations: 39.78 kB / 345.8 MB, free: 3.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.01069, allocations: 51.31 kB / 345.9 MB, free: 3.121 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.01076, allocations: 0.5001 MB / 346.4 MB, free: 2.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.0108, allocations: 19.98 kB / 346.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.209e-05/0.01089, allocations: 234.1 kB / 346.6 MB, free: 2.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.01101, allocations: 121.6 kB / 346.7 MB, free: 2.145 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.01101, allocations: 4 kB / 346.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001948/0.01121, allocations: 144.5 kB / 346.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.01122, allocations: 6.031 kB / 346.9 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.01123, allocations: 4.188 kB / 346.9 MB, free: 1.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.01125, allocations: 4 kB / 346.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.01139, allocations: 35.92 kB / 346.9 MB, free: 1.949 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.0114, allocations: 4 kB / 346.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.01148, allocations: 15.89 kB / 347 MB, free: 1.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.01149, allocations: 8 kB / 347 MB, free: 1.922 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.504e-05/0.01156, allocations: 172.5 kB / 347.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.01159, allocations: 23.89 kB / 347.2 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.066e-05/0.01163, allocations: 17.47 kB / 347.2 MB, free: 1.703 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.01164, allocations: 8 kB / 347.2 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.01164, allocations: 0 / 347.2 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01164, allocations: 0 / 347.2 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.01195, allocations: 420.8 kB / 347.6 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01195, allocations: 3.938 kB / 347.6 MB, free: 1.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.038e-05/0.01203, allocations: 19.98 kB / 347.6 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01204, allocations: 0 / 347.6 MB, free: 1.223 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.01206, allocations: 8.047 kB / 347.6 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01206, allocations: 0 / 347.6 MB, free: 1.215 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01206, allocations: 3.984 kB / 347.6 MB, free: 1.211 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.01234, allocations: 307.7 kB / 347.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.01236, allocations: 15.94 kB / 347.9 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.01238, allocations: 4 kB / 347.9 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.75e-05/0.01247, allocations: 15.92 kB / 348 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.01252, allocations: 7.984 kB / 348 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.01253, allocations: 11.94 kB / 348 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.083e-05/0.0126, allocations: 171.1 kB / 348.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.0126, allocations: 0 / 348.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002891/0.01289, allocations: 35.94 kB / 348.2 MB, free: 0.6328 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001302/0.01302, allocations: 119.2 kB / 348.3 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.0132, allocations: 91.52 kB / 348.4 MB, free: 420 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.0132, allocations: 0 / 348.4 MB, free: 420 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003089/0.01629, allocations: 43.67 kB / 348.4 MB, free: 372 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.01662, allocations: 36.61 kB / 348.5 MB, free: 336 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/0.01726, allocations: 315.1 kB / 348.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.774e-05/0.01731, allocations: 75.98 kB / 348.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.399e-05/0.01738, allocations: 17.48 kB / 348.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.01742, allocations: 16.5 kB / 348.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01742, allocations: 0 / 348.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of Templates: time 0.01145/0.02887, allocations: 2.12 MB / 351 MB, free: 13.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9875506800599396]