Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.0008187/0.0008187, allocations: 73.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.0008963/0.0008963, allocations: 169 kB / 24.06 MB, free: 456 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.001/1.001, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.04/0.04, allocations: 8.606 MB / 269.6 MB, free: 4.766 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.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 342.1 MB, free: 9.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.451e-05, allocations: 2.312 kB / 342.1 MB, free: 9.16 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002166/0.002191, allocations: 1.812 MB / 343.9 MB, free: 7.336 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.003315, allocations: 0.635 MB / 344.6 MB, free: 6.695 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.003442, allocations: 15.81 kB / 344.6 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.003569, allocations: 27.67 kB / 344.6 MB, free: 6.652 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 9.296e-05/0.003662, allocations: 39.59 kB / 344.6 MB, free: 6.613 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.003952, allocations: 103.7 kB / 344.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.004232, allocations: 227.3 kB / 345 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.004366, allocations: 44.8 kB / 345 MB, free: 6.246 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.004557, allocations: 135.7 kB / 345.1 MB, free: 6.113 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.004678, allocations: 71.77 kB / 345.2 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.769e-05/0.004716, allocations: 16 kB / 345.2 MB, free: 6.027 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.716e-05/0.004743, allocations: 16 kB / 345.2 MB, free: 6.012 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.004801, allocations: 47.77 kB / 345.3 MB, free: 5.965 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.9e-05/0.00488, allocations: 55.83 kB / 345.3 MB, free: 5.91 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.005087, allocations: 151.4 kB / 345.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.00509, allocations: 0 / 345.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005091, allocations: 0 / 345.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.005095, allocations: 0 / 345.5 MB, free: 5.762 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007855/0.00588, allocations: 0.5833 MB / 346.1 MB, free: 5.137 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.005918, allocations: 12.03 kB / 346.1 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.005994, allocations: 40.73 kB / 346.1 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.00632, allocations: 255.8 kB / 346.4 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.00639, allocations: 93.67 kB / 346.5 MB, free: 4.699 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.00643, allocations: 20.31 kB / 346.5 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.006694, allocations: 142.8 kB / 346.6 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.006702, allocations: 192 / 346.6 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.457e-05/0.006767, allocations: 8.125 kB / 346.6 MB, free: 4.523 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.006777, allocations: 8 kB / 346.6 MB, free: 4.516 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.006895, allocations: 39.95 kB / 346.7 MB, free: 4.477 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006453/0.007541, allocations: 471.5 kB / 347.1 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.007648, allocations: 62.98 kB / 347.2 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.007686, allocations: 31.67 kB / 347.2 MB, free: 3.879 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.007709, allocations: 7.984 kB / 347.2 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.007844, allocations: 109 kB / 347.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.007845, allocations: 0 / 347.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002317/0.008077, allocations: 137.4 kB / 347.5 MB, free: 3.609 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.008108, allocations: 59.39 kB / 347.5 MB, free: 3.539 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.008224, allocations: 253.7 kB / 347.8 MB, free: 3.273 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.008241, allocations: 25.7 kB / 347.8 MB, free: 3.242 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.936e-05/0.00832, allocations: 195.1 kB / 348 MB, free: 3.047 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.008346, allocations: 39.67 kB / 348 MB, free: 3.008 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/0.008401, allocations: 51.33 kB / 348.1 MB, free: 2.949 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.008507, allocations: 0.5001 MB / 348.6 MB, free: 2.438 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.935e-05/0.008557, allocations: 57.67 kB / 348.6 MB, free: 2.375 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.193e-05/0.008619, allocations: 92.36 kB / 348.7 MB, free: 2.262 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.00872, allocations: 114.3 kB / 348.8 MB, free: 2.129 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.008723, allocations: 7.938 kB / 348.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001844/0.008908, allocations: 211.3 kB / 349.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.008935, allocations: 37.64 kB / 349.1 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.00894, allocations: 4.094 kB / 349.1 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.283e-06/0.008947, allocations: 0 / 349.1 MB, free: 1.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.009282, allocations: 75.83 kB / 349.2 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/0.009284, allocations: 0 / 349.2 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.009361, allocations: 23.94 kB / 349.2 MB, free: 1.754 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.00937, allocations: 4 kB / 349.2 MB, free: 1.75 MB / 314.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 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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 7.989e-05/0.00945, allocations: 172.5 kB / 349.4 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.009474, allocations: 23.89 kB / 349.4 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.009506, allocations: 21.41 kB / 349.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.009508, allocations: 4 kB / 349.4 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-06/0.009511, allocations: 0 / 349.4 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.009514, allocations: 0 / 349.4 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.009649, allocations: 165.1 kB / 349.6 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.00965, allocations: 3.938 kB / 349.6 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.01004, allocations: 63.95 kB / 349.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.01004, allocations: 0 / 349.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01006, allocations: 0 / 349.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.01006, allocations: 4 kB / 349.7 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01006, allocations: 3.938 kB / 349.7 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/0.01372, allocations: 176.2 kB / 349.8 MB, free: 1.066 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.01375, allocations: 15.86 kB / 349.8 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.01377, allocations: 8 kB / 349.9 MB, free: 1.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/0.01386, allocations: 19.97 kB / 349.9 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.01393, allocations: 23.84 kB / 349.9 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.01394, allocations: 8.047 kB / 349.9 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.259e-05/0.01402, allocations: 176.5 kB / 350.1 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01402, allocations: 0 / 350.1 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.01424, allocations: 39.89 kB / 350.1 MB, free: 0.7812 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.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 (12): * Single equations (assignments): 9 * 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.0001041/0.01435, allocations: 103.2 kB / 350.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.01455, allocations: 160.7 kB / 350.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01455, allocations: 4.188 kB / 350.4 MB, free: 500 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.889e-05/0.01462, allocations: 47.53 kB / 350.4 MB, free: 448 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.01484, allocations: 25.48 kB / 350.4 MB, free: 424 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005598/0.0154, allocations: 367.2 kB / 350.8 MB, free: 24 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.929e-05/0.01546, allocations: 75.98 kB / 350.9 MB, free: 15.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.142e-05/0.01554, allocations: 17.48 kB / 350.9 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.01566, allocations: 106.2 kB / 351 MB, free: 15.81 MB / 330.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01566, allocations: 0 / 351 MB, free: 15.81 MB / 330.7 MB Notification: Performance of Templates: time 0.008468/0.02412, allocations: 2.338 MB / 353.3 MB, free: 13.5 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9177556200884283]