Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.002098/0.002098, allocations: 78.72 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.002162/0.002162, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.498/1.498, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.06244/0.06244, allocations: 8.618 MB / 267.8 MB, free: 8.566 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.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 395.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.703e-05, allocations: 5.797 kB / 395.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003048/0.003075, allocations: 1.693 MB / 397.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.004276, allocations: 0.592 MB / 397.9 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.004387, allocations: 7.938 kB / 397.9 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.0045, allocations: 15.8 kB / 397.9 MB, free: 4.332 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.828e-05/0.004598, allocations: 35.66 kB / 397.9 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.004918, allocations: 79.72 kB / 398 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.005201, allocations: 187.3 kB / 398.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.005331, allocations: 29.78 kB / 398.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.005617, allocations: 103.8 kB / 398.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.005726, allocations: 59.73 kB / 398.4 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.005764, allocations: 12 kB / 398.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.075e-05/0.005825, allocations: 16 kB / 398.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.005872, allocations: 35.83 kB / 398.4 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.005945, allocations: 39.91 kB / 398.5 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.006224, allocations: 159.4 kB / 398.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.006227, allocations: 0 / 398.6 MB, free: 3.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.00623, allocations: 3.984 kB / 398.6 MB, free: 3.586 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.00624, allocations: 4 kB / 398.6 MB, free: 3.582 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001012/0.007253, allocations: 443.1 kB / 399.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.007292, allocations: 16.02 kB / 399.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.007461, allocations: 20.84 kB / 399.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.007846, allocations: 198.7 kB / 399.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.007965, allocations: 115.3 kB / 399.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.00799, allocations: 12.38 kB / 399.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.008417, allocations: 136.7 kB / 399.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.008429, allocations: 4.172 kB / 399.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.008447, allocations: 4.125 kB / 399.6 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.008455, allocations: 4 kB / 399.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/0.00898, allocations: 123.9 kB / 399.7 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.009745, allocations: 340.3 kB / 400 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.01027, allocations: 122.5 kB / 400.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.01052, allocations: 60.8 kB / 400.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.01054, allocations: 160 / 400.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004122/0.01095, allocations: 139.2 kB / 400.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.01095, allocations: 0 / 400.3 MB, free: 1.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009293/0.01188, allocations: 237.3 kB / 400.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.01193, allocations: 59.78 kB / 400.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.01213, allocations: 191.4 kB / 400.8 MB, free: 1.227 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.01216, allocations: 33.7 kB / 400.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.801e-05/0.01226, allocations: 116.3 kB / 401 MB, free: 1.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.01229, allocations: 35.67 kB / 401 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.01236, allocations: 33.7 kB / 401 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.01251, allocations: 326.8 kB / 401.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.01284, allocations: 89.64 kB / 401.4 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.01315, allocations: 129 kB / 401.6 MB, free: 440 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005478/0.0137, allocations: 165 kB / 401.7 MB, free: 256 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.0137, allocations: 7.938 kB / 401.7 MB, free: 248 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007219/0.01442, allocations: 260.8 kB / 402 MB, free: 15.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.01448, allocations: 36.05 kB / 402 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.01448, allocations: 4 kB / 402 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.0145, allocations: 96 / 402 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.01469, allocations: 35.97 kB / 402.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.0147, allocations: 0 / 402.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/0.01493, allocations: 43.72 kB / 402.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.01495, allocations: 7.984 kB / 402.1 MB, free: 15.84 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Ptr.ts,$whenCondition2,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * 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.0001207/0.01507, allocations: 121.8 kB / 402.2 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.0151, allocations: 11.95 kB / 402.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.01515, allocations: 21.45 kB / 402.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.01515, allocations: 4 kB / 402.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01515, allocations: 0 / 402.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01516, allocations: 3.938 kB / 402.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.01533, allocations: 157.2 kB / 402.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01533, allocations: 4 kB / 402.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.01549, allocations: 19.97 kB / 402.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01549, allocations: 3.984 kB / 402.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.01551, allocations: 4 kB / 402.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.01551, allocations: 0 / 402.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01551, allocations: 7.938 kB / 402.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.01613, allocations: 200.8 kB / 402.7 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.695e-05/0.01616, allocations: 11.91 kB / 402.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.01619, allocations: 15.88 kB / 402.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.01637, allocations: 19.97 kB / 402.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.866e-05/0.01645, allocations: 23.97 kB / 402.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.01646, allocations: 3.984 kB / 402.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001155/0.01658, allocations: 131.3 kB / 402.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01658, allocations: 3.938 kB / 402.9 MB, free: 15.03 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.01683, allocations: 35.88 kB / 402.9 MB, free: 15 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,Ptr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000115/0.01694, allocations: 103.2 kB / 403 MB, free: 14.89 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007019/0.01765, allocations: 233 kB / 403.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01765, allocations: 0 / 403.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.01796, allocations: 71.88 kB / 403.3 MB, free: 14.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.01822, allocations: 23.34 kB / 403.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006493/0.01887, allocations: 262.2 kB / 403.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.72e-05/0.01897, allocations: 99.42 kB / 403.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.276e-05/0.01904, allocations: 17.14 kB / 403.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.0191, allocations: 20.44 kB / 403.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.0191, allocations: 0 / 403.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of Templates: time 0.005754/0.02486, allocations: 1.917 MB / 405.6 MB, free: 12.24 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.423647806048393] Failed to read output from testmodel.py, exit status != 0: 0.034325700253248215 0.050690437000000005 0.041191210000000006 Calling exit ...