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.001602/0.001602, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001638/0.001638, allocations: 167.1 kB / 22.46 MB, free: 5.359 MB / 14.72 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.499/1.499, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.0617/0.0617, allocations: 8.612 MB / 267.8 MB, free: 8.574 MB / 254.1 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.864e-06/1.864e-06, allocations: 0 / 395.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.725e-05, allocations: 2.281 kB / 395.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.003023/0.00305, allocations: 1.72 MB / 397.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.00419, allocations: 0.5882 MB / 397.9 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.62e-05/0.004286, allocations: 7.938 kB / 397.9 MB, free: 4.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001155/0.004401, allocations: 19.73 kB / 397.9 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.004508, allocations: 43.66 kB / 398 MB, free: 4.277 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.004813, allocations: 87.73 kB / 398 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003425/0.005156, allocations: 215.3 kB / 398.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.005302, allocations: 21.78 kB / 398.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002249/0.005527, allocations: 119.6 kB / 398.4 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.005678, allocations: 71.77 kB / 398.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.563e-05/0.005724, allocations: 19.94 kB / 398.5 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.729e-05/0.005761, allocations: 16 kB / 398.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.005894, allocations: 35.89 kB / 398.5 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.005991, allocations: 55.83 kB / 398.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.006292, allocations: 183.4 kB / 398.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.006295, allocations: 0 / 398.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.62e-07/0.006296, allocations: 0 / 398.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.006306, allocations: 0 / 398.8 MB, free: 3.469 MB / 318.1 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.001301/0.007607, allocations: 0.5007 MB / 399.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.007649, allocations: 11.97 kB / 399.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.891e-05/0.007718, allocations: 20.84 kB / 399.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.008133, allocations: 213.7 kB / 399.5 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-05/0.008213, allocations: 67.95 kB / 399.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.008256, allocations: 8.375 kB / 399.6 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005733/0.008829, allocations: 201.8 kB / 399.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.008839, allocations: 192 / 399.8 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.008865, allocations: 12.11 kB / 399.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.008871, allocations: 0 / 399.8 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006607/0.009532, allocations: 158.9 kB / 399.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009924/0.01052, allocations: 0.5317 MB / 400.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006696/0.01119, allocations: 162.4 kB / 400.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.01152, allocations: 76.78 kB / 400.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.01153, allocations: 0 / 400.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005026/0.01204, allocations: 167.2 kB / 400.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.01204, allocations: 4.188 kB / 400.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001193/0.01323, allocations: 297.3 kB / 401.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.438e-05/0.0133, allocations: 55.34 kB / 401.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002639/0.01356, allocations: 207.8 kB / 401.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.01359, allocations: 25.7 kB / 401.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.01373, allocations: 144.3 kB / 401.6 MB, free: 452 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.01378, allocations: 39.69 kB / 401.6 MB, free: 412 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.01389, allocations: 45.7 kB / 401.7 MB, free: 360 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.01409, allocations: 330.8 kB / 402 MB, free: 20 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004393/0.01453, allocations: 147.3 kB / 402.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004553/0.01499, allocations: 205.2 kB / 402.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007131/0.0157, allocations: 267.9 kB / 402.6 MB, free: 15.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.0157, allocations: 4 kB / 402.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009262/0.01663, allocations: 400 kB / 403 MB, free: 14.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/0.01669, allocations: 67.39 kB / 403.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.0167, allocations: 8 kB / 403.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.01672, allocations: 0 / 403.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.01716, allocations: 68.02 kB / 403.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.01717, allocations: 3.984 kB / 403.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002746/0.01744, allocations: 47.84 kB / 403.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.01747, allocations: 12 kB / 403.2 MB, free: 14.7 MB / 334.1 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 0.0001577/0.01763, allocations: 125.8 kB / 403.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.01766, allocations: 15.91 kB / 403.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.875e-05/0.01772, allocations: 29.45 kB / 403.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01772, allocations: 4 kB / 403.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.01773, allocations: 3.938 kB / 403.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.01773, allocations: 0 / 403.4 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.01795, allocations: 165.2 kB / 403.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01795, allocations: 4 kB / 403.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/0.01839, allocations: 47.89 kB / 403.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.01839, allocations: 3.984 kB / 403.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.01841, allocations: 12 kB / 403.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.01841, allocations: 3.984 kB / 403.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.01841, allocations: 0 / 403.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.01958, allocations: 354.3 kB / 404 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.01961, allocations: 15.88 kB / 404 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.01965, allocations: 4 kB / 404 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.01988, allocations: 31.95 kB / 404 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.01999, allocations: 35.88 kB / 404 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.02, allocations: 4 kB / 404 MB, free: 13.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.02014, allocations: 141.5 kB / 404.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02014, allocations: 0 / 404.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.0204, allocations: 40.02 kB / 404.2 MB, free: 13.63 MB / 334.1 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.0001338/0.02053, allocations: 115.2 kB / 404.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009311/0.02146, allocations: 364.8 kB / 404.7 MB, free: 13.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.02146, allocations: 8 kB / 404.7 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.02183, allocations: 91.86 kB / 404.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.02213, allocations: 31.7 kB / 404.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008076/0.02293, allocations: 318.4 kB / 405.1 MB, free: 12.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.02305, allocations: 108.2 kB / 405.2 MB, free: 12.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.583e-05/0.02313, allocations: 17.48 kB / 405.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.02321, allocations: 28.48 kB / 405.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02321, allocations: 0 / 405.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of Templates: time 0.006576/0.02979, allocations: 2.607 MB / 407.9 MB, free: 9.91 MB / 334.1 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.515541058033705] Failed to read output from testmodel.py, exit status != 0: 0.03809664025902748 0.061747776000000004 0.051041776000000004 Calling exit ...