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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 114.9 kB / 17.13 MB, free: 6.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 197.2 kB / 20.08 MB, free: 3.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06162/0.06162, allocations: 11.35 MB / 314.7 MB, free: 0.8477 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001941/0.001941, allocations: 71.88 kB / 438.5 MB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2463, allocations: 54.83 MB / 493.3 MB, free: 24.05 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.00342/0.2497, allocations: 2.449 MB / 495.8 MB, free: 22.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.2521, allocations: 1.56 MB / 497.3 MB, free: 21.26 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.2523, allocations: 14.81 kB / 497.4 MB, free: 21.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007505/0.2531, allocations: 220.6 kB / 497.6 MB, free: 21.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004117/0.2535, allocations: 169.2 kB / 497.7 MB, free: 21.09 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2547, allocations: 447.8 kB / 498.2 MB, free: 20.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007279/0.2554, allocations: 0.6302 MB / 498.8 MB, free: 20.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.2556, allocations: 55.02 kB / 498.9 MB, free: 20.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002711/0.2559, allocations: 235.6 kB / 499.1 MB, free: 20.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.2562, allocations: 267.2 kB / 499.4 MB, free: 20.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.429e-05/0.2563, allocations: 33.31 kB / 499.4 MB, free: 20.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003012/0.2566, allocations: 159.3 kB / 499.5 MB, free: 20.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.2567, allocations: 157.1 kB / 499.7 MB, free: 20.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.2569, allocations: 220.4 kB / 499.9 MB, free: 19.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006345/0.2575, allocations: 0.5792 MB / 0.4888 GB, free: 19.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2575, allocations: 4 kB / 0.4888 GB, free: 19.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2575, allocations: 0 / 0.4888 GB, free: 19.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.2575, allocations: 1.312 kB / 0.4888 GB, free: 19.48 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.001285/0.2588, allocations: 0.9351 MB / 0.4897 GB, free: 18.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2589, allocations: 13.73 kB / 0.4897 GB, free: 18.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.259, allocations: 66.48 kB / 0.4898 GB, free: 18.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.2596, allocations: 483.8 kB / 0.4902 GB, free: 18.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.2596, allocations: 24.72 kB / 0.4902 GB, free: 18.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.495e-05/0.2597, allocations: 52.69 kB / 0.4903 GB, free: 18.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.2603, allocations: 480.2 kB / 0.4907 GB, free: 17.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.2604, allocations: 2.875 kB / 0.4907 GB, free: 17.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.2604, allocations: 17.12 kB / 0.4908 GB, free: 17.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2604, allocations: 11.97 kB / 0.4908 GB, free: 17.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.261, allocations: 324.7 kB / 0.4911 GB, free: 17.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.263, allocations: 1.929 MB / 0.493 GB, free: 16.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.2634, allocations: 229.7 kB / 0.4932 GB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.2637, allocations: 137.2 kB / 0.4933 GB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.2637, allocations: 4.328 kB / 0.4933 GB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003677/0.2641, allocations: 240.6 kB / 0.4936 GB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.314e-06/0.2641, allocations: 0 / 0.4936 GB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001/0.2651, allocations: 0.553 MB / 0.4941 GB, free: 15.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.2651, allocations: 108 kB / 0.4942 GB, free: 15.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.2657, allocations: 0.5458 MB / 0.4947 GB, free: 15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.2657, allocations: 36.02 kB / 0.4948 GB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.2658, allocations: 284.6 kB / 0.495 GB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.2659, allocations: 118.8 kB / 0.4951 GB, free: 14.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.266, allocations: 107.3 kB / 0.4952 GB, free: 14.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.2661, allocations: 370.2 kB / 0.4956 GB, free: 14.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/0.2664, allocations: 147.3 kB / 0.4957 GB, free: 14.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.2667, allocations: 323.4 kB / 0.4961 GB, free: 13.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002007/0.2687, allocations: 0.9252 MB / 0.497 GB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.2687, allocations: 5.438 kB / 0.497 GB, free: 13.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001188/0.2699, allocations: 0.6515 MB / 0.4976 GB, free: 12.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.27, allocations: 46.44 kB / 0.4976 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.27, allocations: 5.562 kB / 0.4976 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.362e-05/0.27, allocations: 11.78 kB / 0.4977 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.2705, allocations: 111.6 kB / 0.4978 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/0.2705, allocations: 7.438 kB / 0.4978 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.2708, allocations: 60.86 kB / 0.4978 GB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/0.2708, allocations: 23 kB / 0.4979 GB, free: 12.71 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.0003666/0.2712, allocations: 283.2 kB / 0.4981 GB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.2713, allocations: 58 kB / 0.4982 GB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007905/0.2721, allocations: 496 kB / 0.4986 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.2721, allocations: 3.812 kB / 0.4987 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2721, allocations: 0 / 0.4987 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.2721, allocations: 3.984 kB / 0.4987 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.2725, allocations: 469.3 kB / 0.4991 GB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2725, allocations: 0 / 0.4991 GB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.2729, allocations: 65.66 kB / 0.4992 GB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.2729, allocations: 9.203 kB / 0.4992 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.273, allocations: 11.78 kB / 0.4992 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.273, allocations: 1.25 kB / 0.4992 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.273, allocations: 0 / 0.4992 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009465/0.2739, allocations: 0.6719 MB / 0.4998 GB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.274, allocations: 131.8 kB / 0.5 GB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.2741, allocations: 10.88 kB / 0.5 GB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.2742, allocations: 25.55 kB / 0.5 GB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.2743, allocations: 21.59 kB / 0.5 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.2743, allocations: 17.61 kB / 0.5 GB, free: 11.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003512/0.2747, allocations: 376.1 kB / 0.5004 GB, free: 11.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2747, allocations: 0 / 0.5004 GB, free: 11.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000489/0.2752, allocations: 118.8 kB / 0.5005 GB, free: 10.98 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.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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.001519/0.2767, allocations: 471.8 kB / 0.501 GB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007428/0.2774, allocations: 454.1 kB / 0.5014 GB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2774, allocations: 1.062 kB / 0.5014 GB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.2777, allocations: 221 kB / 0.5016 GB, free: 10.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.2782, allocations: 93.98 kB / 0.5017 GB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.2796, allocations: 1.086 MB / 0.5028 GB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.2799, allocations: 0.8834 MB / 0.5036 GB, free: 8.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.28, allocations: 46.98 kB / 0.5037 GB, free: 8.836 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.28, allocations: 0 / 0.5037 GB, free: 8.836 MB / 366.1 MB Notification: Performance of Templates: time 0.00874/0.2888, allocations: 6.897 MB / 0.5104 GB, free: 3.02 MB / 366.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: 8.015778906876221] Failed to read output from testmodel.py, exit status != 0: 0.29605804197490215 0.30778023899999996 0.04746954699999994 Calling exit ...