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.001836/0.001836, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002337/0.002337, allocations: 220.4 kB / 23 MB, free: 4.914 MB / 14.72 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.06427/0.06427, allocations: 11.35 MB / 324.5 MB, free: 8.129 MB / 254.1 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 74.39 kB / 452.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1322, allocations: 56.06 MB / 0.4964 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003364/0.1356, allocations: 1.769 MB / 0.4981 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1369, allocations: 0.6234 MB / 0.4987 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.137, allocations: 11.88 kB / 0.4987 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.1372, allocations: 27.67 kB / 0.4987 GB, free: 15.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.1373, allocations: 39.59 kB / 0.4988 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.1376, allocations: 99.8 kB / 0.4989 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.1379, allocations: 227.4 kB / 0.4991 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.1381, allocations: 44.8 kB / 0.4991 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1383, allocations: 95.62 kB / 0.4992 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.1384, allocations: 83.52 kB / 0.4993 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.1385, allocations: 20 kB / 0.4993 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.957e-05/0.1385, allocations: 20 kB / 0.4993 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.731e-05/0.1385, allocations: 43.78 kB / 0.4994 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1387, allocations: 79.58 kB / 0.4995 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.1389, allocations: 199 kB / 0.4997 GB, free: 14.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1389, allocations: 0 / 0.4997 GB, free: 14.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1389, allocations: 0 / 0.4997 GB, free: 14.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.139, allocations: 0 / 0.4997 GB, free: 14.27 MB / 382.1 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.00122/0.1402, allocations: 0.5068 MB / 0.5002 GB, free: 13.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1402, allocations: 8.031 kB / 0.5002 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.584e-05/0.1403, allocations: 28.8 kB / 0.5002 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.1408, allocations: 229.8 kB / 0.5004 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.1409, allocations: 97.66 kB / 0.5005 GB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.418e-05/0.141, allocations: 20.33 kB / 0.5005 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005015/0.1415, allocations: 185.6 kB / 0.5007 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.1415, allocations: 0 / 0.5007 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1415, allocations: 8 kB / 0.5007 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.1415, allocations: 4 kB / 0.5007 GB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.142, allocations: 143.8 kB / 0.5008 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.1431, allocations: 479.8 kB / 0.5013 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/0.1437, allocations: 146.3 kB / 0.5014 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.144, allocations: 76.8 kB / 0.5015 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.144, allocations: 0 / 0.5015 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.1444, allocations: 139.3 kB / 0.5016 GB, free: 12.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.1444, allocations: 0 / 0.5016 GB, free: 12.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009443/0.1454, allocations: 281.4 kB / 0.5019 GB, free: 11.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.1454, allocations: 55.41 kB / 0.502 GB, free: 11.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.1456, allocations: 207.1 kB / 0.5022 GB, free: 11.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.1457, allocations: 33.7 kB / 0.5022 GB, free: 11.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.1458, allocations: 144.3 kB / 0.5023 GB, free: 11.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.1458, allocations: 35.72 kB / 0.5024 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.326e-05/0.1459, allocations: 49.64 kB / 0.5024 GB, free: 11.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1461, allocations: 326.8 kB / 0.5027 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.1464, allocations: 113.6 kB / 0.5028 GB, free: 10.81 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003226/0.1467, allocations: 139.1 kB / 0.503 GB, free: 10.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005368/0.1472, allocations: 203.6 kB / 0.5032 GB, free: 10.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.1472, allocations: 7.938 kB / 0.5032 GB, free: 10.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007447/0.148, allocations: 300.6 kB / 0.5035 GB, free: 10.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/0.148, allocations: 41.8 kB / 0.5035 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.148, allocations: 0 / 0.5035 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.1481, allocations: 4 kB / 0.5035 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007247/0.1488, allocations: 67.94 kB / 0.5036 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1488, allocations: 0 / 0.5036 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002131/0.149, allocations: 43.84 kB / 0.5036 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.149, allocations: 4 kB / 0.5036 GB, free: 9.961 MB / 382.1 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 0.0001626/0.1492, allocations: 143.9 kB / 0.5037 GB, free: 9.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.1492, allocations: 19.86 kB / 0.5038 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.549e-05/0.1493, allocations: 17.41 kB / 0.5038 GB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.1493, allocations: 4 kB / 0.5038 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.1493, allocations: 3.984 kB / 0.5038 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1493, allocations: 0 / 0.5038 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.1496, allocations: 189.2 kB / 0.504 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1496, allocations: 4 kB / 0.504 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007895/0.1504, allocations: 67.94 kB / 0.504 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1504, allocations: 0 / 0.504 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1504, allocations: 0 / 0.504 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.1504, allocations: 7.984 kB / 0.504 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1504, allocations: 0 / 0.504 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009253/0.1513, allocations: 320.6 kB / 0.5044 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.1514, allocations: 23.98 kB / 0.5044 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.1514, allocations: 7.984 kB / 0.5044 GB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.1516, allocations: 27.97 kB / 0.5044 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.1517, allocations: 19.97 kB / 0.5044 GB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.1517, allocations: 7.984 kB / 0.5044 GB, free: 9.059 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.1518, allocations: 144.6 kB / 0.5046 GB, free: 8.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1518, allocations: 4 kB / 0.5046 GB, free: 8.914 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1521, allocations: 31.94 kB / 0.5046 GB, free: 8.883 MB / 382.1 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.0001331/0.1522, allocations: 107.7 kB / 0.5047 GB, free: 8.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007096/0.1529, allocations: 257.4 kB / 0.505 GB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1529, allocations: 0 / 0.505 GB, free: 8.496 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002934/0.1532, allocations: 83.86 kB / 0.505 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.1535, allocations: 32.94 kB / 0.5051 GB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009963/0.1545, allocations: 421.7 kB / 0.5055 GB, free: 7.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.1546, allocations: 121.2 kB / 0.5056 GB, free: 7.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.1547, allocations: 23.44 kB / 0.5056 GB, free: 7.781 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1547, allocations: 4 kB / 0.5056 GB, free: 7.777 MB / 382.1 MB Notification: Performance of Templates: time 0.005319/0.16, allocations: 2.513 MB / 0.5081 GB, free: 5.27 MB / 382.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.221909643150866] Failed to read output from testmodel.py, exit status != 0: 0.16944100288674235 0.41624662199999996 0.27443062300000004 Calling exit ...