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.001003/0.001003, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001009/0.001009, allocations: 177 kB / 24.07 MB, free: 448 kB / 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.042/1.042, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.03807/0.03807, allocations: 8.609 MB / 269.7 MB, free: 4.758 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.272e-06/1.272e-06, allocations: 0 / 342.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.123e-05, allocations: 4.844 kB / 342.1 MB, free: 9.168 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002777/0.002808, allocations: 1.873 MB / 344 MB, free: 7.277 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.004033, allocations: 0.7055 MB / 344.7 MB, free: 6.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.004197, allocations: 15.81 kB / 344.7 MB, free: 6.555 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001339/0.004331, allocations: 23.67 kB / 344.7 MB, free: 6.531 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.004449, allocations: 51.52 kB / 344.8 MB, free: 6.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.00488, allocations: 131.7 kB / 344.9 MB, free: 6.352 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.005232, allocations: 299.1 kB / 345.2 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.005367, allocations: 45.12 kB / 345.2 MB, free: 6.016 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.005632, allocations: 183.5 kB / 345.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.005763, allocations: 79.75 kB / 345.5 MB, free: 5.758 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.318e-05/0.005807, allocations: 20 kB / 345.5 MB, free: 5.738 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.851e-05/0.005835, allocations: 24 kB / 345.5 MB, free: 5.715 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.521e-05/0.00589, allocations: 55.75 kB / 345.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/0.005963, allocations: 63.81 kB / 345.7 MB, free: 5.598 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.006188, allocations: 171.2 kB / 345.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.006191, allocations: 4 kB / 345.8 MB, free: 5.426 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.006192, allocations: 0 / 345.8 MB, free: 5.426 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.006197, allocations: 0 / 345.8 MB, free: 5.426 MB / 314.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.000797/0.006994, allocations: 0.6182 MB / 346.4 MB, free: 4.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.007031, allocations: 8.031 kB / 346.5 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.885e-05/0.00711, allocations: 40.8 kB / 346.5 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.007474, allocations: 278.1 kB / 346.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.88e-05/0.007553, allocations: 93.95 kB / 346.9 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.007595, allocations: 24.12 kB / 346.9 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.007893, allocations: 160.4 kB / 347 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.007903, allocations: 0 / 347 MB, free: 4.117 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.007923, allocations: 7.938 kB / 347 MB, free: 4.109 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.00793, allocations: 11.94 kB / 347.1 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.008031, allocations: 48.8 kB / 347.1 MB, free: 4.051 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008779/0.008909, allocations: 0.547 MB / 347.7 MB, free: 3.477 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001477/0.009056, allocations: 86.89 kB / 347.7 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.00937, allocations: 47.59 kB / 347.8 MB, free: 3.328 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.00939, allocations: 4 kB / 347.8 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.009562, allocations: 109 kB / 347.9 MB, free: 3.203 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.009563, allocations: 0 / 347.9 MB, free: 3.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003329/0.009896, allocations: 176.7 kB / 348.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.00993, allocations: 55.41 kB / 348.1 MB, free: 2.961 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.01011, allocations: 280.2 kB / 348.4 MB, free: 2.672 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.01013, allocations: 29.7 kB / 348.4 MB, free: 2.637 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.01024, allocations: 199.1 kB / 348.6 MB, free: 2.438 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.154e-05/0.01028, allocations: 51.58 kB / 348.7 MB, free: 2.387 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.281e-05/0.01036, allocations: 59.17 kB / 348.7 MB, free: 2.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.01049, allocations: 0.5079 MB / 349.2 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.01058, allocations: 53.69 kB / 349.3 MB, free: 1.742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.01068, allocations: 104.4 kB / 349.4 MB, free: 1.617 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.01083, allocations: 136.3 kB / 349.5 MB, free: 1.461 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.01083, allocations: 0 / 349.5 MB, free: 1.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002844/0.01112, allocations: 228.8 kB / 349.7 MB, free: 1.219 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.01115, allocations: 33.64 kB / 349.8 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.01116, allocations: 12.03 kB / 349.8 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.01117, allocations: 0 / 349.8 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/0.01194, allocations: 107.9 kB / 349.9 MB, free: 1.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.01376, allocations: 3.658 MB / 353.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.01392, allocations: 27.88 kB / 353.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.01394, allocations: 4 kB / 353.6 MB, free: 13.14 MB / 330.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.0001214/0.01406, allocations: 168 kB / 353.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.0141, allocations: 31.8 kB / 353.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.01435, allocations: 175.6 kB / 354 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01435, allocations: 0 / 354 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.01436, allocations: 0 / 354 MB, free: 12.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.01436, allocations: 15.86 kB / 354 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.01487, allocations: 460.7 kB / 354.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01487, allocations: 0 / 354.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/0.01557, allocations: 99.92 kB / 354.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.01557, allocations: 0 / 354.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.01559, allocations: 12 kB / 354.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.01559, allocations: 0 / 354.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.0156, allocations: 3.938 kB / 354.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.01591, allocations: 323.6 kB / 354.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.01594, allocations: 31.78 kB / 354.9 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.01596, allocations: 11.98 kB / 354.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.01609, allocations: 19.92 kB / 354.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/0.01639, allocations: 27.95 kB / 354.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.01641, allocations: 0 / 354.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.01651, allocations: 189.1 kB / 355.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01651, allocations: 0 / 355.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002997/0.01681, allocations: 39.95 kB / 355.2 MB, free: 11.5 MB / 330.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.0001106/0.01692, allocations: 103.2 kB / 355.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003789/0.0173, allocations: 204.6 kB / 355.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.0173, allocations: 0 / 355.5 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.803e-05/0.0174, allocations: 63.58 kB / 355.5 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.01771, allocations: 28.48 kB / 355.6 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.01846, allocations: 445.8 kB / 356 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.01852, allocations: 84.34 kB / 356.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.01863, allocations: 25.94 kB / 356.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.01877, allocations: 110.2 kB / 356.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01877, allocations: 4 kB / 356.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of Templates: time 0.005909/0.02468, allocations: 2.913 MB / 359.1 MB, free: 7.488 MB / 330.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: 2.996788919903338]