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.0007035/0.0007035, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.001073/0.001073, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.9026/0.9026, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.03316/0.03316, allocations: 8.593 MB / 268.5 MB, free: 5.109 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.803e-06/1.803e-06, allocations: 0 / 396.3 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.257e-05, allocations: 6.219 kB / 396.3 MB, free: 0.957 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002273/0.002305, allocations: 1.724 MB / 398.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009009/0.003206, allocations: 0.5999 MB / 398.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.003314, allocations: 3.938 kB / 398.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.003418, allocations: 19.75 kB / 398.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.93e-05/0.003507, allocations: 35.66 kB / 398.7 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.003793, allocations: 91.73 kB / 398.8 MB, free: 14.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.004015, allocations: 207.3 kB / 399 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.004122, allocations: 33.78 kB / 399 MB, free: 14.23 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.004255, allocations: 119.6 kB / 399.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.004345, allocations: 67.83 kB / 399.2 MB, free: 14.05 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.004373, allocations: 12 kB / 399.2 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.746e-05/0.004391, allocations: 16 kB / 399.3 MB, free: 14.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.004434, allocations: 43.83 kB / 399.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.004497, allocations: 51.83 kB / 399.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.004695, allocations: 187.3 kB / 399.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004697, allocations: 0 / 399.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.004698, allocations: 0 / 399.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.004703, allocations: 0 / 399.5 MB, free: 13.74 MB / 330.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.0007072/0.00541, allocations: 0.5085 MB / 400 MB, free: 13.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.005447, allocations: 12.03 kB / 400 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.005495, allocations: 16.84 kB / 400.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.00583, allocations: 205.7 kB / 400.3 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.005882, allocations: 67.91 kB / 400.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.005914, allocations: 16.38 kB / 400.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.00621, allocations: 189.2 kB / 400.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.006222, allocations: 12.11 kB / 400.5 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.006238, allocations: 8.125 kB / 400.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.006244, allocations: 8 kB / 400.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003065/0.006551, allocations: 143.8 kB / 400.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005995/0.00715, allocations: 0.5434 MB / 401.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003115/0.007462, allocations: 158.4 kB / 401.4 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.007607, allocations: 80.78 kB / 401.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.007618, allocations: 0 / 401.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.007866, allocations: 163.2 kB / 401.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 9.31e-07/0.007867, allocations: 0 / 401.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005619/0.008429, allocations: 300.5 kB / 401.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.008466, allocations: 67.31 kB / 402 MB, free: 11.1 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.008621, allocations: 195.8 kB / 402.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.008643, allocations: 37.69 kB / 402.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.008714, allocations: 132.3 kB / 402.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.008741, allocations: 39.69 kB / 402.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.008797, allocations: 49.7 kB / 402.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.008886, allocations: 330.8 kB / 402.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.009075, allocations: 151.2 kB / 402.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.009274, allocations: 193.3 kB / 403.1 MB, free: 9.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.009613, allocations: 271.9 kB / 403.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.009615, allocations: 4 kB / 403.4 MB, free: 9.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004489/0.01006, allocations: 400 kB / 403.8 MB, free: 9.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.479e-05/0.0101, allocations: 67.53 kB / 403.8 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.0101, allocations: 4 kB / 403.8 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01012, allocations: 7.984 kB / 403.8 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.01032, allocations: 59.83 kB / 403.9 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.01033, allocations: 4 kB / 403.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.01045, allocations: 47.78 kB / 403.9 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.01047, allocations: 12 kB / 404 MB, free: 8.973 MB / 330.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 8.813e-05/0.01055, allocations: 133.8 kB / 404.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.856e-05/0.01057, allocations: 23.89 kB / 404.1 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.0106, allocations: 17.47 kB / 404.1 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01061, allocations: 0 / 404.1 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.01061, allocations: 3.938 kB / 404.1 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.01062, allocations: 3.984 kB / 404.1 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.01074, allocations: 173.2 kB / 404.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01074, allocations: 0 / 404.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.01093, allocations: 51.95 kB / 404.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.01093, allocations: 0 / 404.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01095, allocations: 0 / 404.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01095, allocations: 0 / 404.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01095, allocations: 3.938 kB / 404.4 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.01151, allocations: 351.8 kB / 404.7 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.01153, allocations: 19.88 kB / 404.7 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.01155, allocations: 4 kB / 404.7 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.432e-05/0.01164, allocations: 35.94 kB / 404.8 MB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/0.01171, allocations: 27.97 kB / 404.8 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.01171, allocations: 7.984 kB / 404.8 MB, free: 8.082 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.919e-05/0.0118, allocations: 149.5 kB / 404.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0118, allocations: 0 / 404.9 MB, free: 7.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001758/0.01198, allocations: 35.95 kB / 405 MB, free: 7.902 MB / 330.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 9.08e-05/0.01207, allocations: 107.2 kB / 405.1 MB, free: 7.789 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004558/0.01253, allocations: 363.7 kB / 405.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.01253, allocations: 0 / 405.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.0127, allocations: 99.84 kB / 405.5 MB, free: 7.301 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002025/0.0129, allocations: 40.12 kB / 405.6 MB, free: 7.262 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.01345, allocations: 340.1 kB / 405.9 MB, free: 6.895 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.192e-05/0.01353, allocations: 112.3 kB / 406 MB, free: 6.766 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.01358, allocations: 20.48 kB / 406 MB, free: 6.746 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01358, allocations: 3.938 kB / 406 MB, free: 6.742 MB / 330.7 MB Notification: Performance of Templates: time 0.004313/0.0179, allocations: 2.523 MB / 408.6 MB, free: 4.223 MB / 330.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.544718847610056] Failed to read output from testmodel.py, exit status != 0: 0.024037555791437626 0.205828051 0.19926590500000002 Calling exit ...