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.0006573/0.0006573, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008735/0.001531, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006637/0.0006637, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008803/0.001544, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.97/0.97, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1033/1.073, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.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.03587/0.03587, allocations: 8.6 MB / 252.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005788/0.04166, allocations: 3.133 MB / 255.9 MB, free: 3.488 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 7.42e-07/7.42e-07, allocations: 0 / 257.2 MB, free: 2.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.997e-06/9.739e-06, allocations: 13.62 kB / 257.2 MB, free: 2.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.001721/0.001731, allocations: 1.712 MB / 258.9 MB, free: 484 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004019/0.002133, allocations: 310.8 kB / 259.2 MB, free: 172 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.414e-05/0.002167, allocations: 0 / 259.2 MB, free: 172 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.422e-05/0.002192, allocations: 11.81 kB / 259.2 MB, free: 160 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.123e-05/0.002243, allocations: 27.73 kB / 259.2 MB, free: 132 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.002412, allocations: 87.7 kB / 259.3 MB, free: 44 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.002523, allocations: 123.7 kB / 259.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.019e-05/0.002583, allocations: 30.38 kB / 259.5 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.425e-05/0.002667, allocations: 99.75 kB / 259.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.00272, allocations: 51.73 kB / 259.6 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.002737, allocations: 12 kB / 259.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.002799, allocations: 43.91 kB / 259.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.002818, allocations: 19.94 kB / 259.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.002842, allocations: 23.94 kB / 259.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.002954, allocations: 99.66 kB / 259.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.00296, allocations: 0 / 259.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.002961, allocations: 4 kB / 259.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.002968, allocations: 4 kB / 259.8 MB, free: 15.54 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.0003299/0.003298, allocations: 371.8 kB / 260.2 MB, free: 15.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.27e-05/0.00332, allocations: 12.03 kB / 260.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.003349, allocations: 20.91 kB / 260.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.003452, allocations: 149.5 kB / 260.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.003459, allocations: 8.375 kB / 260.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.003476, allocations: 12.31 kB / 260.4 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.003625, allocations: 233.9 kB / 260.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-06/0.00363, allocations: 192 / 260.6 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.003638, allocations: 12.36 kB / 260.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.003643, allocations: 4.375 kB / 260.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.003675, allocations: 23.86 kB / 260.6 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002764/0.003951, allocations: 232.1 kB / 260.9 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.854e-05/0.00403, allocations: 58.55 kB / 260.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.972e-05/0.00406, allocations: 24.84 kB / 261 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.004066, allocations: 4 kB / 261 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.514e-05/0.004161, allocations: 102.8 kB / 261.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 9.71e-07/0.004162, allocations: 0 / 261.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001246/0.004287, allocations: 93.66 kB / 261.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.004317, allocations: 63.39 kB / 261.2 MB, free: 13.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.004413, allocations: 187.8 kB / 261.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.004428, allocations: 29.7 kB / 261.4 MB, free: 13.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.669e-05/0.004475, allocations: 112.1 kB / 261.5 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.0045, allocations: 43.62 kB / 261.6 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.00454, allocations: 37.7 kB / 261.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.004678, allocations: 334.8 kB / 261.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.004694, allocations: 16 kB / 262 MB, free: 13.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.954e-05/0.004774, allocations: 199.2 kB / 262.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.921e-05/0.004843, allocations: 101.2 kB / 262.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.004844, allocations: 0 / 262.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 9.235e-05/0.004937, allocations: 113.5 kB / 262.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.004945, allocations: 8 kB / 262.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-06/0.004948, allocations: 0 / 262.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.004955, allocations: 4 kB / 262.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.005069, allocations: 47.91 kB / 262.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.745e-06/0.005071, allocations: 0 / 262.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.054e-05/0.005122, allocations: 15.95 kB / 262.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.005127, allocations: 4 kB / 262.4 MB, free: 12.65 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 6.32e-05/0.005191, allocations: 133.8 kB / 262.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.005208, allocations: 15.98 kB / 262.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.005233, allocations: 21.45 kB / 262.6 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.005235, allocations: 4 kB / 262.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.005237, allocations: 0 / 262.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.00524, allocations: 0 / 262.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.005439, allocations: 262.6 kB / 262.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.005441, allocations: 4 kB / 262.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.767e-05/0.005509, allocations: 19.98 kB / 262.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.357e-05/0.005523, allocations: 15.91 kB / 262.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.005524, allocations: 4 kB / 262.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.005533, allocations: 4 kB / 262.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.005535, allocations: 4 kB / 262.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.005536, allocations: 3.984 kB / 262.9 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.005681, allocations: 215.2 kB / 263.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.005698, allocations: 4 kB / 263.1 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.337e-05/0.005751, allocations: 7.984 kB / 263.1 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.119e-05/0.005773, allocations: 11.98 kB / 263.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.005779, allocations: 4 kB / 263.2 MB, free: 11.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.458e-05/0.005813, allocations: 48.66 kB / 263.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005813, allocations: 4.031 kB / 263.2 MB, free: 11.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001497/0.005963, allocations: 43.98 kB / 263.2 MB, free: 11.78 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 8.717e-05/0.00605, allocations: 96.23 kB / 263.3 MB, free: 11.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.006281, allocations: 80.2 kB / 263.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.006288, allocations: 4 kB / 263.4 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.419e-05/0.006332, allocations: 40.83 kB / 263.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.006515, allocations: 175.9 kB / 263.6 MB, free: 11.35 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.006976, allocations: 289.2 kB / 263.9 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.765e-05/0.007013, allocations: 68 kB / 264 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.111e-05/0.007055, allocations: 17.48 kB / 264 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.135e-05/0.007136, allocations: 91.34 kB / 264.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007136, allocations: 4 kB / 264.1 MB, free: 10.85 MB / 266.7 MB Notification: Performance of Templates: time 0.003217/0.01035, allocations: 2.241 MB / 266.3 MB, free: 8.656 MB / 266.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.3262464366853237]