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.001368/0.001368, allocations: 80.22 kB / 19.18 MB, free: 2.516 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.001537/0.001537, allocations: 167.3 kB / 22.46 MB, free: 5.379 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.438/1.438, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.06212/0.06212, allocations: 8.613 MB / 267.8 MB, free: 8.578 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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 3.938 kB / 395.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.589e-05/3.767e-05, allocations: 6.219 kB / 395.6 MB, free: 6.684 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003131/0.003169, allocations: 1.77 MB / 397.3 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004374, allocations: 0.6155 MB / 398 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.004496, allocations: 15.88 kB / 398 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.004618, allocations: 19.73 kB / 398 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.004724, allocations: 43.59 kB / 398 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.005022, allocations: 107.7 kB / 398.1 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.005334, allocations: 235.2 kB / 398.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.005474, allocations: 44.77 kB / 398.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.005676, allocations: 135.6 kB / 398.5 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.005823, allocations: 67.78 kB / 398.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.005863, allocations: 16 kB / 398.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.264e-05/0.005896, allocations: 16 kB / 398.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.005964, allocations: 47.81 kB / 398.7 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.179e-05/0.006056, allocations: 59.83 kB / 398.7 MB, free: 3.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002753/0.006331, allocations: 203.3 kB / 398.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.006335, allocations: 0 / 398.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.006336, allocations: 0 / 398.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.006341, allocations: 0 / 398.9 MB, free: 3.285 MB / 318.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.00109/0.007431, allocations: 0.499 MB / 399.4 MB, free: 2.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.007469, allocations: 15.97 kB / 399.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.007542, allocations: 28.8 kB / 399.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.007988, allocations: 233 kB / 399.7 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.59e-05/0.008084, allocations: 89.67 kB / 399.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.008127, allocations: 20.38 kB / 399.8 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004953/0.008623, allocations: 182 kB / 400 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.008634, allocations: 192 / 400 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.00866, allocations: 12.12 kB / 400 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.008667, allocations: 0 / 400 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005381/0.009205, allocations: 147.9 kB / 400.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.01027, allocations: 479.6 kB / 400.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.01081, allocations: 142.5 kB / 400.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.01107, allocations: 72.8 kB / 400.8 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.0111, allocations: 4 kB / 400.8 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004283/0.01153, allocations: 147.4 kB / 401 MB, free: 1.105 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.953e-06/0.01153, allocations: 3.938 kB / 401 MB, free: 1.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009585/0.01249, allocations: 269.3 kB / 401.3 MB, free: 0.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.01255, allocations: 55.41 kB / 401.3 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.01277, allocations: 219.1 kB / 401.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.0128, allocations: 29.7 kB / 401.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.01291, allocations: 148.4 kB / 401.7 MB, free: 368 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.01295, allocations: 35.69 kB / 401.7 MB, free: 332 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.916e-05/0.01304, allocations: 41.7 kB / 401.8 MB, free: 284 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.01322, allocations: 334.8 kB / 402.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.01356, allocations: 101.6 kB / 402.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.0139, allocations: 143.8 kB / 402.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.01447, allocations: 203.2 kB / 402.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01448, allocations: 0 / 402.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000787/0.01526, allocations: 308.6 kB / 402.8 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.0153, allocations: 29.7 kB / 402.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.01531, allocations: 8 kB / 402.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.01533, allocations: 0 / 402.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/0.01611, allocations: 76.03 kB / 402.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.01612, allocations: 3.938 kB / 403 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.01634, allocations: 43.78 kB / 403 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.01636, allocations: 4 kB / 403 MB, free: 14.98 MB / 334.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.0001579/0.01652, allocations: 133.8 kB / 403.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.01656, allocations: 19.84 kB / 403.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.01662, allocations: 21.45 kB / 403.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.01662, allocations: 3.984 kB / 403.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.01663, allocations: 0 / 403.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01663, allocations: 4 kB / 403.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.01689, allocations: 193.1 kB / 403.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.01689, allocations: 4 kB / 403.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008434/0.01774, allocations: 71.88 kB / 403.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.01774, allocations: 4 kB / 403.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.01776, allocations: 3.938 kB / 403.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.01776, allocations: 0 / 403.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01776, allocations: 0 / 403.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009463/0.01871, allocations: 316.7 kB / 403.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.989e-05/0.01874, allocations: 19.91 kB / 403.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/0.01877, allocations: 3.938 kB / 403.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.01897, allocations: 28 kB / 403.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.01905, allocations: 19.97 kB / 403.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.01906, allocations: 4 kB / 403.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.01926, allocations: 152.6 kB / 404 MB, free: 13.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01926, allocations: 0 / 404 MB, free: 13.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.0195, allocations: 35.89 kB / 404 MB, free: 13.9 MB / 334.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.00014/0.01964, allocations: 112.2 kB / 404.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007119/0.02036, allocations: 257 kB / 404.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.02036, allocations: 4.062 kB / 404.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003049/0.02066, allocations: 79.81 kB / 404.5 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.02095, allocations: 38.83 kB / 404.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009443/0.02189, allocations: 362.5 kB / 404.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.02201, allocations: 125.2 kB / 405 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.02212, allocations: 25.47 kB / 405 MB, free: 12.85 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.0222, allocations: 20.5 kB / 405 MB, free: 12.83 MB / 334.1 MB Notification: Performance of SimCode: time 8.42e-07/0.0222, allocations: 0 / 405 MB, free: 12.83 MB / 334.1 MB Notification: Performance of Templates: time 0.00619/0.02839, allocations: 2.1 MB / 407.1 MB, free: 10.77 MB / 334.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: 4.507295858114958] Failed to read output from testmodel.py, exit status != 0: 0.037168435752391815 0.052783012000000004 0.043096274000000004 Calling exit ...