Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.0006662/0.0006662, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009928/0.001659, 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.001094/0.001094, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001395/0.002489, 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 0.9987/0.9987, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.102/1.101, allocations: 53.65 MB / 243.2 MB, free: 15.6 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.04721/0.04721, allocations: 9.788 MB / 253.8 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007058/0.05427, allocations: 3.476 MB / 257.2 MB, free: 2.125 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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 258.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.074e-05, allocations: 9.625 kB / 258.5 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002359/0.002379, allocations: 1.821 MB / 260.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008119/0.003191, allocations: 0.627 MB / 261 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005093/0.008284, allocations: 7.938 kB / 261 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.351e-05/0.008347, allocations: 19.73 kB / 261 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.652e-05/0.008424, allocations: 35.66 kB / 261 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.008614, allocations: 91.75 kB / 261.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.00884, allocations: 203.3 kB / 261.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.008938, allocations: 30.42 kB / 261.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.009109, allocations: 136.4 kB / 261.5 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.009218, allocations: 63.8 kB / 261.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.009248, allocations: 12 kB / 261.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.375e-05/0.009272, allocations: 16 kB / 261.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.009306, allocations: 27.88 kB / 261.6 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.775e-05/0.009364, allocations: 43.91 kB / 261.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001706/0.009535, allocations: 123.5 kB / 261.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.429e-05/0.009549, allocations: 0 / 261.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.00955, allocations: 0 / 261.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.009565, allocations: 0 / 261.8 MB, free: 13.58 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007081/0.01027, allocations: 0.4951 MB / 262.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.0103, allocations: 8.031 kB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.01035, allocations: 28.91 kB / 262.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.01058, allocations: 190.9 kB / 262.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.01063, allocations: 67.95 kB / 262.5 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.01065, allocations: 8.375 kB / 262.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.01089, allocations: 165.5 kB / 262.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.01089, allocations: 0 / 262.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.01091, allocations: 8 kB / 262.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.01091, allocations: 7.984 kB / 262.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.01099, allocations: 31.92 kB / 262.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003528/0.01452, allocations: 436.2 kB / 263.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.01462, allocations: 42.56 kB / 263.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.01466, allocations: 20.86 kB / 263.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.01467, allocations: 4 kB / 263.2 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001567/0.01482, allocations: 107.4 kB / 263.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.01483, allocations: 0 / 263.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001841/0.01501, allocations: 93.59 kB / 263.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.01505, allocations: 63.39 kB / 263.5 MB, free: 11.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.01517, allocations: 184.5 kB / 263.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.01519, allocations: 33.7 kB / 263.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.01525, allocations: 128.2 kB / 263.8 MB, free: 11.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.01529, allocations: 47.64 kB / 263.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.01535, allocations: 45.64 kB / 263.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.598e-05/0.01544, allocations: 338.8 kB / 264.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.658e-05/0.0155, allocations: 79.39 kB / 264.3 MB, free: 10.78 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.974e-05/0.01559, allocations: 137.6 kB / 264.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.01572, allocations: 160 kB / 264.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01572, allocations: 0 / 264.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002038/0.01593, allocations: 244.2 kB / 264.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.01597, allocations: 63.39 kB / 264.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.01597, allocations: 0 / 264.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.01598, allocations: 11.94 kB / 264.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.01625, allocations: 67.89 kB / 265 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.01625, allocations: 4 kB / 265 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.01637, allocations: 32.06 kB / 265.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.01638, allocations: 15.98 kB / 265.1 MB, free: 9.957 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,I.TS_in,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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 7.783e-05/0.01646, allocations: 121.8 kB / 265.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.01648, allocations: 15.98 kB / 265.2 MB, free: 9.812 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.01652, allocations: 21.45 kB / 265.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.01652, allocations: 3.938 kB / 265.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.01653, allocations: 4 kB / 265.2 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.01653, allocations: 0 / 265.2 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.01664, allocations: 117.8 kB / 265.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.01665, allocations: 0 / 265.3 MB, free: 9.648 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.01686, allocations: 43.97 kB / 265.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.01688, allocations: 15.84 kB / 265.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01688, allocations: 3.984 kB / 265.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.01689, allocations: 0 / 265.4 MB, free: 9.586 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01689, allocations: 4 kB / 265.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01689, allocations: 3.938 kB / 265.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.01822, allocations: 140.9 kB / 265.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.01825, allocations: 8.031 kB / 265.6 MB, free: 9.418 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.01839, allocations: 23.97 kB / 265.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.426e-05/0.01847, allocations: 27.95 kB / 265.6 MB, free: 9.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.01848, allocations: 3.938 kB / 265.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.929e-05/0.01854, allocations: 58.05 kB / 265.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01854, allocations: 0 / 265.7 MB, free: 9.305 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002088/0.01875, allocations: 39.95 kB / 265.7 MB, free: 9.266 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000106/0.01885, allocations: 88.42 kB / 265.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.01911, allocations: 250.8 kB / 266 MB, free: 8.883 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/0.01912, allocations: 4 kB / 266 MB, free: 8.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.369e-05/0.0192, allocations: 44.78 kB / 266.1 MB, free: 8.832 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.0194, allocations: 51.88 kB / 266.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.02012, allocations: 313.6 kB / 266.4 MB, free: 8.449 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.375e-05/0.02017, allocations: 75.98 kB / 266.5 MB, free: 8.355 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.035e-05/0.02025, allocations: 17.48 kB / 266.5 MB, free: 8.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.02037, allocations: 91.28 kB / 266.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of SimCode: time 1.203e-06/0.02037, allocations: 0 / 266.6 MB, free: 8.25 MB / 266.7 MB Notification: Performance of Templates: time 0.004314/0.02469, allocations: 2.63 MB / 269.3 MB, free: 5.668 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6607536980882287]