Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.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.001789/0.001789, allocations: 78.17 kB / 19.76 MB, free: 2.035 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.002356/0.002356, allocations: 158.8 kB / 23.01 MB, free: 4.945 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.477/1.477, allocations: 177.2 MB / 203.4 MB, free: 8.957 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.06193/0.06193, allocations: 8.61 MB / 268.4 MB, free: 8.52 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.Examples.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 67.89 kB / 396.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3365, allocations: 56.03 MB / 452.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.004518/0.341, allocations: 2.347 MB / 454.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003134/0.3441, allocations: 1.604 MB / 456.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.3444, allocations: 24.25 kB / 456.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008712/0.3453, allocations: 229.6 kB / 456.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000624/0.3459, allocations: 211.5 kB / 456.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.3476, allocations: 438.1 kB / 456.9 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.3487, allocations: 0.6638 MB / 457.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.3488, allocations: 57.94 kB / 457.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.3492, allocations: 247.2 kB / 457.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003867/0.3496, allocations: 257.2 kB / 458.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.034e-05/0.3496, allocations: 33.62 kB / 458.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.35, allocations: 151.9 kB / 458.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.3502, allocations: 151.6 kB / 458.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.3503, allocations: 186.9 kB / 458.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007206/0.3511, allocations: 0.586 MB / 459.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3511, allocations: 0.7969 kB / 459.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3511, allocations: 0 / 459.3 MB, free: 10.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3511, allocations: 5.312 kB / 459.3 MB, free: 10.31 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001397/0.3525, allocations: 0.8616 MB / 460.1 MB, free: 9.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.3525, allocations: 9.156 kB / 460.1 MB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.3526, allocations: 67.05 kB / 460.2 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006451/0.3533, allocations: 420 kB / 460.6 MB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.3533, allocations: 28.31 kB / 460.6 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.686e-05/0.3534, allocations: 41.41 kB / 460.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007772/0.3541, allocations: 0.4934 MB / 461.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.3542, allocations: 2.094 kB / 461.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.3542, allocations: 17.3 kB / 461.2 MB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.3542, allocations: 13.19 kB / 461.2 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006227/0.3548, allocations: 356.1 kB / 461.6 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.3572, allocations: 1.759 MB / 463.3 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004542/0.3577, allocations: 254.2 kB / 463.6 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002665/0.358, allocations: 170.5 kB / 463.7 MB, free: 7.465 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.358, allocations: 7.797 kB / 463.7 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004701/0.3585, allocations: 285.7 kB / 464 MB, free: 7.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.404e-06/0.3585, allocations: 3.938 kB / 464 MB, free: 7.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001291/0.3598, allocations: 0.6089 MB / 464.6 MB, free: 7.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.3598, allocations: 87.36 kB / 464.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005929/0.3604, allocations: 0.5318 MB / 465.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3604, allocations: 37.02 kB / 465.3 MB, free: 6.617 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3606, allocations: 298.8 kB / 465.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.007e-05/0.3607, allocations: 118.1 kB / 465.7 MB, free: 6.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3608, allocations: 105.8 kB / 465.8 MB, free: 6.227 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.3609, allocations: 367.2 kB / 466.1 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/0.3612, allocations: 176.9 kB / 466.3 MB, free: 5.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.3615, allocations: 368.4 kB / 466.7 MB, free: 5.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.3633, allocations: 0.9558 MB / 467.6 MB, free: 4.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3633, allocations: 0.9688 kB / 467.6 MB, free: 4.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001122/0.3644, allocations: 0.6947 MB / 468.3 MB, free: 4.641 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.3645, allocations: 36.22 kB / 468.4 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.3645, allocations: 6.406 kB / 468.4 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/0.3645, allocations: 8.031 kB / 468.4 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.365, allocations: 110.6 kB / 468.5 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.365, allocations: 9.031 kB / 468.5 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.3653, allocations: 64.44 kB / 468.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/0.3653, allocations: 27.8 kB / 468.6 MB, free: 4.551 MB / 366.1 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,R.TS_in,R_track.satLOW_in,R_track.satHIGH_in,R_track.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0003362/0.3656, allocations: 266.1 kB / 468.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.3657, allocations: 61.52 kB / 468.9 MB, free: 4.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008658/0.3666, allocations: 0.5352 MB / 469.4 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3666, allocations: 2.75 kB / 469.4 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3666, allocations: 0 / 469.4 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.3666, allocations: 3.297 kB / 469.4 MB, free: 4.051 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.367, allocations: 352.3 kB / 469.8 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.367, allocations: 0 / 469.8 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.3675, allocations: 79.31 kB / 469.9 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.768e-06/0.3675, allocations: 1.031 kB / 469.9 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.891e-05/0.3675, allocations: 13.88 kB / 469.9 MB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3675, allocations: 6.375 kB / 469.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3675, allocations: 0 / 469.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.3686, allocations: 0.7442 MB / 470.6 MB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.836e-05/0.3687, allocations: 56.22 kB / 470.7 MB, free: 3.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.13e-05/0.3687, allocations: 12.89 kB / 470.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.3689, allocations: 24.59 kB / 470.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.369, allocations: 24.34 kB / 470.7 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.539e-05/0.369, allocations: 14.83 kB / 470.8 MB, free: 3.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004168/0.3694, allocations: 359.5 kB / 471.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3694, allocations: 0 / 471.1 MB, free: 3.227 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005301/0.37, allocations: 126.2 kB / 471.2 MB, free: 3.195 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001695/0.3717, allocations: 0.4926 MB / 471.7 MB, free: 2.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008951/0.3725, allocations: 0.5224 MB / 472.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3726, allocations: 0 / 472.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.3729, allocations: 258.8 kB / 472.5 MB, free: 2.578 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.3734, allocations: 73.83 kB / 472.6 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.375, allocations: 1.088 MB / 473.7 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.3754, allocations: 284.2 kB / 473.9 MB, free: 1.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00031/0.3757, allocations: 101 kB / 474 MB, free: 1.801 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.3758, allocations: 41.72 kB / 474.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3758, allocations: 0 / 474.1 MB, free: 1.785 MB / 366.1 MB Notification: Performance of Templates: time 0.01294/0.3887, allocations: 5.113 MB / 479.2 MB, free: 15.48 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.108454416971654] Failed to read output from testmodel.py, exit status != 0: 0.39976140996441245 0.41767165399999995 0.06296162799999994 Calling exit ...