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.0008608/0.0008608, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.0008778/0.0008778, allocations: 173 kB / 23.36 MB, free: 0.9727 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.9395/0.9395, allocations: 177.2 MB / 203.8 MB, free: 5.469 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.03643/0.03643, allocations: 8.627 MB / 268.9 MB, free: 4.785 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.382e-06/1.382e-06, allocations: 0 / 288.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.348e-05, allocations: 5.828 kB / 288.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.112/0.112, allocations: 1.818 MB / 289.9 MB, free: 19.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000982/0.113, allocations: 0.6402 MB / 290.5 MB, free: 19.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.1131, allocations: 16.69 kB / 290.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.1132, allocations: 22.3 kB / 290.6 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.153e-05/0.1133, allocations: 38.67 kB / 290.6 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1136, allocations: 108.8 kB / 290.7 MB, free: 19.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.1138, allocations: 235.3 kB / 290.9 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1139, allocations: 43.06 kB / 291 MB, free: 19.06 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.1141, allocations: 131.1 kB / 291.1 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.1142, allocations: 74.08 kB / 291.2 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.1143, allocations: 19.03 kB / 291.2 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.752e-05/0.1143, allocations: 17.88 kB / 291.2 MB, free: 19.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.752e-05/0.1144, allocations: 42.98 kB / 291.3 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.697e-05/0.1145, allocations: 59.39 kB / 291.3 MB, free: 19.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.1147, allocations: 147.4 kB / 291.5 MB, free: 18.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1147, allocations: 1.062 kB / 291.5 MB, free: 18.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1147, allocations: 0 / 291.5 MB, free: 18.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1147, allocations: 1.375 kB / 291.5 MB, free: 18.97 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006136/0.1153, allocations: 473.8 kB / 291.9 MB, free: 18.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.1153, allocations: 9.969 kB / 291.9 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.1154, allocations: 30.75 kB / 292 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.1157, allocations: 223.7 kB / 292.2 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.1157, allocations: 103.9 kB / 292.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.1157, allocations: 19.48 kB / 292.3 MB, free: 18.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1159, allocations: 146.6 kB / 292.4 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.116, allocations: 192 / 292.5 MB, free: 18.31 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.116, allocations: 8.844 kB / 292.5 MB, free: 18.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.116, allocations: 3.844 kB / 292.5 MB, free: 18.3 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.318e-05/0.116, allocations: 33.47 kB / 292.5 MB, free: 18.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004753/0.1165, allocations: 334 kB / 292.8 MB, free: 18.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.482e-05/0.1166, allocations: 49.69 kB / 292.9 MB, free: 18.1 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.1166, allocations: 24.59 kB / 292.9 MB, free: 18.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.1167, allocations: 2.469 kB / 292.9 MB, free: 18.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.1168, allocations: 102 kB / 293 MB, free: 18.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 2.595e-06/0.1168, allocations: 0.7812 kB / 293 MB, free: 18.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001807/0.117, allocations: 106.3 kB / 293.1 MB, free: 18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.117, allocations: 55.11 kB / 293.2 MB, free: 17.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.1171, allocations: 201.7 kB / 293.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.1171, allocations: 31.52 kB / 293.4 MB, free: 17.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.1171, allocations: 127.5 kB / 293.5 MB, free: 17.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.1172, allocations: 39.69 kB / 293.5 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.1172, allocations: 47.78 kB / 293.6 MB, free: 17.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.456e-05/0.1172, allocations: 329.4 kB / 293.9 MB, free: 17.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.1173, allocations: 49.3 kB / 294 MB, free: 17.26 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.991e-05/0.1173, allocations: 83.98 kB / 294 MB, free: 17.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.138e-05/0.1174, allocations: 115.9 kB / 294.2 MB, free: 17.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1174, allocations: 0 / 294.2 MB, free: 17.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001453/0.1176, allocations: 167.3 kB / 294.3 MB, free: 17 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1176, allocations: 32.86 kB / 294.4 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1176, allocations: 5.688 kB / 294.4 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1176, allocations: 2.656 kB / 294.4 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000296/0.1179, allocations: 71.34 kB / 294.4 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.367e-06/0.1179, allocations: 2.25 kB / 294.4 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.532e-05/0.118, allocations: 30.16 kB / 294.5 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.118, allocations: 6.453 kB / 294.5 MB, free: 16.95 MB / 266.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 5.888e-05/0.1181, allocations: 117.1 kB / 294.6 MB, free: 16.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.1181, allocations: 16.17 kB / 294.6 MB, free: 16.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.1181, allocations: 25.92 kB / 294.6 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1181, allocations: 1.969 kB / 294.6 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1181, allocations: 4.469 kB / 294.6 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1181, allocations: 1.859 kB / 294.6 MB, free: 16.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.1183, allocations: 127.5 kB / 294.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1183, allocations: 2.344 kB / 294.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003079/0.1186, allocations: 64.7 kB / 294.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1186, allocations: 1.641 kB / 294.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.1186, allocations: 1.547 kB / 294.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1186, allocations: 1.656 kB / 294.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1186, allocations: 5.594 kB / 294.8 MB, free: 16.71 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.1188, allocations: 145.5 kB / 295 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.1188, allocations: 13.55 kB / 295 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.1188, allocations: 7.328 kB / 295 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.1189, allocations: 20.73 kB / 295 MB, free: 16.61 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.033e-05/0.1189, allocations: 22.19 kB / 295 MB, free: 16.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1189, allocations: 4.812 kB / 295 MB, free: 16.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.965e-05/0.119, allocations: 64.31 kB / 295.1 MB, free: 16.58 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.119, allocations: 0 / 295.1 MB, free: 16.58 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000133/0.1191, allocations: 40.05 kB / 295.1 MB, free: 16.57 MB / 266.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 8.39e-05/0.1192, allocations: 79.75 kB / 295.2 MB, free: 16.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.1193, allocations: 154 kB / 295.4 MB, free: 16.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.1193, allocations: 6.906 kB / 295.4 MB, free: 16.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.623e-05/0.1194, allocations: 46.55 kB / 295.4 MB, free: 16.36 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001374/0.1195, allocations: 28.39 kB / 295.5 MB, free: 16.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.12, allocations: 358 kB / 295.8 MB, free: 16.12 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.388e-05/0.1201, allocations: 80.95 kB / 295.9 MB, free: 16.04 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.849e-05/0.1201, allocations: 21.09 kB / 295.9 MB, free: 16.04 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.1202, allocations: 80.11 kB / 296 MB, free: 15.99 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1202, allocations: 2.875 kB / 296 MB, free: 15.99 MB / 266.7 MB Notification: Performance of Templates: time 0.00434/0.1245, allocations: 2.071 MB / 298.1 MB, free: 15.82 MB / 266.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.533576313406229]