Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.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.001901/0.001901, allocations: 84.73 kB / 19.44 MB, free: 360 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.00158/0.00158, allocations: 161.7 kB / 22.76 MB, free: 1.684 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.484/1.484, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.06587/0.06587, allocations: 8.616 MB / 268.2 MB, free: 4.941 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.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 340.1 MB, free: 8.758 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.422e-05, allocations: 6.25 kB / 340.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002036/0.00206, allocations: 1.588 MB / 341.7 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004358/0.002496, allocations: 231.1 kB / 341.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.002549, allocations: 7.938 kB / 342 MB, free: 6.918 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.155e-05/0.002581, allocations: 7.875 kB / 342 MB, free: 6.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.127e-05/0.002672, allocations: 19.8 kB / 342 MB, free: 6.891 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.002913, allocations: 71.8 kB / 342.1 MB, free: 6.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.003056, allocations: 103.6 kB / 342.2 MB, free: 6.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.00315, allocations: 25.61 kB / 342.2 MB, free: 6.691 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.442e-05/0.003214, allocations: 51.83 kB / 342.2 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.779e-05/0.003272, allocations: 39.83 kB / 342.3 MB, free: 6.602 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.003291, allocations: 8 kB / 342.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.345e-05/0.003355, allocations: 39.95 kB / 342.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.121e-05/0.003376, allocations: 19.92 kB / 342.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.003414, allocations: 31.84 kB / 342.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.003562, allocations: 119.6 kB / 342.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.003565, allocations: 4 kB / 342.5 MB, free: 6.383 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003565, allocations: 0 / 342.5 MB, free: 6.383 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.003569, allocations: 0 / 342.5 MB, free: 6.383 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004831/0.004052, allocations: 349.7 kB / 342.8 MB, free: 6.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.004086, allocations: 8.031 kB / 342.8 MB, free: 6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.66e-05/0.004142, allocations: 20.84 kB / 342.9 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.004288, allocations: 157.5 kB / 343 MB, free: 5.801 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.004302, allocations: 4.375 kB / 343 MB, free: 5.797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.004331, allocations: 8.375 kB / 343 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.004499, allocations: 96.58 kB / 343.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.004508, allocations: 192 / 343.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.00452, allocations: 384 / 343.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.004525, allocations: 384 / 343.1 MB, free: 5.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.00465, allocations: 55.91 kB / 343.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004516/0.005101, allocations: 304.3 kB / 343.5 MB, free: 5.309 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.005279, allocations: 98.64 kB / 343.6 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.005367, allocations: 56.77 kB / 343.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.005382, allocations: 7.938 kB / 343.6 MB, free: 5.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.005557, allocations: 106.9 kB / 343.7 MB, free: 5.023 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.005559, allocations: 4 kB / 343.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003902/0.005949, allocations: 193.5 kB / 343.9 MB, free: 4.824 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.005974, allocations: 59.34 kB / 344 MB, free: 4.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.93e-05/0.006073, allocations: 165.4 kB / 344.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.006086, allocations: 33.7 kB / 344.2 MB, free: 4.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.006128, allocations: 112.1 kB / 344.3 MB, free: 4.426 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.00615, allocations: 43.67 kB / 344.3 MB, free: 4.383 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.006192, allocations: 37.7 kB / 344.4 MB, free: 4.34 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.006233, allocations: 322.8 kB / 344.7 MB, free: 4.016 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.006301, allocations: 39.94 kB / 344.7 MB, free: 3.977 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.572e-05/0.006377, allocations: 80.56 kB / 344.8 MB, free: 3.879 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.006517, allocations: 129.9 kB / 344.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.006519, allocations: 0 / 344.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000214/0.006733, allocations: 173.4 kB / 345.1 MB, free: 3.555 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.006744, allocations: 4 kB / 345.1 MB, free: 3.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006749, allocations: 4 kB / 345.1 MB, free: 3.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.006769, allocations: 8 kB / 345.1 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.006891, allocations: 27.92 kB / 345.1 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.006897, allocations: 7.984 kB / 345.1 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.006954, allocations: 11.95 kB / 345.2 MB, free: 3.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.006964, allocations: 4.188 kB / 345.2 MB, free: 3.488 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,fO_dig_TU.y,$PRE.fO_dig_TU.y,fO_dig_FE.y,$PRE.fO_dig_FE.y,fO_dig_BE.y,$PRE.fO_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 5.878e-05/0.007022, allocations: 133.7 kB / 345.3 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.007048, allocations: 23.83 kB / 345.3 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.007081, allocations: 17.45 kB / 345.3 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007083, allocations: 4 kB / 345.3 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.007087, allocations: 0 / 345.3 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.00709, allocations: 0 / 345.3 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003213/0.007411, allocations: 373.7 kB / 345.7 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.007413, allocations: 3.984 kB / 345.7 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.754e-05/0.007511, allocations: 20 kB / 345.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.007513, allocations: 0 / 345.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.007525, allocations: 7.984 kB / 345.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.007527, allocations: 0 / 345.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.007527, allocations: 0 / 345.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.007858, allocations: 303.3 kB / 346 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.007874, allocations: 11.94 kB / 346 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.007899, allocations: 4 kB / 346 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.007977, allocations: 4 kB / 346.1 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.008018, allocations: 11.98 kB / 346.1 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.008028, allocations: 12.05 kB / 346.1 MB, free: 2.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.814e-05/0.008086, allocations: 124.9 kB / 346.2 MB, free: 2.398 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008087, allocations: 0 / 346.2 MB, free: 2.398 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.008344, allocations: 27.94 kB / 346.2 MB, free: 2.371 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0001208/0.008465, allocations: 111.2 kB / 346.3 MB, free: 2.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001989/0.008664, allocations: 99.84 kB / 346.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.008665, allocations: 384 / 346.4 MB, free: 2.152 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.00875, allocations: 51.97 kB / 346.5 MB, free: 2.102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.009053, allocations: 34.3 kB / 346.5 MB, free: 2.074 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.009632, allocations: 296.8 kB / 346.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.847e-05/0.009681, allocations: 93.8 kB / 346.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.73e-05/0.009728, allocations: 17.48 kB / 346.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.167e-05/0.00976, allocations: 16.5 kB / 346.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of SimCode: time 3.21e-07/0.00976, allocations: 0 / 346.9 MB, free: 1.613 MB / 266.7 MB Notification: Performance of Templates: time 0.003792/0.01355, allocations: 1.445 MB / 348.4 MB, free: 196 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4355469880392775]