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.001077/0.001077, 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.001172/0.001172, allocations: 173 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.9731/0.9731, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.03738/0.03738, allocations: 8.607 MB / 268.9 MB, free: 4.773 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 2.254e-06/2.254e-06, allocations: 3.984 kB / 341.3 MB, free: 8.121 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.407e-05, allocations: 2.312 kB / 341.3 MB, free: 8.117 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.001945/0.001969, allocations: 1.65 MB / 343 MB, free: 6.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005578/0.002527, allocations: 298.9 kB / 343.3 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.002592, allocations: 0 / 343.3 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.002624, allocations: 11.81 kB / 343.3 MB, free: 6.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.00273, allocations: 23.73 kB / 343.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.003049, allocations: 95.7 kB / 343.4 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.003182, allocations: 135.6 kB / 343.5 MB, free: 5.902 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.783e-05/0.00328, allocations: 17.8 kB / 343.5 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.885e-05/0.003359, allocations: 79.73 kB / 343.6 MB, free: 5.809 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.003436, allocations: 43.81 kB / 343.7 MB, free: 5.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.003459, allocations: 12 kB / 343.7 MB, free: 5.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.255e-05/0.003522, allocations: 39.97 kB / 343.7 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.00355, allocations: 35.83 kB / 343.7 MB, free: 5.68 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.003581, allocations: 35.86 kB / 343.8 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001497/0.003731, allocations: 127.5 kB / 343.9 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.003733, allocations: 0 / 343.9 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.003734, allocations: 4 kB / 343.9 MB, free: 5.516 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.00374, allocations: 4 kB / 343.9 MB, free: 5.512 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.0004399/0.00418, allocations: 479.8 kB / 344.4 MB, free: 5.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.00422, allocations: 12.03 kB / 344.4 MB, free: 4.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.637e-05/0.004266, allocations: 20.84 kB / 344.4 MB, free: 4.973 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.004396, allocations: 164.3 kB / 344.6 MB, free: 4.785 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.004405, allocations: 4.375 kB / 344.6 MB, free: 4.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.004425, allocations: 8.375 kB / 344.6 MB, free: 4.773 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.004579, allocations: 253.9 kB / 344.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.004586, allocations: 4.188 kB / 344.8 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.004596, allocations: 8.312 kB / 344.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.0046, allocations: 384 / 344.8 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.004635, allocations: 23.92 kB / 344.9 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.004974, allocations: 352.2 kB / 345.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.005068, allocations: 82.98 kB / 345.3 MB, free: 3.973 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.43e-05/0.005103, allocations: 35.67 kB / 345.3 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.005112, allocations: 0 / 345.3 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.00522, allocations: 104.9 kB / 345.4 MB, free: 3.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.005221, allocations: 0 / 345.4 MB, free: 3.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001938/0.005415, allocations: 145.5 kB / 345.6 MB, free: 3.668 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.005451, allocations: 158.2 kB / 345.7 MB, free: 3.477 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/0.005524, allocations: 239.1 kB / 346 MB, free: 3.227 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.005536, allocations: 33.69 kB / 346 MB, free: 3.188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.005582, allocations: 166.8 kB / 346.2 MB, free: 3.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.005601, allocations: 39.83 kB / 346.2 MB, free: 2.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.005643, allocations: 47.3 kB / 346.2 MB, free: 2.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.005689, allocations: 0.504 MB / 346.7 MB, free: 2.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.005708, allocations: 19.98 kB / 346.8 MB, free: 2.391 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.057e-05/0.005768, allocations: 235.2 kB / 347 MB, free: 2.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.839e-05/0.005836, allocations: 109 kB / 347.1 MB, free: 1.957 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.005839, allocations: 0 / 347.1 MB, free: 1.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001159/0.005955, allocations: 137.4 kB / 347.2 MB, free: 1.816 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.005968, allocations: 11.28 kB / 347.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.005973, allocations: 3.984 kB / 347.2 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.005989, allocations: 4 kB / 347.3 MB, free: 1.801 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.006089, allocations: 27.98 kB / 347.3 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.006094, allocations: 11.88 kB / 347.3 MB, free: 1.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.006155, allocations: 19.89 kB / 347.3 MB, free: 1.742 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.006162, allocations: 4 kB / 347.3 MB, free: 1.738 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.676e-05/0.006239, allocations: 172.7 kB / 347.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.006261, allocations: 23.94 kB / 347.5 MB, free: 1.535 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.0063, allocations: 21.45 kB / 347.5 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.006304, allocations: 0 / 347.5 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.006306, allocations: 4 kB / 347.5 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.006311, allocations: 0 / 347.5 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.006554, allocations: 385.6 kB / 347.9 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.006557, allocations: 0 / 347.9 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.878e-05/0.006626, allocations: 16 kB / 347.9 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.00663, allocations: 3.984 kB / 347.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.006644, allocations: 12 kB / 347.9 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.006647, allocations: 0 / 347.9 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.006652, allocations: 7.938 kB / 347.9 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.006875, allocations: 295.7 kB / 348.2 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.006897, allocations: 15.89 kB / 348.3 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.00692, allocations: 4 kB / 348.3 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.006976, allocations: 7.984 kB / 348.3 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.007021, allocations: 7.984 kB / 348.3 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.007029, allocations: 4 kB / 348.3 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.672e-05/0.007076, allocations: 167.1 kB / 348.4 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007076, allocations: 4.031 kB / 348.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001957/0.007272, allocations: 35.94 kB / 348.5 MB, free: 0.5156 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.0001435/0.007415, allocations: 119.2 kB / 348.6 MB, free: 396 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.007537, allocations: 83.52 kB / 348.7 MB, free: 308 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.00754, allocations: 3.984 kB / 348.7 MB, free: 304 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.419e-05/0.007584, allocations: 39.61 kB / 348.7 MB, free: 260 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.007797, allocations: 33.7 kB / 348.8 MB, free: 228 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.008272, allocations: 298.6 kB / 349 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.554e-05/0.008328, allocations: 71.98 kB / 349.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.069e-05/0.008379, allocations: 17.48 kB / 349.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.249e-05/0.008471, allocations: 118.2 kB / 349.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008472, allocations: 3.938 kB / 349.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of Templates: time 0.004049/0.01252, allocations: 2.151 MB / 351.4 MB, free: 13.57 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.696154958102852]