Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_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.002083/0.002083, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002221/0.002221, allocations: 161.7 kB / 22.76 MB, free: 1.68 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 1.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.06582/0.06582, allocations: 8.597 MB / 268.2 MB, free: 4.961 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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 340.1 MB, free: 8.766 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.696e-05, allocations: 2.312 kB / 340.1 MB, free: 8.762 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002544/0.002571, allocations: 1.746 MB / 341.9 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.003633, allocations: 0.5882 MB / 342.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.003768, allocations: 7.938 kB / 342.5 MB, free: 6.406 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.003889, allocations: 23.67 kB / 342.5 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.165e-05/0.00398, allocations: 31.67 kB / 342.5 MB, free: 6.352 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.004257, allocations: 91.73 kB / 342.6 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002323/0.004489, allocations: 207.3 kB / 342.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.004595, allocations: 33.78 kB / 342.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.004754, allocations: 115.7 kB / 343 MB, free: 5.914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.004862, allocations: 71.77 kB / 343 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.004898, allocations: 16 kB / 343.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.667e-05/0.004924, allocations: 16 kB / 343.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.004962, allocations: 39.83 kB / 343.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.005032, allocations: 55.83 kB / 343.2 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.005225, allocations: 179.4 kB / 343.3 MB, free: 5.543 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.005228, allocations: 7.938 kB / 343.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00523, allocations: 0 / 343.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.005235, allocations: 0 / 343.3 MB, free: 5.535 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.0009836/0.006219, allocations: 0.5007 MB / 343.8 MB, free: 4.992 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.006253, allocations: 8.031 kB / 343.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.788e-05/0.00634, allocations: 36.78 kB / 343.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003128/0.006653, allocations: 205.9 kB / 344.1 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/0.006703, allocations: 63.97 kB / 344.2 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.006747, allocations: 16.31 kB / 344.2 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004657/0.007212, allocations: 191.3 kB / 344.4 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.007226, allocations: 192 / 344.4 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.007247, allocations: 12.06 kB / 344.4 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.007253, allocations: 4 kB / 344.4 MB, free: 4.418 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.007839, allocations: 158 kB / 344.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008535/0.008692, allocations: 0.5434 MB / 345.1 MB, free: 3.684 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.009269, allocations: 150.4 kB / 345.2 MB, free: 3.527 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/0.00957, allocations: 84.77 kB / 345.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.009586, allocations: 0 / 345.3 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004453/0.01003, allocations: 167.4 kB / 345.5 MB, free: 3.266 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.293e-06/0.01003, allocations: 0 / 345.5 MB, free: 3.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.001039/0.01107, allocations: 297.3 kB / 345.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.0111, allocations: 59.34 kB / 345.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001457/0.01125, allocations: 203.8 kB / 346 MB, free: 2.688 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.01128, allocations: 29.7 kB / 346 MB, free: 2.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.01134, allocations: 140.3 kB / 346.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.01137, allocations: 39.69 kB / 346.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.01144, allocations: 49.7 kB / 346.3 MB, free: 2.414 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.839e-05/0.01149, allocations: 330.8 kB / 346.6 MB, free: 2.082 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.01182, allocations: 143.3 kB / 346.7 MB, free: 1.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.01215, allocations: 193.3 kB / 346.9 MB, free: 1.707 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.01274, allocations: 271.9 kB / 347.2 MB, free: 1.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.01275, allocations: 4 kB / 347.2 MB, free: 1.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007797/0.01352, allocations: 404 kB / 347.6 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/0.01356, allocations: 63.41 kB / 347.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.01356, allocations: 4.188 kB / 347.6 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.01358, allocations: 4 kB / 347.6 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.01398, allocations: 67.81 kB / 347.7 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.01398, allocations: 7.938 kB / 347.7 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.01426, allocations: 47.83 kB / 347.8 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.01428, allocations: 8 kB / 347.8 MB, free: 0.7695 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,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,I.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): 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 9.033e-05/0.01437, allocations: 137.8 kB / 347.9 MB, free: 0.625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.01441, allocations: 27.84 kB / 347.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.625e-05/0.01446, allocations: 21.47 kB / 348 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01446, allocations: 0 / 348 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.01446, allocations: 3.938 kB / 348 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01447, allocations: 3.984 kB / 348 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.0146, allocations: 165.2 kB / 348.1 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.0146, allocations: 0 / 348.1 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.01501, allocations: 51.95 kB / 348.2 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01501, allocations: 0 / 348.2 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.01503, allocations: 4 kB / 348.2 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01503, allocations: 0 / 348.2 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.01503, allocations: 0 / 348.2 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.01606, allocations: 364.5 kB / 348.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.837e-05/0.01611, allocations: 15.88 kB / 348.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.01615, allocations: 11.98 kB / 348.6 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.01639, allocations: 27.95 kB / 348.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.0165, allocations: 27.97 kB / 348.6 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.01651, allocations: 11.98 kB / 348.6 MB, free: 15.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.01666, allocations: 145.5 kB / 348.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01666, allocations: 0 / 348.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.01694, allocations: 36 kB / 348.8 MB, free: 15.68 MB / 282.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.0001461/0.01708, allocations: 99.25 kB / 348.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009779/0.01806, allocations: 374.5 kB / 349.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01806, allocations: 0 / 349.3 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003849/0.01845, allocations: 95.84 kB / 349.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.01877, allocations: 36.3 kB / 349.4 MB, free: 15.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000835/0.0196, allocations: 321.1 kB / 349.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.01973, allocations: 116.2 kB / 349.8 MB, free: 14.56 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.604e-05/0.01983, allocations: 13.48 kB / 349.8 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.358e-05/0.01991, allocations: 28.44 kB / 349.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01991, allocations: 0 / 349.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Templates: time 0.007471/0.02738, allocations: 2.641 MB / 352.5 MB, free: 11.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.365461322944611]