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.001348/0.001348, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.001468/0.001468, allocations: 169.3 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.474/1.474, 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.06248/0.06248, allocations: 8.604 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.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: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 0 / 395.6 MB, free: 6.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.845e-05/5.098e-05, allocations: 2.281 kB / 395.6 MB, free: 6.656 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.005045/0.005096, allocations: 2.338 MB / 397.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003425/0.008522, allocations: 1.61 MB / 399.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.008841, allocations: 27.69 kB / 399.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008782/0.00972, allocations: 222.8 kB / 399.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006741/0.01039, allocations: 218.9 kB / 400 MB, free: 2.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.01163, allocations: 446.7 kB / 400.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009161/0.01254, allocations: 0.5943 MB / 401 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.01276, allocations: 65.08 kB / 401.1 MB, free: 1.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006147/0.01338, allocations: 311.2 kB / 401.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004203/0.0138, allocations: 211.4 kB / 401.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.01392, allocations: 36 kB / 401.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.01427, allocations: 151.8 kB / 401.8 MB, free: 428 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/0.01447, allocations: 151.5 kB / 401.9 MB, free: 276 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.0147, allocations: 139.5 kB / 402.1 MB, free: 136 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.01574, allocations: 0.5956 MB / 402.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.01575, allocations: 0 / 402.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.01575, allocations: 4 kB / 402.7 MB, free: 15.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.01577, allocations: 4 kB / 402.7 MB, free: 15.53 MB / 334.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.002035/0.01781, allocations: 0.8554 MB / 403.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.01785, allocations: 8.031 kB / 403.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.01801, allocations: 72.52 kB / 403.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00085/0.01886, allocations: 406.1 kB / 404 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.0189, allocations: 29.38 kB / 404 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.9e-05/0.01899, allocations: 48.31 kB / 404.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009294/0.01992, allocations: 0.4938 MB / 404.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.01995, allocations: 7.938 kB / 404.6 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.01999, allocations: 19.98 kB / 404.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.02001, allocations: 8 kB / 404.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006654/0.02067, allocations: 356 kB / 404.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002729/0.0234, allocations: 1.761 MB / 406.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005178/0.02392, allocations: 259.9 kB / 407 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.02421, allocations: 166.7 kB / 407.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.02424, allocations: 4.219 kB / 407.1 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004863/0.02472, allocations: 281.5 kB / 407.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/0.02473, allocations: 0 / 407.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.001217/0.02594, allocations: 0.6139 MB / 408 MB, free: 9.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/0.02602, allocations: 93.03 kB / 408.1 MB, free: 9.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007029/0.02672, allocations: 0.5253 MB / 408.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.02677, allocations: 33.7 kB / 408.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002709/0.02704, allocations: 292.5 kB / 409 MB, free: 8.945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.02716, allocations: 123 kB / 409.1 MB, free: 8.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.02732, allocations: 102.1 kB / 409.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.02754, allocations: 374.8 kB / 409.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/0.02787, allocations: 174.8 kB / 409.7 MB, free: 8.168 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.02838, allocations: 373 kB / 410.1 MB, free: 7.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002261/0.03064, allocations: 0.9488 MB / 411 MB, free: 6.668 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.03064, allocations: 0 / 411 MB, free: 6.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001217/0.03186, allocations: 0.6929 MB / 411.7 MB, free: 5.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.03191, allocations: 41.62 kB / 411.8 MB, free: 5.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.03193, allocations: 8.062 kB / 411.8 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/0.03196, allocations: 8 kB / 411.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004789/0.03244, allocations: 111.8 kB / 411.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.249e-05/0.03247, allocations: 8 kB / 411.9 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.03277, allocations: 63.55 kB / 412 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/0.03282, allocations: 31.92 kB / 412 MB, free: 5.684 MB / 334.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.0003973/0.03322, allocations: 263.2 kB / 412.2 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.595e-05/0.03332, allocations: 55.66 kB / 412.3 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.03434, allocations: 0.5414 MB / 412.8 MB, free: 4.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.03434, allocations: 4 kB / 412.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.03435, allocations: 0 / 412.8 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.03436, allocations: 3.984 kB / 412.8 MB, free: 4.793 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.03484, allocations: 349 kB / 413.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.03484, allocations: 0 / 413.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.03526, allocations: 67.89 kB / 413.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.03526, allocations: 0 / 413.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/0.03531, allocations: 19.98 kB / 413.3 MB, free: 4.336 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.03532, allocations: 11.94 kB / 413.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.03532, allocations: 0 / 413.3 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.03661, allocations: 0.7338 MB / 414 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.03672, allocations: 55.59 kB / 414.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/0.0368, allocations: 12 kB / 414.1 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.037, allocations: 19.92 kB / 414.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.03711, allocations: 23.95 kB / 414.1 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.03715, allocations: 15.98 kB / 414.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004571/0.0376, allocations: 366.8 kB / 414.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.0376, allocations: 4.109 kB / 414.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004902/0.03809, allocations: 135.6 kB / 414.6 MB, free: 2.938 MB / 334.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.001824/0.03992, allocations: 487.3 kB / 415.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001/0.04092, allocations: 0.5153 MB / 415.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.04092, allocations: 0 / 415.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004021/0.04132, allocations: 265.5 kB / 415.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.0418, allocations: 87.36 kB / 416 MB, free: 1.746 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.04355, allocations: 1.022 MB / 417 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.04387, allocations: 289 kB / 417.3 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.04415, allocations: 96.2 kB / 417.4 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.04427, allocations: 40.44 kB / 417.4 MB, free: 252 kB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.04427, allocations: 4 kB / 417.4 MB, free: 248 kB / 334.1 MB Notification: Performance of Templates: time 0.0128/0.05707, allocations: 5.111 MB / 422.5 MB, free: 11.18 MB / 350.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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.638792742043734] Failed to read output from testmodel.py, exit status != 0: 0.06734634935855865 0.09092287900000001 0.070312281 Calling exit ...