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.001006/0.001006, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001675/0.001675, allocations: 173 kB / 23.49 MB, free: 1.059 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.9798/0.9798, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.04586/0.04586, allocations: 8.619 MB / 268.9 MB, free: 4.969 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.653e-06/1.653e-06, allocations: 0 / 340.9 MB, free: 8.73 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.335e-05, allocations: 10.25 kB / 340.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002041/0.002065, allocations: 1.876 MB / 342.8 MB, free: 6.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008564/0.002921, allocations: 0.7056 MB / 343.5 MB, free: 6.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.003049, allocations: 15.81 kB / 343.5 MB, free: 6.105 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.00315, allocations: 27.61 kB / 343.5 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.308e-05/0.003234, allocations: 51.58 kB / 343.6 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.003538, allocations: 131.7 kB / 343.7 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.003757, allocations: 295.2 kB / 344 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.003868, allocations: 41.14 kB / 344 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.00401, allocations: 175.5 kB / 344.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.004113, allocations: 91.69 kB / 344.3 MB, free: 5.305 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.004142, allocations: 24 kB / 344.3 MB, free: 5.281 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.099e-05/0.004163, allocations: 20 kB / 344.3 MB, free: 5.262 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.004199, allocations: 55.8 kB / 344.4 MB, free: 5.207 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.631e-05/0.004256, allocations: 67.75 kB / 344.5 MB, free: 5.141 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.004416, allocations: 183.3 kB / 344.6 MB, free: 4.961 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004419, allocations: 0 / 344.6 MB, free: 4.961 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004419, allocations: 0 / 344.6 MB, free: 4.961 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.004425, allocations: 0 / 344.6 MB, free: 4.961 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.0006874/0.005112, allocations: 0.6183 MB / 345.3 MB, free: 4.301 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.005152, allocations: 12.03 kB / 345.3 MB, free: 4.289 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.788e-05/0.00523, allocations: 44.75 kB / 345.3 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.00555, allocations: 271.4 kB / 345.6 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/0.005628, allocations: 101.9 kB / 345.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.833e-05/0.005667, allocations: 20.12 kB / 345.7 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.005937, allocations: 180.4 kB / 345.9 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.005944, allocations: 0 / 345.9 MB, free: 3.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.005959, allocations: 4 kB / 345.9 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.005967, allocations: 8 kB / 345.9 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.006072, allocations: 60.8 kB / 345.9 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.006789, allocations: 0.5933 MB / 346.5 MB, free: 2.926 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.006939, allocations: 94.89 kB / 346.6 MB, free: 2.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.007003, allocations: 43.67 kB / 346.7 MB, free: 2.773 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.007026, allocations: 8 kB / 346.7 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.0072, allocations: 115.5 kB / 346.8 MB, free: 2.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.007202, allocations: 3.938 kB / 346.8 MB, free: 2.637 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003274/0.007529, allocations: 193.4 kB / 347 MB, free: 2.441 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.007557, allocations: 59.39 kB / 347 MB, free: 2.371 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.007682, allocations: 276.3 kB / 347.3 MB, free: 2.086 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.0077, allocations: 37.69 kB / 347.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.007765, allocations: 199.1 kB / 347.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.815e-05/0.007793, allocations: 51.53 kB / 347.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.802e-05/0.007851, allocations: 51.36 kB / 347.6 MB, free: 1.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.007904, allocations: 0.5079 MB / 348.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.13e-05/0.007985, allocations: 69.67 kB / 348.2 MB, free: 1.141 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.256e-05/0.008077, allocations: 106.9 kB / 348.3 MB, free: 1.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.008233, allocations: 151.1 kB / 348.5 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.008235, allocations: 0 / 348.5 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002597/0.008495, allocations: 244.7 kB / 348.7 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.008523, allocations: 32.2 kB / 348.7 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.008528, allocations: 8.078 kB / 348.7 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.008542, allocations: 4 kB / 348.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.009207, allocations: 107.9 kB / 348.9 MB, free: 448 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.0109, allocations: 3.696 MB / 352.6 MB, free: 12.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.01101, allocations: 27.88 kB / 352.6 MB, free: 12.46 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.01103, allocations: 8 kB / 352.6 MB, free: 12.46 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.0001257/0.01115, allocations: 171.7 kB / 352.8 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.01119, allocations: 23.86 kB / 352.8 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.01143, allocations: 187.6 kB / 353 MB, free: 12.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.01144, allocations: 8 kB / 353 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01144, allocations: 0 / 353 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01144, allocations: 0 / 353 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005291/0.01197, allocations: 0.5168 MB / 353.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.01198, allocations: 3.938 kB / 353.5 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/0.01255, allocations: 99.94 kB / 353.6 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01255, allocations: 0 / 353.6 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.01257, allocations: 11.98 kB / 353.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01257, allocations: 0 / 353.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01257, allocations: 0 / 353.6 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003252/0.01289, allocations: 358.6 kB / 354 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.01292, allocations: 23.86 kB / 354 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.01294, allocations: 4 kB / 354 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.01302, allocations: 15.98 kB / 354 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/0.01309, allocations: 27.95 kB / 354 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.0131, allocations: 4 kB / 354 MB, free: 10.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.905e-05/0.0132, allocations: 197.1 kB / 354.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.0132, allocations: 0 / 354.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002112/0.01341, allocations: 47.89 kB / 354.3 MB, free: 10.71 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.0001132/0.01353, allocations: 111.2 kB / 354.4 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000407/0.01393, allocations: 212.6 kB / 354.6 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01394, allocations: 4.188 kB / 354.6 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.809e-05/0.01403, allocations: 67.59 kB / 354.7 MB, free: 10.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.01432, allocations: 40.41 kB / 354.7 MB, free: 10.24 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007797/0.0151, allocations: 430.7 kB / 355.1 MB, free: 9.789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.571e-05/0.01515, allocations: 80.33 kB / 355.2 MB, free: 9.688 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.032e-05/0.01523, allocations: 29.94 kB / 355.2 MB, free: 9.656 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.0153, allocations: 24.5 kB / 355.2 MB, free: 9.633 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.0153, allocations: 0 / 355.2 MB, free: 9.633 MB / 282.7 MB Notification: Performance of Templates: time 0.004784/0.02008, allocations: 2.8 MB / 358 MB, free: 6.883 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: 2.9593466070946306]