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.002034/0.002034, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002412/0.002412, allocations: 162.7 kB / 23.01 MB, free: 4.594 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.487/1.487, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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.06054/0.06054, allocations: 8.616 MB / 268.4 MB, free: 8.543 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.003405/0.003405, allocations: 71.89 kB / 396.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1355, allocations: 56.05 MB / 452.1 MB, free: 15.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.00352/0.139, allocations: 1.774 MB / 453.9 MB, free: 13.99 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1405, allocations: 0.6078 MB / 454.5 MB, free: 13.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.1407, allocations: 11.88 kB / 454.5 MB, free: 13.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.1408, allocations: 27.67 kB / 454.5 MB, free: 13.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.1409, allocations: 39.66 kB / 454.6 MB, free: 13.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.1413, allocations: 103.8 kB / 454.7 MB, free: 13.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003366/0.1416, allocations: 227.3 kB / 454.9 MB, free: 12.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1418, allocations: 40.8 kB / 454.9 MB, free: 12.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.142, allocations: 99.56 kB / 455 MB, free: 12.83 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.1421, allocations: 87.53 kB / 455.1 MB, free: 12.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.1422, allocations: 16 kB / 455.1 MB, free: 12.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.483e-05/0.1422, allocations: 16 kB / 455.2 MB, free: 12.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.1423, allocations: 47.83 kB / 455.2 MB, free: 12.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.931e-05/0.1424, allocations: 75.58 kB / 455.3 MB, free: 12.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.1426, allocations: 199.1 kB / 455.5 MB, free: 12.4 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1426, allocations: 0 / 455.5 MB, free: 12.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1426, allocations: 0 / 455.5 MB, free: 12.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1426, allocations: 0 / 455.5 MB, free: 12.4 MB / 430.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.001152/0.1438, allocations: 0.499 MB / 456 MB, free: 11.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1438, allocations: 12.02 kB / 456 MB, free: 11.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.1439, allocations: 28.8 kB / 456 MB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005/0.1444, allocations: 237.7 kB / 456.2 MB, free: 11.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.1445, allocations: 93.66 kB / 456.3 MB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.1446, allocations: 20.38 kB / 456.4 MB, free: 11.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.1451, allocations: 177.7 kB / 456.5 MB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1451, allocations: 0 / 456.5 MB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.1451, allocations: 7.984 kB / 456.5 MB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1451, allocations: 4 kB / 456.5 MB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005518/0.1457, allocations: 147.9 kB / 456.7 MB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.1468, allocations: 487.8 kB / 457.2 MB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005806/0.1474, allocations: 142.4 kB / 457.3 MB, free: 10.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.1477, allocations: 72.8 kB / 457.4 MB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.1477, allocations: 4 kB / 457.4 MB, free: 10.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004744/0.1482, allocations: 151.3 kB / 457.5 MB, free: 10.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/0.1482, allocations: 0 / 457.5 MB, free: 10.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.00101/0.1492, allocations: 277.3 kB / 457.8 MB, free: 9.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.1493, allocations: 55.41 kB / 457.9 MB, free: 9.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1495, allocations: 199.2 kB / 458 MB, free: 9.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.1495, allocations: 33.7 kB / 458.1 MB, free: 9.621 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.1497, allocations: 148.4 kB / 458.2 MB, free: 9.469 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.1497, allocations: 43.67 kB / 458.3 MB, free: 9.426 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.57e-05/0.1498, allocations: 45.69 kB / 458.3 MB, free: 9.375 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.15, allocations: 326.8 kB / 458.6 MB, free: 9.047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.1503, allocations: 109.6 kB / 458.7 MB, free: 8.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.1506, allocations: 141.1 kB / 458.9 MB, free: 8.777 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006644/0.1513, allocations: 204.9 kB / 459.1 MB, free: 8.559 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1513, allocations: 3.938 kB / 459.1 MB, free: 8.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007947/0.1521, allocations: 300.8 kB / 459.4 MB, free: 8.242 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.749e-05/0.1521, allocations: 31.89 kB / 459.4 MB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.1521, allocations: 7.984 kB / 459.4 MB, free: 8.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1522, allocations: 4.094 kB / 459.4 MB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007603/0.1529, allocations: 71.88 kB / 459.5 MB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1529, allocations: 4 kB / 459.5 MB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.1532, allocations: 35.86 kB / 459.5 MB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.1532, allocations: 4 kB / 459.5 MB, free: 8.082 MB / 430.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.0001563/0.1533, allocations: 141.8 kB / 459.7 MB, free: 7.934 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.1534, allocations: 15.91 kB / 459.7 MB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.1534, allocations: 17.47 kB / 459.7 MB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.1534, allocations: 0 / 459.7 MB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1534, allocations: 3.938 kB / 459.7 MB, free: 7.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1534, allocations: 3.984 kB / 459.7 MB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.1537, allocations: 197.1 kB / 459.9 MB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1537, allocations: 0 / 459.9 MB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007964/0.1545, allocations: 71.94 kB / 460 MB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1545, allocations: 0 / 460 MB, free: 7.605 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1545, allocations: 8 kB / 460 MB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1545, allocations: 0 / 460 MB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1545, allocations: 0 / 460 MB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.1555, allocations: 315.8 kB / 460.3 MB, free: 7.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.347e-05/0.1556, allocations: 27.83 kB / 460.3 MB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.1556, allocations: 0 / 460.3 MB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.1558, allocations: 23.97 kB / 460.3 MB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.434e-05/0.1559, allocations: 23.91 kB / 460.4 MB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.156, allocations: 11.98 kB / 460.4 MB, free: 7.188 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.1561, allocations: 148.6 kB / 460.5 MB, free: 7.043 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1561, allocations: 3.938 kB / 460.5 MB, free: 7.039 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1564, allocations: 35.95 kB / 460.6 MB, free: 7.004 MB / 430.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.0001432/0.1565, allocations: 100.3 kB / 460.7 MB, free: 6.898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007945/0.1573, allocations: 261 kB / 460.9 MB, free: 6.625 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1573, allocations: 4 kB / 460.9 MB, free: 6.621 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003076/0.1576, allocations: 79.88 kB / 461 MB, free: 6.543 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.1579, allocations: 32.73 kB / 461 MB, free: 6.512 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.159, allocations: 393.1 kB / 461.4 MB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.1591, allocations: 121.2 kB / 461.5 MB, free: 5.961 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.1592, allocations: 17.48 kB / 461.5 MB, free: 5.941 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.1593, allocations: 20.5 kB / 461.6 MB, free: 5.922 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1593, allocations: 4 kB / 461.6 MB, free: 5.918 MB / 430.1 MB Notification: Performance of Templates: time 0.006899/0.1662, allocations: 2.086 MB / 463.7 MB, free: 3.867 MB / 430.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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.689393657958135] Failed to read output from testmodel.py, exit status != 0: 0.17774457798805088 0.19172439899999996 0.045829031000000006 Calling exit ...