Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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.001817/0.001817, allocations: 93.47 kB / 19.44 MB, free: 336 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.002004/0.002004, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.569/1.569, allocations: 177.1 MB / 203.1 MB, free: 5.621 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.07501/0.07501, allocations: 8.621 MB / 268.2 MB, free: 4.953 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.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.771e-05/2.901e-05, allocations: 6.25 kB / 340.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002434/0.002463, allocations: 1.865 MB / 342 MB, free: 6.867 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.003532, allocations: 0.6901 MB / 342.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.003654, allocations: 19.81 kB / 342.7 MB, free: 6.156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.003774, allocations: 23.67 kB / 342.7 MB, free: 6.133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.003886, allocations: 47.53 kB / 342.8 MB, free: 6.086 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.004217, allocations: 147.6 kB / 342.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.004446, allocations: 295.1 kB / 343.2 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.004576, allocations: 45.11 kB / 343.3 MB, free: 5.605 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.004759, allocations: 167.6 kB / 343.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.004915, allocations: 91.72 kB / 343.5 MB, free: 5.352 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.004962, allocations: 20 kB / 343.5 MB, free: 5.332 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.58e-05/0.004998, allocations: 24 kB / 343.6 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.005051, allocations: 59.75 kB / 343.6 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.903e-05/0.00513, allocations: 63.81 kB / 343.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.00537, allocations: 243.1 kB / 343.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.005374, allocations: 0 / 343.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005375, allocations: 0 / 343.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.00538, allocations: 0 / 343.9 MB, free: 4.949 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000927/0.006307, allocations: 0.6336 MB / 344.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.006344, allocations: 8.031 kB / 344.6 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.697e-05/0.006441, allocations: 48.69 kB / 344.6 MB, free: 4.219 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.006804, allocations: 275.4 kB / 344.9 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.006871, allocations: 97.95 kB / 345 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.006913, allocations: 28.05 kB / 345 MB, free: 3.773 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.007288, allocations: 191.7 kB / 345.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.0073, allocations: 0 / 345.2 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.007324, allocations: 11.98 kB / 345.2 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.007329, allocations: 0 / 345.2 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.007677, allocations: 136.8 kB / 345.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.008796, allocations: 0.6636 MB / 346 MB, free: 2.738 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.009152, allocations: 154.9 kB / 346.2 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.00933, allocations: 83.64 kB / 346.2 MB, free: 2.488 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.009365, allocations: 8 kB / 346.2 MB, free: 2.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000293/0.009658, allocations: 155.6 kB / 346.4 MB, free: 2.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.00966, allocations: 4 kB / 346.4 MB, free: 2.312 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007045/0.01036, allocations: 297.3 kB / 346.7 MB, free: 2.016 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/0.01039, allocations: 55.39 kB / 346.7 MB, free: 1.949 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.01056, allocations: 312.3 kB / 347 MB, free: 1.629 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.01058, allocations: 41.69 kB / 347.1 MB, free: 1.582 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.189e-05/0.01066, allocations: 199.1 kB / 347.3 MB, free: 1.383 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.0107, allocations: 63.52 kB / 347.3 MB, free: 1.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.01078, allocations: 59.36 kB / 347.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.436e-05/0.01086, allocations: 0.5118 MB / 347.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.01107, allocations: 109.7 kB / 348 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.01128, allocations: 154.6 kB / 348.2 MB, free: 456 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.01164, allocations: 228.3 kB / 348.4 MB, free: 204 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01165, allocations: 0 / 348.4 MB, free: 204 kB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006386/0.01229, allocations: 327.8 kB / 348.7 MB, free: 15.86 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.01233, allocations: 33.7 kB / 348.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.01234, allocations: 3.984 kB / 348.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.01235, allocations: 4.094 kB / 348.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/0.0138, allocations: 119.8 kB / 348.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.01717, allocations: 3.723 MB / 352.6 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.01742, allocations: 32.11 kB / 352.6 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.01745, allocations: 12 kB / 352.6 MB, free: 11.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,LL.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002191/0.01766, allocations: 180.5 kB / 352.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.01772, allocations: 23.86 kB / 352.8 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.01837, allocations: 262 kB / 353.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.01837, allocations: 4 kB / 353.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.91e-07/0.01837, allocations: 4 kB / 353.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.01838, allocations: 0 / 353.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.01948, allocations: 0.6028 MB / 353.7 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.01949, allocations: 3.938 kB / 353.7 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/0.02083, allocations: 103.9 kB / 353.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.02084, allocations: 0 / 353.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.02086, allocations: 3.984 kB / 353.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.02086, allocations: 0 / 353.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.02087, allocations: 7.938 kB / 353.8 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009658/0.02184, allocations: 477.9 kB / 354.3 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.097e-05/0.02189, allocations: 23.86 kB / 354.3 MB, free: 9.938 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.02192, allocations: 4 kB / 354.3 MB, free: 9.934 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.02212, allocations: 19.98 kB / 354.3 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.02223, allocations: 27.95 kB / 354.4 MB, free: 9.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.02225, allocations: 7.938 kB / 354.4 MB, free: 9.879 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000236/0.02249, allocations: 213.1 kB / 354.6 MB, free: 9.668 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02249, allocations: 0 / 354.6 MB, free: 9.668 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003511/0.02284, allocations: 47.89 kB / 354.6 MB, free: 9.621 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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.0001712/0.02301, allocations: 111.2 kB / 354.7 MB, free: 9.5 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009099/0.02392, allocations: 300.5 kB / 355 MB, free: 9.184 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.02392, allocations: 4 kB / 355 MB, free: 9.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.0245, allocations: 103.6 kB / 355.1 MB, free: 9.074 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.02486, allocations: 40.44 kB / 355.2 MB, free: 9.035 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.02598, allocations: 457.5 kB / 355.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.02613, allocations: 134.2 kB / 355.8 MB, free: 8.402 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.02625, allocations: 29.94 kB / 355.8 MB, free: 8.375 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.02636, allocations: 24.5 kB / 355.8 MB, free: 8.352 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02636, allocations: 0 / 355.8 MB, free: 8.352 MB / 282.7 MB Notification: Performance of Templates: time 0.008122/0.03448, allocations: 2.788 MB / 358.6 MB, free: 5.613 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.551506520016119]