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.001357/0.001357, allocations: 93.06 kB / 19.65 MB, free: 280 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.00109/0.00109, allocations: 165 kB / 23.02 MB, free: 1.555 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.9469/0.9469, allocations: 177.1 MB / 203.4 MB, free: 5.602 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.03715/0.03715, allocations: 8.617 MB / 268.6 MB, free: 4.883 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.723e-06/1.723e-06, allocations: 0 / 340.9 MB, free: 8.379 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.418e-05, allocations: 2.312 kB / 340.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.001981/0.002015, allocations: 1.79 MB / 342.7 MB, free: 6.574 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008184/0.002833, allocations: 0.6 MB / 343.3 MB, free: 5.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.002952, allocations: 11.88 kB / 343.3 MB, free: 5.957 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.003081, allocations: 23.73 kB / 343.3 MB, free: 5.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.993e-05/0.003171, allocations: 39.59 kB / 343.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.003485, allocations: 91.8 kB / 343.4 MB, free: 5.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.003701, allocations: 207.3 kB / 343.6 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.003816, allocations: 29.72 kB / 343.7 MB, free: 5.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.003957, allocations: 115.8 kB / 343.8 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.664e-05/0.004054, allocations: 63.78 kB / 343.8 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.004083, allocations: 20 kB / 343.9 MB, free: 5.379 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.269e-05/0.004106, allocations: 16 kB / 343.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.004143, allocations: 43.83 kB / 343.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.004202, allocations: 55.81 kB / 344 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.00437, allocations: 131.5 kB / 344.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.004373, allocations: 0 / 344.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004373, allocations: 0 / 344.1 MB, free: 5.137 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.004378, allocations: 4 kB / 344.1 MB, free: 5.133 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.0006567/0.005034, allocations: 0.5811 MB / 344.7 MB, free: 4.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.005071, allocations: 8.031 kB / 344.7 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.442e-05/0.005135, allocations: 32.8 kB / 344.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.005368, allocations: 212.7 kB / 344.9 MB, free: 4.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.005419, allocations: 63.95 kB / 345 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.005453, allocations: 20.38 kB / 345 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.00572, allocations: 169.9 kB / 345.2 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.005728, allocations: 192 / 345.2 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.005746, allocations: 12.12 kB / 345.2 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.005755, allocations: 0 / 345.2 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.005861, allocations: 44.72 kB / 345.2 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.006446, allocations: 0.669 MB / 345.9 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/0.006579, allocations: 67.05 kB / 346 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/0.006632, allocations: 27.86 kB / 346 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.006645, allocations: 3.938 kB / 346 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.006806, allocations: 109 kB / 346.1 MB, free: 2.945 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.006807, allocations: 0 / 346.1 MB, free: 2.945 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002948/0.007102, allocations: 141.5 kB / 346.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.007128, allocations: 67.28 kB / 346.3 MB, free: 2.723 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.007251, allocations: 250.8 kB / 346.6 MB, free: 2.457 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.007266, allocations: 33.7 kB / 346.6 MB, free: 2.418 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.007328, allocations: 183 kB / 346.8 MB, free: 2.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.007356, allocations: 43.69 kB / 346.8 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.007421, allocations: 51.34 kB / 346.9 MB, free: 2.129 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.007467, allocations: 0.4962 MB / 347.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.631e-05/0.007553, allocations: 91.38 kB / 347.5 MB, free: 1.52 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.242e-05/0.007645, allocations: 157.1 kB / 347.6 MB, free: 1.324 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.007787, allocations: 183.7 kB / 347.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.007789, allocations: 0 / 347.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002811/0.00807, allocations: 288.2 kB / 348.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.0081, allocations: 63.39 kB / 348.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.008106, allocations: 4 kB / 348.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.008124, allocations: 0 / 348.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.00838, allocations: 64.03 kB / 348.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.008387, allocations: 4 kB / 348.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.008514, allocations: 35.86 kB / 348.2 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.00853, allocations: 12 kB / 348.2 MB, free: 0.6016 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 7.216e-05/0.008602, allocations: 168.5 kB / 348.4 MB, free: 436 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.00863, allocations: 31.84 kB / 348.4 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.008673, allocations: 17.47 kB / 348.5 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.008675, allocations: 3.938 kB / 348.5 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.00868, allocations: 7.938 kB / 348.5 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.008684, allocations: 0 / 348.5 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.0088, allocations: 180.5 kB / 348.6 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.008802, allocations: 0 / 348.6 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.009027, allocations: 39.97 kB / 348.7 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.00903, allocations: 0 / 348.7 MB, free: 120 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.009046, allocations: 8 kB / 348.7 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.009048, allocations: 3.938 kB / 348.7 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009049, allocations: 0 / 348.7 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.009351, allocations: 195.9 kB / 348.9 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.009373, allocations: 15.91 kB / 348.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.0094, allocations: 7.984 kB / 348.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.009496, allocations: 15.98 kB / 348.9 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.009575, allocations: 31.89 kB / 349 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.009593, allocations: 7.984 kB / 349 MB, free: 15.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.009698, allocations: 177.4 kB / 349.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009698, allocations: 0 / 349.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.009945, allocations: 36 kB / 349.2 MB, free: 15.61 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.0001164/0.01006, allocations: 113.2 kB / 349.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002968/0.01036, allocations: 262.4 kB / 349.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01036, allocations: 4 kB / 349.5 MB, free: 15.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.414e-05/0.01045, allocations: 51.59 kB / 349.6 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002778/0.01073, allocations: 43.42 kB / 349.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.01131, allocations: 318.7 kB / 350 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.408e-05/0.01135, allocations: 71.98 kB / 350 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.53e-05/0.01143, allocations: 17.48 kB / 350 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.01149, allocations: 20.5 kB / 350.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01149, allocations: 0 / 350.1 MB, free: 14.62 MB / 282.7 MB Notification: Performance of Templates: time 0.005304/0.0168, allocations: 2.638 MB / 352.7 MB, free: 12.03 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.977683261036873]