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.0007601/0.0007601, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008349/0.0008349, allocations: 177.9 kB / 23.22 MB, free: 1.344 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.8694/0.8694, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.03456/0.03456, allocations: 8.596 MB / 268.5 MB, free: 5.141 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.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.903e-06/1.903e-06, allocations: 0 / 396.3 MB, free: 2.176 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.334e-05/3.525e-05, allocations: 8.812 kB / 396.3 MB, free: 2.168 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002889/0.002925, allocations: 1.697 MB / 398 MB, free: 472 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.003783, allocations: 0.5961 MB / 398.6 MB, free: 15.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.003876, allocations: 11.88 kB / 398.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.563e-05/0.003972, allocations: 15.75 kB / 398.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.004034, allocations: 35.66 kB / 398.7 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.004274, allocations: 79.56 kB / 398.8 MB, free: 15.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.004468, allocations: 191.4 kB / 399 MB, free: 15.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.004572, allocations: 21.7 kB / 399 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001977/0.004769, allocations: 103.7 kB / 399.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.644e-05/0.004846, allocations: 59.8 kB / 399.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.00487, allocations: 12 kB / 399.1 MB, free: 15.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.253e-05/0.004912, allocations: 16 kB / 399.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.004941, allocations: 31.89 kB / 399.2 MB, free: 15.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.894e-05/0.00499, allocations: 47.78 kB / 399.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.005179, allocations: 155.5 kB / 399.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005182, allocations: 0 / 399.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.005183, allocations: 4 kB / 399.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.005188, allocations: 4 kB / 399.4 MB, free: 15.09 MB / 378.7 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.0006362/0.005824, allocations: 443.1 kB / 399.8 MB, free: 14.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.00586, allocations: 8.031 kB / 399.8 MB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.005976, allocations: 32.83 kB / 399.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.006235, allocations: 195 kB / 400.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.553e-05/0.00632, allocations: 115.4 kB / 400.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.006337, allocations: 8.375 kB / 400.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.006569, allocations: 132.2 kB / 400.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.006577, allocations: 192 / 400.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.00659, allocations: 8.125 kB / 400.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.006594, allocations: 7.938 kB / 400.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.006839, allocations: 127.8 kB / 400.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.007324, allocations: 348.1 kB / 400.8 MB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.007571, allocations: 118.5 kB / 400.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.00769, allocations: 68.78 kB / 401 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.007706, allocations: 0 / 401 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.007928, allocations: 135.2 kB / 401.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.223e-06/0.007929, allocations: 0 / 401.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004678/0.008397, allocations: 237.5 kB / 401.3 MB, free: 12.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.008431, allocations: 51.41 kB / 401.4 MB, free: 12.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.008561, allocations: 187.7 kB / 401.6 MB, free: 12.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.008579, allocations: 25.7 kB / 401.6 MB, free: 12.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.008653, allocations: 124.3 kB / 401.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.008674, allocations: 32.12 kB / 401.8 MB, free: 12.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.00872, allocations: 33.7 kB / 401.8 MB, free: 12.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.295e-05/0.008803, allocations: 322.8 kB / 402.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.008953, allocations: 97.64 kB / 402.2 MB, free: 12.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.009101, allocations: 125 kB / 402.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.009358, allocations: 173 kB / 402.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.00936, allocations: 0 / 402.5 MB, free: 11.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003359/0.009696, allocations: 264.7 kB / 402.7 MB, free: 11.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.009728, allocations: 33.64 kB / 402.8 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.009733, allocations: 4 kB / 402.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.009746, allocations: 4.094 kB / 402.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.009853, allocations: 31.95 kB / 402.8 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.009858, allocations: 0 / 402.8 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.419e-05/0.009952, allocations: 39.8 kB / 402.9 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.009961, allocations: 4 kB / 402.9 MB, free: 11.36 MB / 378.7 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 8.4e-05/0.01005, allocations: 128.8 kB / 403 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.7e-05/0.01006, allocations: 19.89 kB / 403 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.0101, allocations: 21.47 kB / 403 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.0101, allocations: 0 / 403 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.0101, allocations: 0 / 403 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.01011, allocations: 3.938 kB / 403 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.01023, allocations: 157.4 kB / 403.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01023, allocations: 0 / 403.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-05/0.0103, allocations: 27.97 kB / 403.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.0103, allocations: 0 / 403.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.01031, allocations: 0 / 403.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.01031, allocations: 4 kB / 403.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01031, allocations: 4 kB / 403.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.01062, allocations: 204.8 kB / 403.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.01064, allocations: 11.91 kB / 403.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.01066, allocations: 4 kB / 403.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.72e-05/0.01073, allocations: 31.95 kB / 403.5 MB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.01079, allocations: 19.97 kB / 403.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.0108, allocations: 3.938 kB / 403.5 MB, free: 10.67 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.335e-05/0.01088, allocations: 127.2 kB / 403.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01088, allocations: 4 kB / 403.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001492/0.01102, allocations: 31.88 kB / 403.6 MB, free: 10.51 MB / 378.7 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.0001035/0.01113, allocations: 107.1 kB / 403.8 MB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003486/0.01148, allocations: 236.9 kB / 404 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01148, allocations: 0 / 404 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000132/0.01161, allocations: 71.88 kB / 404.1 MB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.0118, allocations: 19.98 kB / 404.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.01229, allocations: 287.9 kB / 404.4 MB, free: 9.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.183e-05/0.01237, allocations: 103.4 kB / 404.5 MB, free: 9.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.01242, allocations: 16.5 kB / 404.5 MB, free: 9.602 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01242, allocations: 0 / 404.5 MB, free: 9.602 MB / 378.7 MB Notification: Performance of Templates: time 0.003251/0.01567, allocations: 2.015 MB / 406.5 MB, free: 7.598 MB / 378.7 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.284961164928973] Failed to read output from testmodel.py, exit status != 0: 0.02200867421925068 0.034355588 0.026483368 Calling exit ...