Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_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.0007077/0.0007077, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001527/0.002235, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007242/0.0007242, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009986/0.001723, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.027/1.027, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09243/1.12, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.04168/0.04168, allocations: 9.79 MB / 253.8 MB, free: 5.59 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008112/0.04979, allocations: 3.472 MB / 257.2 MB, free: 2.105 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/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_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 258.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.401e-05, allocations: 2.312 kB / 258.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002362/0.002386, allocations: 1.926 MB / 260.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.003412, allocations: 0.7132 MB / 261.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.003546, allocations: 11.88 kB / 261.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.318e-05/0.003629, allocations: 35.61 kB / 261.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.802e-05/0.003727, allocations: 47.53 kB / 261.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.004121, allocations: 135.7 kB / 261.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.004424, allocations: 283.2 kB / 261.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.004575, allocations: 51.02 kB / 261.7 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.00487, allocations: 199.4 kB / 261.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.004989, allocations: 87.73 kB / 262 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.412e-05/0.005024, allocations: 20 kB / 262 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.513e-05/0.005049, allocations: 20 kB / 262 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.00509, allocations: 35.81 kB / 262.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.005148, allocations: 47.88 kB / 262.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.005346, allocations: 147.4 kB / 262.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.461e-05/0.005361, allocations: 0 / 262.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.005362, allocations: 0 / 262.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.005378, allocations: 0 / 262.2 MB, free: 13.06 MB / 266.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.0007596/0.006138, allocations: 0.5362 MB / 262.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.00617, allocations: 12.03 kB / 262.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.326e-05/0.006223, allocations: 36.91 kB / 262.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.006513, allocations: 260.5 kB / 263.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-05/0.006591, allocations: 105.9 kB / 263.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.006626, allocations: 20.12 kB / 263.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.006846, allocations: 170.4 kB / 263.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.006857, allocations: 0 / 263.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.006872, allocations: 8 kB / 263.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.006879, allocations: 4 kB / 263.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.006948, allocations: 40.77 kB / 263.4 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.007554, allocations: 408.3 kB / 263.8 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.007667, allocations: 74.47 kB / 263.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.007708, allocations: 36.84 kB / 263.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.007727, allocations: 3.938 kB / 263.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.007885, allocations: 111.2 kB / 264 MB, free: 11.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.007886, allocations: 0 / 264 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002121/0.008098, allocations: 132.8 kB / 264.2 MB, free: 11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.008139, allocations: 55.41 kB / 264.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.008267, allocations: 224.9 kB / 264.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.008287, allocations: 29.7 kB / 264.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.008347, allocations: 128.9 kB / 264.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.405e-05/0.008381, allocations: 55.52 kB / 264.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.397e-05/0.008435, allocations: 49.66 kB / 264.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.008532, allocations: 338.8 kB / 265 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.366e-05/0.008596, allocations: 53.69 kB / 265.1 MB, free: 10.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.008658, allocations: 87.55 kB / 265.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.008763, allocations: 128.1 kB / 265.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.008766, allocations: 0 / 265.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001633/0.008929, allocations: 184.9 kB / 265.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.008966, allocations: 37.7 kB / 265.5 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.008972, allocations: 0 / 265.5 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.008983, allocations: 8 kB / 265.5 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005747/0.009558, allocations: 127.9 kB / 265.7 MB, free: 9.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.0107, allocations: 2.466 MB / 268.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.01081, allocations: 31.88 kB / 268.1 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.01082, allocations: 7.984 kB / 268.2 MB, free: 6.727 MB / 266.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 9.287e-05/0.01091, allocations: 137.8 kB / 268.3 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.01094, allocations: 15.98 kB / 268.3 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.01107, allocations: 138.5 kB / 268.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.01108, allocations: 0 / 268.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.01108, allocations: 0 / 268.4 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.01108, allocations: 4 kB / 268.4 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.0114, allocations: 338.4 kB / 268.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.0114, allocations: 0 / 268.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/0.0119, allocations: 119.9 kB / 268.9 MB, free: 5.953 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.01193, allocations: 23.84 kB / 268.9 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01193, allocations: 4 kB / 268.9 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.01194, allocations: 4 kB / 268.9 MB, free: 5.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01194, allocations: 4 kB / 268.9 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.01195, allocations: 4 kB / 268.9 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.01213, allocations: 238 kB / 269.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.01215, allocations: 7.984 kB / 269.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.01223, allocations: 15.98 kB / 269.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.01229, allocations: 27.95 kB / 269.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-06/0.0123, allocations: 4 kB / 269.2 MB, free: 5.613 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.672e-05/0.01236, allocations: 78.77 kB / 269.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01236, allocations: 0 / 269.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00019/0.01255, allocations: 47.83 kB / 269.3 MB, free: 5.488 MB / 266.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.802e-05/0.01264, allocations: 88.41 kB / 269.4 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.01294, allocations: 203.4 kB / 269.6 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.01295, allocations: 4 kB / 269.6 MB, free: 5.164 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/0.01301, allocations: 56.77 kB / 269.7 MB, free: 5.105 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.0132, allocations: 52.64 kB / 269.7 MB, free: 5.055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.01394, allocations: 416.6 kB / 270.1 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.412e-05/0.01399, allocations: 76.33 kB / 270.2 MB, free: 4.531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.881e-05/0.01407, allocations: 33.94 kB / 270.3 MB, free: 4.496 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.01418, allocations: 83.36 kB / 270.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01418, allocations: 3.938 kB / 270.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of Templates: time 0.004962/0.01914, allocations: 2.702 MB / 273 MB, free: 1.777 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.63210067152977]