Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.0009876/0.0009876, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001076/0.001076, allocations: 177 kB / 23.36 MB, free: 1.129 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.9984/0.9984, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.03783/0.03783, allocations: 8.618 MB / 268.9 MB, free: 4.812 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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 288.1 MB, free: 1.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147e-05/1.26e-05, allocations: 2.312 kB / 288.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.1206/0.1206, allocations: 1.83 MB / 289.9 MB, free: 19.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1218, allocations: 0.6187 MB / 290.6 MB, free: 19.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1219, allocations: 6.891 kB / 290.6 MB, free: 19.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.122, allocations: 22.23 kB / 290.6 MB, free: 19.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.184e-05/0.1221, allocations: 40.03 kB / 290.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002657/0.1223, allocations: 93.36 kB / 290.7 MB, free: 19.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.1226, allocations: 211.1 kB / 290.9 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.1227, allocations: 28.33 kB / 291 MB, free: 19.09 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.1228, allocations: 112 kB / 291.1 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1229, allocations: 65.84 kB / 291.1 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.123, allocations: 16.53 kB / 291.1 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.266e-05/0.123, allocations: 15.09 kB / 291.2 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.123, allocations: 41.91 kB / 291.2 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.1231, allocations: 61.14 kB / 291.3 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.1233, allocations: 132.4 kB / 291.4 MB, free: 19.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1233, allocations: 0.6094 kB / 291.4 MB, free: 19.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1233, allocations: 1 kB / 291.4 MB, free: 19.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1233, allocations: 0 / 291.4 MB, free: 19.02 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000596/0.1239, allocations: 470.6 kB / 291.8 MB, free: 18.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1239, allocations: 9.281 kB / 291.9 MB, free: 18.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.124, allocations: 30.48 kB / 291.9 MB, free: 18.65 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1242, allocations: 189 kB / 292.1 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/0.1242, allocations: 69.3 kB / 292.1 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.1242, allocations: 11.02 kB / 292.2 MB, free: 18.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.1245, allocations: 162.7 kB / 292.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.1245, allocations: 192 / 292.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.1245, allocations: 9.406 kB / 292.3 MB, free: 18.35 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.1245, allocations: 5.062 kB / 292.3 MB, free: 18.35 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.1246, allocations: 36.59 kB / 292.4 MB, free: 18.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.1251, allocations: 434.6 kB / 292.8 MB, free: 18.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1252, allocations: 47.95 kB / 292.8 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.1252, allocations: 17.91 kB / 292.8 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.1252, allocations: 2.219 kB / 292.9 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.1254, allocations: 105.4 kB / 293 MB, free: 17.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.1254, allocations: 0.5 kB / 293 MB, free: 17.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001941/0.1256, allocations: 100.7 kB / 293.1 MB, free: 17.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.1256, allocations: 55.77 kB / 293.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1257, allocations: 196.9 kB / 293.3 MB, free: 17.68 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.1257, allocations: 33.12 kB / 293.3 MB, free: 17.65 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.1258, allocations: 124.1 kB / 293.5 MB, free: 17.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.1258, allocations: 45.88 kB / 293.5 MB, free: 17.52 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.1259, allocations: 48.25 kB / 293.5 MB, free: 17.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.039e-05/0.1259, allocations: 337.7 kB / 293.9 MB, free: 17.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.126, allocations: 73.67 kB / 293.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.126, allocations: 134 kB / 294.1 MB, free: 16.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.1262, allocations: 153.7 kB / 294.2 MB, free: 16.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1262, allocations: 1.438 kB / 294.2 MB, free: 16.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002084/0.1264, allocations: 245 kB / 294.5 MB, free: 16.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.1264, allocations: 61.69 kB / 294.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1264, allocations: 2.219 kB / 294.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1264, allocations: 2.281 kB / 294.5 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.1267, allocations: 67.83 kB / 294.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1267, allocations: 2.875 kB / 294.6 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.1268, allocations: 36.86 kB / 294.6 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.1269, allocations: 9.5 kB / 294.6 MB, free: 16.61 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: 15 ($whenCondition2,I.TS_in,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.764e-05/0.1269, allocations: 125 kB / 294.8 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.1269, allocations: 19.17 kB / 294.8 MB, free: 16.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.127, allocations: 19.67 kB / 294.8 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.127, allocations: 3.141 kB / 294.8 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.127, allocations: 0 / 294.8 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.127, allocations: 5.281 kB / 294.8 MB, free: 16.47 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.1271, allocations: 110.7 kB / 294.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1271, allocations: 2.203 kB / 294.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.1274, allocations: 42.83 kB / 295 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1274, allocations: 4.922 kB / 295 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.1274, allocations: 6.703 kB / 295 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1274, allocations: 1.281 kB / 295 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1274, allocations: 0 / 295 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.1276, allocations: 139.6 kB / 295.1 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.1277, allocations: 23.72 kB / 295.1 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1277, allocations: 2.625 kB / 295.1 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.1278, allocations: 23.2 kB / 295.2 MB, free: 16.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.1279, allocations: 34.28 kB / 295.2 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.1279, allocations: 4.219 kB / 295.2 MB, free: 16.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.113e-05/0.1279, allocations: 62.11 kB / 295.3 MB, free: 16.24 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1279, allocations: 0 / 295.3 MB, free: 16.24 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.1282, allocations: 35.08 kB / 295.3 MB, free: 16.24 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001049/0.1283, allocations: 84.55 kB / 295.4 MB, free: 16.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.1285, allocations: 252.2 kB / 295.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.1286, allocations: 1 kB / 295.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.1286, allocations: 43 kB / 295.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.1288, allocations: 35.41 kB / 295.7 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.1294, allocations: 302.3 kB / 296 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.198e-05/0.1294, allocations: 71.81 kB / 296.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.965e-05/0.1295, allocations: 21.38 kB / 296.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1296, allocations: 86.69 kB / 296.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1296, allocations: 1.031 kB / 296.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of Templates: time 0.005526/0.1352, allocations: 2.569 MB / 298.7 MB, free: 15.38 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6961711635813117]