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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 107.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002525/0.002525, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.596/1.596, allocations: 225.6 MB / 249.9 MB, free: 13.61 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06319/0.06319, allocations: 11.35 MB / 316.4 MB, free: 14.32 MB / 254.1 MB [Timeout remaining time 90] 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=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 63.89 kB / 441 MB, free: 7.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1118, allocations: 54.84 MB / 495.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.004271/0.1161, allocations: 2.45 MB / 498.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.1188, allocations: 1.548 MB / 499.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.119, allocations: 15.88 kB / 499.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007817/0.1198, allocations: 223 kB / 0.4884 GB, free: 12.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.1203, allocations: 179.2 kB / 0.4886 GB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.1214, allocations: 457.7 kB / 0.489 GB, free: 12.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007601/0.1222, allocations: 0.6139 MB / 0.4896 GB, free: 11.56 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.1223, allocations: 61.06 kB / 0.4897 GB, free: 11.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.1227, allocations: 231.1 kB / 0.4899 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.123, allocations: 259 kB / 0.4901 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-05/0.1231, allocations: 32 kB / 0.4902 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003307/0.1234, allocations: 159.8 kB / 0.4903 GB, free: 10.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.1237, allocations: 151.4 kB / 0.4905 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.1239, allocations: 238.5 kB / 0.4907 GB, free: 10.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008369/0.1247, allocations: 0.5716 MB / 0.4912 GB, free: 9.871 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1247, allocations: 0 / 0.4912 GB, free: 9.871 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1247, allocations: 0 / 0.4912 GB, free: 9.871 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.1248, allocations: 0 / 0.4912 GB, free: 9.871 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.001719/0.1265, allocations: 0.9348 MB / 0.4922 GB, free: 8.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1265, allocations: 11.89 kB / 0.4922 GB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.1266, allocations: 68.52 kB / 0.4922 GB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007883/0.1274, allocations: 483 kB / 0.4927 GB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.1275, allocations: 29.38 kB / 0.4927 GB, free: 8.254 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.655e-05/0.1276, allocations: 48.02 kB / 0.4928 GB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000818/0.1284, allocations: 480.2 kB / 0.4932 GB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.1284, allocations: 4 kB / 0.4932 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.1284, allocations: 12 kB / 0.4932 GB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1285, allocations: 8 kB / 0.4932 GB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000622/0.1291, allocations: 330.3 kB / 0.4936 GB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.1319, allocations: 1.928 MB / 0.4954 GB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.1323, allocations: 218.9 kB / 0.4957 GB, free: 5.102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.1326, allocations: 133 kB / 0.4958 GB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.1326, allocations: 4.234 kB / 0.4958 GB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/0.1331, allocations: 248.1 kB / 0.496 GB, free: 4.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.1331, allocations: 0 / 0.496 GB, free: 4.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001115/0.1342, allocations: 0.5488 MB / 0.4966 GB, free: 4.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/0.1343, allocations: 114.8 kB / 0.4967 GB, free: 4.012 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006888/0.135, allocations: 0.5456 MB / 0.4972 GB, free: 3.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.78e-05/0.135, allocations: 37.69 kB / 0.4972 GB, free: 3.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.1353, allocations: 280.3 kB / 0.4975 GB, free: 3.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.1354, allocations: 123 kB / 0.4976 GB, free: 3.012 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.1355, allocations: 106.1 kB / 0.4977 GB, free: 2.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.1357, allocations: 374.8 kB / 0.4981 GB, free: 2.527 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.136, allocations: 140.9 kB / 0.4982 GB, free: 2.391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.1365, allocations: 325.4 kB / 0.4985 GB, free: 2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.1385, allocations: 0.9329 MB / 0.4994 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/0.1385, allocations: 15.94 kB / 0.4994 GB, free: 0.957 MB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001115/0.1396, allocations: 0.6483 MB / 0.5001 GB, free: 304 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/0.1396, allocations: 37.69 kB / 0.5001 GB, free: 260 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.1397, allocations: 4 kB / 0.5001 GB, free: 256 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.1397, allocations: 8 kB / 0.5001 GB, free: 248 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.1401, allocations: 111.8 kB / 0.5002 GB, free: 136 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.1401, allocations: 15.88 kB / 0.5003 GB, free: 120 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.1404, allocations: 59.61 kB / 0.5003 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.1404, allocations: 27.98 kB / 0.5003 GB, free: 32 kB / 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.0004475/0.1409, allocations: 268 kB / 0.5006 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.141, allocations: 59.62 kB / 0.5006 GB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009464/0.1419, allocations: 0.4923 MB / 0.5011 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.1419, allocations: 4 kB / 0.5011 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.1419, allocations: 3.984 kB / 0.5011 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1419, allocations: 0 / 0.5011 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005886/0.1425, allocations: 469.1 kB / 0.5016 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.1425, allocations: 0 / 0.5016 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.1429, allocations: 67.95 kB / 0.5016 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1429, allocations: 0 / 0.5016 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.143, allocations: 19.98 kB / 0.5017 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.143, allocations: 0 / 0.5017 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.143, allocations: 0 / 0.5017 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.1441, allocations: 0.6714 MB / 0.5023 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.1443, allocations: 128.7 kB / 0.5024 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.1443, allocations: 20 kB / 0.5025 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.1445, allocations: 15.97 kB / 0.5025 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.781e-05/0.1446, allocations: 24.08 kB / 0.5025 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/0.1446, allocations: 15.94 kB / 0.5025 GB, free: 13.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004635/0.1451, allocations: 378.8 kB / 0.5029 GB, free: 13.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1451, allocations: 0 / 0.5029 GB, free: 13.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005117/0.1456, allocations: 123.8 kB / 0.503 GB, free: 13.19 MB / 382.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 (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.001654/0.1473, allocations: 472.4 kB / 0.5034 GB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008428/0.1481, allocations: 451.9 kB / 0.5039 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1481, allocations: 4.25 kB / 0.5039 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000352/0.1485, allocations: 227.2 kB / 0.5041 GB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.1489, allocations: 86.06 kB / 0.5042 GB, free: 12.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.1507, allocations: 1.103 MB / 0.5053 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.1513, allocations: 0.882 MB / 0.5061 GB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.1514, allocations: 47.42 kB / 0.5062 GB, free: 10.01 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1514, allocations: 0 / 0.5062 GB, free: 10.01 MB / 382.1 MB Notification: Performance of Templates: time 0.01159/0.163, allocations: 6.891 MB / 0.5129 GB, free: 3.129 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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 480]