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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 117.6 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06131/0.06131, allocations: 11.34 MB / 314.7 MB, free: 0.8477 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001917/0.001917, allocations: 63.89 kB / 438.5 MB, free: 7.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2824, allocations: 54.82 MB / 493.3 MB, free: 24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.00276/0.2851, allocations: 1.894 MB / 495.2 MB, free: 22.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.2862, allocations: 0.6922 MB / 495.9 MB, free: 22.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.2864, allocations: 13.38 kB / 495.9 MB, free: 22.17 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.2865, allocations: 31.28 kB / 496 MB, free: 22.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.2866, allocations: 47.33 kB / 496 MB, free: 22.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.287, allocations: 134.5 kB / 496.1 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000355/0.2874, allocations: 294.3 kB / 496.4 MB, free: 21.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.2875, allocations: 41.95 kB / 496.5 MB, free: 21.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.2877, allocations: 121.7 kB / 496.6 MB, free: 21.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.288, allocations: 123 kB / 496.7 MB, free: 21.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.636e-05/0.288, allocations: 20.62 kB / 496.7 MB, free: 21.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.745e-05/0.2881, allocations: 20.78 kB / 496.7 MB, free: 21.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.2882, allocations: 59.95 kB / 496.8 MB, free: 21.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001257/0.2883, allocations: 105.2 kB / 496.9 MB, free: 21.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.2886, allocations: 234.6 kB / 497.1 MB, free: 21.54 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2886, allocations: 0 / 497.1 MB, free: 21.54 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2886, allocations: 0 / 497.1 MB, free: 21.54 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2886, allocations: 3.938 kB / 497.1 MB, free: 21.54 MB / 366.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.001314/0.2899, allocations: 0.6173 MB / 497.8 MB, free: 21.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.29, allocations: 13.36 kB / 497.8 MB, free: 21.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.063e-05/0.2901, allocations: 33.33 kB / 497.8 MB, free: 21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004372/0.2905, allocations: 321.7 kB / 498.1 MB, free: 20.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.25e-05/0.2906, allocations: 99.66 kB / 498.2 MB, free: 20.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.716e-05/0.2906, allocations: 18.84 kB / 498.2 MB, free: 20.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004878/0.2911, allocations: 204.8 kB / 498.4 MB, free: 20.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2911, allocations: 0 / 498.4 MB, free: 20.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.2912, allocations: 6.156 kB / 498.4 MB, free: 20.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2912, allocations: 12.55 kB / 498.4 MB, free: 20.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005679/0.2917, allocations: 165.7 kB / 498.6 MB, free: 20.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.293, allocations: 0.711 MB / 499.3 MB, free: 19.88 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.2935, allocations: 165.8 kB / 499.5 MB, free: 19.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002783/0.2938, allocations: 94.33 kB / 499.6 MB, free: 19.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.2938, allocations: 1.188 kB / 499.6 MB, free: 19.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004037/0.2942, allocations: 169.9 kB / 499.7 MB, free: 19.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.2942, allocations: 7.938 kB / 499.8 MB, free: 19.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001017/0.2952, allocations: 326.3 kB / 0.4883 GB, free: 19.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.2953, allocations: 54.22 kB / 0.4884 GB, free: 19.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.2955, allocations: 240.9 kB / 0.4886 GB, free: 19.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.2955, allocations: 30.86 kB / 0.4887 GB, free: 19.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.2956, allocations: 148.9 kB / 0.4888 GB, free: 19.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.2956, allocations: 49.31 kB / 0.4888 GB, free: 18.99 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.2957, allocations: 47.55 kB / 0.4889 GB, free: 18.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.138e-05/0.2958, allocations: 340.2 kB / 0.4892 GB, free: 18.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003056/0.2961, allocations: 92.64 kB / 0.4893 GB, free: 18.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.2964, allocations: 126.6 kB / 0.4894 GB, free: 18.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005711/0.2969, allocations: 233 kB / 0.4896 GB, free: 18.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2969, allocations: 0 / 0.4896 GB, free: 18.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007086/0.2976, allocations: 320.2 kB / 0.49 GB, free: 18.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.2977, allocations: 33.45 kB / 0.49 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2977, allocations: 0 / 0.49 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2977, allocations: 2.156 kB / 0.49 GB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.2992, allocations: 123 kB / 0.4901 GB, free: 18.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.3009, allocations: 2.887 MB / 0.4929 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002821/0.3012, allocations: 40.78 kB / 0.493 GB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.3013, allocations: 9.656 kB / 0.493 GB, free: 15.01 MB / 366.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.0001292/0.3014, allocations: 141.7 kB / 0.4931 GB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.3014, allocations: 21.55 kB / 0.4931 GB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/0.3021, allocations: 275.7 kB / 0.4934 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3021, allocations: 2 kB / 0.4934 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.3021, allocations: 0 / 0.4934 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3021, allocations: 5.047 kB / 0.4934 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.3032, allocations: 0.64 MB / 0.494 GB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3032, allocations: 1.094 kB / 0.494 GB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.3045, allocations: 112.5 kB / 0.4941 GB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3045, allocations: 0 / 0.4941 GB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.3045, allocations: 6.75 kB / 0.4941 GB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3045, allocations: 0 / 0.4941 GB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3045, allocations: 5.312 kB / 0.4941 GB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.3054, allocations: 460.7 kB / 0.4946 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.3055, allocations: 99.06 kB / 0.4947 GB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.3055, allocations: 5.281 kB / 0.4947 GB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.3057, allocations: 29.75 kB / 0.4947 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.809e-05/0.3058, allocations: 26.03 kB / 0.4947 GB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.3059, allocations: 8.547 kB / 0.4947 GB, free: 13.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001208/0.306, allocations: 158.2 kB / 0.4949 GB, free: 13.58 MB / 366.1 MB Notification: Performance of sort global known variables: time 5e-08/0.306, allocations: 0 / 0.4949 GB, free: 13.58 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003318/0.3063, allocations: 51.59 kB / 0.4949 GB, free: 13.57 MB / 366.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.0001084/0.3064, allocations: 104.7 kB / 0.495 GB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3074, allocations: 287 kB / 0.4953 GB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3074, allocations: 0 / 0.4953 GB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.3078, allocations: 108.3 kB / 0.4954 GB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.3081, allocations: 39.42 kB / 0.4955 GB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3091, allocations: 489.5 kB / 0.4959 GB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001736/0.3093, allocations: 0.7465 MB / 0.4967 GB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.765e-05/0.3094, allocations: 22.12 kB / 0.4967 GB, free: 12.15 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3094, allocations: 0 / 0.4967 GB, free: 12.15 MB / 366.1 MB Notification: Performance of Templates: time 0.00569/0.3151, allocations: 3.817 MB / 0.5004 GB, free: 10.15 MB / 366.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: 7.325186306145042] Failed to read output from testmodel.py, exit status != 0: 0.3224388798698783 0.330749718 0.040177364 Calling exit ...