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.001399/0.001399, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002623/0.004023, allocations: 435.8 kB / 10.33 MB, free: 368 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.001328/0.001328, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001589/0.002917, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.186/1.186, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1424/1.329, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.03843/0.03843, allocations: 8.619 MB / 252.6 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009509/0.04794, allocations: 3.128 MB / 255.7 MB, free: 3.594 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 3.066e-06/3.066e-06, allocations: 0 / 257 MB, free: 2.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.9e-05/4.207e-05, allocations: 2.312 kB / 257 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002986/0.003028, allocations: 1.692 MB / 258.7 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005937/0.003622, allocations: 314.7 kB / 259 MB, free: 320 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.003693, allocations: 0 / 259 MB, free: 320 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.003731, allocations: 15.81 kB / 259 MB, free: 304 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.34e-05/0.003824, allocations: 19.8 kB / 259 MB, free: 284 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003471/0.004171, allocations: 87.73 kB / 259.1 MB, free: 196 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.004369, allocations: 131.6 kB / 259.2 MB, free: 64 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.004504, allocations: 18.45 kB / 259.2 MB, free: 44 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.004675, allocations: 103.7 kB / 259.3 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.00478, allocations: 47.72 kB / 259.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.004812, allocations: 12 kB / 259.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.00493, allocations: 43.97 kB / 259.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.004961, allocations: 19.94 kB / 259.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.005002, allocations: 27.88 kB / 259.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.005214, allocations: 115.6 kB / 259.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.463e-05/0.005239, allocations: 0 / 259.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.005241, allocations: 0 / 259.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.005263, allocations: 3.938 kB / 259.6 MB, free: 15.68 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.0007028/0.005966, allocations: 371.8 kB / 260 MB, free: 15.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.006009, allocations: 8.031 kB / 260 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.00606, allocations: 12.92 kB / 260 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.006261, allocations: 157.5 kB / 260.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.006274, allocations: 4.375 kB / 260.1 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.00631, allocations: 20.3 kB / 260.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.006556, allocations: 229 kB / 260.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.006567, allocations: 4.172 kB / 260.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.00658, allocations: 384 / 260.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.006586, allocations: 4.375 kB / 260.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.158e-05/0.006637, allocations: 23.86 kB / 260.4 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008433/0.007481, allocations: 236.1 kB / 260.6 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.007597, allocations: 58.55 kB / 260.7 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.007638, allocations: 36.84 kB / 260.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.007649, allocations: 3.938 kB / 260.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.007801, allocations: 99.14 kB / 260.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.007802, allocations: 0 / 260.8 MB, free: 14.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0001935/0.007996, allocations: 89.66 kB / 260.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.00805, allocations: 63.28 kB / 261 MB, free: 14.13 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.008167, allocations: 187.9 kB / 261.2 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.008187, allocations: 29.7 kB / 261.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.149e-05/0.008248, allocations: 108.1 kB / 261.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.008282, allocations: 47.62 kB / 261.4 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.00833, allocations: 41.69 kB / 261.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.008439, allocations: 334.8 kB / 261.7 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.008467, allocations: 15.98 kB / 261.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.008578, allocations: 196.2 kB / 261.9 MB, free: 13.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.96e-05/0.008668, allocations: 93.83 kB / 262 MB, free: 12.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.008671, allocations: 4 kB / 262 MB, free: 12.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001371/0.008808, allocations: 113.2 kB / 262.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.008826, allocations: 4 kB / 262.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.008833, allocations: 4 kB / 262.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.008849, allocations: 4 kB / 262.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.009057, allocations: 39.92 kB / 262.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.009062, allocations: 0 / 262.2 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.753e-05/0.00913, allocations: 24.12 kB / 262.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.009138, allocations: 8 kB / 262.2 MB, free: 12.79 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 9.48e-05/0.009233, allocations: 129.7 kB / 262.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.009254, allocations: 11.98 kB / 262.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.0093, allocations: 17.47 kB / 262.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.009303, allocations: 0 / 262.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.009314, allocations: 7.984 kB / 262.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.00932, allocations: 0 / 262.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.009611, allocations: 266.7 kB / 262.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.009614, allocations: 4 kB / 262.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.009741, allocations: 19.98 kB / 262.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.009762, allocations: 23.83 kB / 262.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.009766, allocations: 0 / 262.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.009781, allocations: 0 / 262.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.009783, allocations: 0 / 262.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.009787, allocations: 4 kB / 262.7 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.01, allocations: 215.2 kB / 262.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.01003, allocations: 4 kB / 262.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.0101, allocations: 12 kB / 262.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.01014, allocations: 12.02 kB / 262.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.01015, allocations: 3.984 kB / 262.9 MB, free: 12.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.496e-05/0.01019, allocations: 52.67 kB / 263 MB, free: 11.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01019, allocations: 0 / 263 MB, free: 11.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001817/0.01038, allocations: 32 kB / 263 MB, free: 11.93 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.0001702/0.01055, allocations: 104.3 kB / 263.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001495/0.0107, allocations: 80.69 kB / 263.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.01071, allocations: 4.375 kB / 263.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.767e-05/0.01076, allocations: 40.41 kB / 263.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.01097, allocations: 47.61 kB / 263.3 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.01173, allocations: 297.2 kB / 263.6 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.188e-05/0.01178, allocations: 71.98 kB / 263.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.254e-05/0.01184, allocations: 17.48 kB / 263.7 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.01195, allocations: 91.34 kB / 263.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of SimCode: time 1.233e-06/0.01195, allocations: 0 / 263.8 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Templates: time 0.004963/0.01691, allocations: 2.283 MB / 266 MB, free: 8.902 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.8691888013854623]