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.001063/0.001063, allocations: 81.64 kB / 19.87 MB, free: 4.613 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.001195/0.001195, allocations: 169 kB / 23.28 MB, free: 1.215 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.9764/0.9764, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.03719/0.03719, allocations: 8.608 MB / 268.9 MB, free: 4.738 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.413e-06/1.413e-06, allocations: 0 / 341.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.474e-05, allocations: 8.922 kB / 341.3 MB, free: 8.109 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.00151/0.001525, allocations: 1.615 MB / 342.9 MB, free: 6.484 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003771/0.001902, allocations: 239.1 kB / 343.2 MB, free: 6.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.001951, allocations: 4 kB / 343.2 MB, free: 6.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.001977, allocations: 7.875 kB / 343.2 MB, free: 6.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.355e-05/0.002061, allocations: 23.8 kB / 343.2 MB, free: 6.215 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.002276, allocations: 79.72 kB / 343.3 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.002389, allocations: 95.7 kB / 343.4 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.915e-05/0.002478, allocations: 21.59 kB / 343.4 MB, free: 6.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.002536, allocations: 55.84 kB / 343.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.002588, allocations: 35.81 kB / 343.5 MB, free: 5.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.002606, allocations: 12 kB / 343.5 MB, free: 5.918 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.6e-05/0.002662, allocations: 35.97 kB / 343.5 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.002683, allocations: 31.84 kB / 343.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.002706, allocations: 27.91 kB / 343.6 MB, free: 5.824 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.002813, allocations: 103.5 kB / 343.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.002814, allocations: 0 / 343.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.002815, allocations: 0 / 343.7 MB, free: 5.723 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.876e-06/0.002818, allocations: 0 / 343.7 MB, free: 5.723 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.0003204/0.003138, allocations: 451.9 kB / 344.1 MB, free: 5.242 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.003168, allocations: 12.03 kB / 344.1 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.003204, allocations: 16.84 kB / 344.2 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.648e-05/0.00329, allocations: 154.4 kB / 344.3 MB, free: 5.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.003299, allocations: 8.375 kB / 344.3 MB, free: 5.031 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.003316, allocations: 8.359 kB / 344.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.393e-05/0.00341, allocations: 86.86 kB / 344.4 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.003417, allocations: 192 / 344.4 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.003424, allocations: 384 / 344.4 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.003429, allocations: 4.375 kB / 344.4 MB, free: 4.926 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.667e-05/0.003456, allocations: 27.84 kB / 344.4 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002605/0.003716, allocations: 324.2 kB / 344.8 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.026e-05/0.003796, allocations: 79.06 kB / 344.8 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.003825, allocations: 31.66 kB / 344.9 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.003833, allocations: 7.984 kB / 344.9 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.334e-05/0.003917, allocations: 92.94 kB / 345 MB, free: 4.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.003918, allocations: 0 / 345 MB, free: 4.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001603/0.004078, allocations: 140.8 kB / 345.1 MB, free: 4.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.004099, allocations: 51.41 kB / 345.2 MB, free: 4.113 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.00417, allocations: 228.7 kB / 345.4 MB, free: 3.871 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-06/0.004177, allocations: 25.7 kB / 345.4 MB, free: 3.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.004215, allocations: 162.8 kB / 345.6 MB, free: 3.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.004232, allocations: 47.59 kB / 345.6 MB, free: 3.629 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.004263, allocations: 43.34 kB / 345.6 MB, free: 3.578 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.4e-05/0.004307, allocations: 0.4923 MB / 346.1 MB, free: 3.074 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.004322, allocations: 15.94 kB / 346.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.289e-05/0.004355, allocations: 89.72 kB / 346.2 MB, free: 2.941 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.762e-05/0.004413, allocations: 105.7 kB / 346.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.004415, allocations: 4 kB / 346.4 MB, free: 2.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 9.029e-05/0.004505, allocations: 129.3 kB / 346.5 MB, free: 2.672 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.004516, allocations: 10.34 kB / 346.5 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.00452, allocations: 0 / 346.5 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.00453, allocations: 4 kB / 346.5 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.881e-05/0.004608, allocations: 31.98 kB / 346.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.004612, allocations: 8.125 kB / 346.5 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.746e-05/0.004639, allocations: 15.89 kB / 346.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.004646, allocations: 8 kB / 346.6 MB, free: 2.598 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 4.282e-05/0.004689, allocations: 164.6 kB / 346.7 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.004703, allocations: 19.89 kB / 346.7 MB, free: 2.406 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.532e-05/0.004729, allocations: 17.47 kB / 346.8 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.00473, allocations: 0 / 346.8 MB, free: 2.391 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.004731, allocations: 3.938 kB / 346.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.004734, allocations: 0 / 346.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.004908, allocations: 361.9 kB / 347.1 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.004909, allocations: 4 kB / 347.1 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.004957, allocations: 27.92 kB / 347.1 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.004958, allocations: 0 / 347.1 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.004968, allocations: 4 kB / 347.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.004968, allocations: 3.938 kB / 347.1 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.004969, allocations: 0 / 347.1 MB, free: 1.965 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.005116, allocations: 287.8 kB / 347.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.005126, allocations: 15.83 kB / 347.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.00514, allocations: 7.984 kB / 347.5 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.494e-05/0.005175, allocations: 4 kB / 347.5 MB, free: 1.637 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.005199, allocations: 12.02 kB / 347.5 MB, free: 1.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.005205, allocations: 4 kB / 347.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.122e-05/0.005236, allocations: 160.8 kB / 347.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005236, allocations: 3.938 kB / 347.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001584/0.005394, allocations: 31.94 kB / 347.7 MB, free: 1.43 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 7.9e-05/0.005473, allocations: 111.1 kB / 347.8 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.316e-05/0.005557, allocations: 82.31 kB / 347.9 MB, free: 1.227 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.82e-07/0.005558, allocations: 384 / 347.9 MB, free: 1.227 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.545e-05/0.005593, allocations: 43.61 kB / 347.9 MB, free: 1.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.005777, allocations: 27.22 kB / 347.9 MB, free: 1.156 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.00613, allocations: 281.7 kB / 348.2 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.336e-05/0.006154, allocations: 63.84 kB / 348.3 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.367e-05/0.006187, allocations: 21.48 kB / 348.3 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.006233, allocations: 86.19 kB / 348.4 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of SimCode: time 7.22e-07/0.006234, allocations: 0 / 348.4 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of Templates: time 0.00287/0.009104, allocations: 1.563 MB / 349.9 MB, free: 15.12 MB / 282.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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7419209121726453]