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.000842/0.000842, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0008915/0.0008915, allocations: 177.9 kB / 23.22 MB, free: 1.328 MB / 18.57 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 0.9242/0.9242, allocations: 177.1 MB / 203.5 MB, free: 5.672 MB / 186.7 MB " [Timeout remaining time 179] 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.04706/0.04706, allocations: 8.606 MB / 268.5 MB, free: 5.121 MB / 250.7 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.944e-06/1.944e-06, allocations: 0 / 396.3 MB, free: 2.191 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/3.18e-05, allocations: 6.219 kB / 396.3 MB, free: 2.184 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002616/0.002647, allocations: 1.825 MB / 398.2 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.00362, allocations: 0.6901 MB / 398.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.003735, allocations: 11.88 kB / 398.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.00386, allocations: 27.67 kB / 398.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.601e-05/0.003946, allocations: 43.53 kB / 398.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.00427, allocations: 145.9 kB / 399.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.004533, allocations: 299.1 kB / 399.4 MB, free: 15.14 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.004673, allocations: 45.12 kB / 399.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.004834, allocations: 171.6 kB / 399.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.004967, allocations: 91.69 kB / 399.7 MB, free: 14.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.005003, allocations: 23.94 kB / 399.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.115e-05/0.005024, allocations: 20 kB / 399.7 MB, free: 14.79 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.68e-05/0.005071, allocations: 55.8 kB / 399.8 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.26e-05/0.005143, allocations: 71.75 kB / 399.8 MB, free: 14.67 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.00537, allocations: 243.1 kB / 400.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005372, allocations: 4 kB / 400.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005374, allocations: 0 / 400.1 MB, free: 14.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.005379, allocations: 0 / 400.1 MB, free: 14.43 MB / 378.7 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.0007976/0.006177, allocations: 0.5379 MB / 400.6 MB, free: 13.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.006213, allocations: 8.031 kB / 400.6 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.006276, allocations: 32.75 kB / 400.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.006577, allocations: 256.6 kB / 400.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.006647, allocations: 101.9 kB / 401 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.006684, allocations: 24.12 kB / 401 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.00699, allocations: 207.7 kB / 401.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.007, allocations: 3.938 kB / 401.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.007016, allocations: 4 kB / 401.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.007022, allocations: 4 kB / 401.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.007325, allocations: 168.7 kB / 401.4 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008366/0.008162, allocations: 0.594 MB / 402 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.008457, allocations: 170.3 kB / 402.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.008604, allocations: 92.78 kB / 402.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.008626, allocations: 4 kB / 402.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.008874, allocations: 171.2 kB / 402.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.102e-06/0.008875, allocations: 0 / 402.4 MB, free: 11.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005743/0.00945, allocations: 333.2 kB / 402.8 MB, free: 11.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.009485, allocations: 55.41 kB / 402.8 MB, free: 11.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.009633, allocations: 225.9 kB / 403 MB, free: 11.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.009655, allocations: 33.7 kB / 403.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.009734, allocations: 148.4 kB / 403.2 MB, free: 11.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.00977, allocations: 59.5 kB / 403.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.009827, allocations: 49.64 kB / 403.3 MB, free: 11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.04e-05/0.009917, allocations: 334.8 kB / 403.6 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.01009, allocations: 121.6 kB / 403.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.01027, allocations: 156.9 kB / 403.9 MB, free: 10.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003161/0.01059, allocations: 240.9 kB / 404.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01059, allocations: 0 / 404.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004007/0.01099, allocations: 339.6 kB / 404.5 MB, free: 9.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.01102, allocations: 37.7 kB / 404.5 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.01103, allocations: 96 / 404.5 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.01104, allocations: 4 kB / 404.5 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/0.01171, allocations: 119.8 kB / 404.6 MB, free: 9.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.01354, allocations: 2.645 MB / 407.3 MB, free: 6.742 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.01366, allocations: 39.83 kB / 407.3 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.01367, allocations: 11.94 kB / 407.3 MB, free: 6.691 MB / 378.7 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.0001014/0.01378, allocations: 133.8 kB / 407.5 MB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.01379, allocations: 19.86 kB / 407.5 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.01419, allocations: 283.5 kB / 407.8 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01419, allocations: 0 / 407.8 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-07/0.01419, allocations: 4 kB / 407.8 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01419, allocations: 0 / 407.8 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006673/0.01486, allocations: 0.5509 MB / 408.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.01487, allocations: 3.938 kB / 408.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/0.01544, allocations: 111.9 kB / 408.4 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.01544, allocations: 4 kB / 408.4 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.01545, allocations: 3.984 kB / 408.4 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01546, allocations: 0 / 408.4 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01546, allocations: 7.938 kB / 408.4 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005295/0.01599, allocations: 455 kB / 408.9 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.683e-05/0.01601, allocations: 23.86 kB / 408.9 MB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.01603, allocations: 4.031 kB / 408.9 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.01613, allocations: 27.97 kB / 408.9 MB, free: 5.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.924e-05/0.01621, allocations: 23.95 kB / 409 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.01623, allocations: 8 kB / 409 MB, free: 4.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.864e-05/0.01632, allocations: 169.2 kB / 409.1 MB, free: 4.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01632, allocations: 0 / 409.1 MB, free: 4.809 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000203/0.01653, allocations: 51.89 kB / 409.2 MB, free: 4.758 MB / 378.7 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 9.839e-05/0.01663, allocations: 99.19 kB / 409.3 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005616/0.01719, allocations: 317 kB / 409.6 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01719, allocations: 0 / 409.6 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.01736, allocations: 110 kB / 409.7 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.01759, allocations: 32.42 kB / 409.7 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/0.01829, allocations: 476.4 kB / 410.2 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.656e-05/0.01838, allocations: 146 kB / 410.3 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.01845, allocations: 24.5 kB / 410.4 MB, free: 3.504 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01845, allocations: 3.938 kB / 410.4 MB, free: 3.5 MB / 378.7 MB Notification: Performance of Templates: time 0.004276/0.02273, allocations: 3.909 MB / 414.3 MB, free: 15.6 MB / 394.7 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.738726408220828] Failed to read output from testmodel.py, exit status != 0: 0.028234226629137993 0.036571934 0.029636566000000003 Calling exit ...