Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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.00194/0.00194, allocations: 80.36 kB / 19.18 MB, free: 2.531 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.001539/0.001539, allocations: 166.9 kB / 22.46 MB, free: 5.355 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.477/1.477, allocations: 177.1 MB / 202.8 MB, free: 9.195 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.0621/0.0621, allocations: 8.605 MB / 267.8 MB, free: 8.594 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.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 395.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.02e-05, allocations: 10.22 kB / 395.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003345/0.003375, allocations: 1.809 MB / 397.4 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.004783, allocations: 0.6901 MB / 398.1 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.004945, allocations: 19.81 kB / 398.1 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.005078, allocations: 27.61 kB / 398.1 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.00522, allocations: 43.59 kB / 398.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.005671, allocations: 139.6 kB / 398.3 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.006087, allocations: 299.1 kB / 398.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.006249, allocations: 37.14 kB / 398.6 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.006537, allocations: 175.6 kB / 398.8 MB, free: 3.438 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.006717, allocations: 83.69 kB / 398.9 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.00677, allocations: 27.94 kB / 398.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.96e-05/0.006809, allocations: 20 kB / 398.9 MB, free: 3.309 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.006885, allocations: 59.8 kB / 399 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.63e-05/0.006981, allocations: 67.75 kB / 399.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.007324, allocations: 243.1 kB / 399.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.007328, allocations: 0 / 399.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.007329, allocations: 4 kB / 399.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.007338, allocations: 3.984 kB / 399.3 MB, free: 2.938 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001253/0.008591, allocations: 0.534 MB / 399.8 MB, free: 2.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.008631, allocations: 12.03 kB / 399.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.815e-05/0.008719, allocations: 32.75 kB / 399.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.009207, allocations: 252.6 kB / 400.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001055/0.009313, allocations: 101.9 kB / 400.2 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.691e-05/0.00937, allocations: 20.12 kB / 400.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005643/0.009934, allocations: 208.3 kB / 400.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.009945, allocations: 0 / 400.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.009971, allocations: 7.984 kB / 400.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.009979, allocations: 8 kB / 400.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005902/0.01057, allocations: 156.7 kB / 400.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.01201, allocations: 0.6095 MB / 401.2 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005778/0.01259, allocations: 170.4 kB / 401.4 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.01289, allocations: 88.8 kB / 401.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.01292, allocations: 8 kB / 401.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004596/0.01338, allocations: 163.2 kB / 401.7 MB, free: 460 kB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.644e-06/0.01338, allocations: 0 / 401.7 MB, free: 460 kB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.001133/0.01452, allocations: 337.2 kB / 402 MB, free: 116 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.01456, allocations: 59.41 kB / 402 MB, free: 44 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.01484, allocations: 230 kB / 402.3 MB, free: 15.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.01487, allocations: 25.7 kB / 402.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.01499, allocations: 152.4 kB / 402.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.087e-05/0.01505, allocations: 59.44 kB / 402.5 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.01516, allocations: 49.55 kB / 402.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.01532, allocations: 338.8 kB / 402.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.01568, allocations: 125.6 kB / 403 MB, free: 15.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/0.01605, allocations: 149.1 kB / 403.1 MB, free: 14.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007037/0.01675, allocations: 240.9 kB / 403.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.01676, allocations: 0 / 403.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008929/0.01765, allocations: 347.8 kB / 403.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.0177, allocations: 31.98 kB / 403.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.0177, allocations: 8 kB / 403.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.01773, allocations: 3.938 kB / 403.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.0193, allocations: 123.8 kB / 403.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/0.02197, allocations: 2.63 MB / 406.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.02225, allocations: 35.89 kB / 406.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.02228, allocations: 11.98 kB / 406.6 MB, free: 11.21 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 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,LL.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.02246, allocations: 129.8 kB / 406.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/0.0225, allocations: 27.98 kB / 406.7 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000871/0.02338, allocations: 283.4 kB / 407 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.02338, allocations: 0 / 407 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.02338, allocations: 0 / 407 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.02338, allocations: 3.984 kB / 407 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.02462, allocations: 0.5602 MB / 407.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.02463, allocations: 3.938 kB / 407.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.026, allocations: 103.9 kB / 407.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.026, allocations: 0 / 407.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.02602, allocations: 8 kB / 407.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.02603, allocations: 4 kB / 407.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.02603, allocations: 3.938 kB / 407.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.02717, allocations: 465.2 kB / 408.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.02721, allocations: 19.86 kB / 408.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.02725, allocations: 4 kB / 408.2 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.0275, allocations: 28 kB / 408.2 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.02762, allocations: 23.97 kB / 408.2 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.02764, allocations: 11.98 kB / 408.2 MB, free: 9.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.02782, allocations: 161.2 kB / 408.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.02782, allocations: 4 kB / 408.4 MB, free: 9.324 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.02817, allocations: 43.89 kB / 408.4 MB, free: 9.281 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.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 (18): * Single equations (assignments): 15 * 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.000168/0.02833, allocations: 107.1 kB / 408.5 MB, free: 9.168 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.02946, allocations: 327.6 kB / 408.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02946, allocations: 0 / 408.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003582/0.02982, allocations: 99.88 kB / 408.9 MB, free: 8.734 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.03018, allocations: 35.55 kB / 409 MB, free: 8.703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.0313, allocations: 450.5 kB / 409.4 MB, free: 8.234 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.03143, allocations: 138.2 kB / 409.6 MB, free: 8.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.03155, allocations: 25.95 kB / 409.6 MB, free: 8.055 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.964e-05/0.03165, allocations: 32.42 kB / 409.6 MB, free: 8.023 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.03165, allocations: 0 / 409.6 MB, free: 8.023 MB / 334.1 MB Notification: Performance of Templates: time 0.007443/0.03909, allocations: 2.751 MB / 412.4 MB, free: 5.316 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.555519800633192] Failed to read output from testmodel.py, exit status != 0: 0.048482827842235565 0.06385494899999994 0.05330773599999994 Calling exit ...