Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.001317/0.001317, allocations: 78.25 kB / 19.76 MB, free: 2.031 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.001377/0.001377, allocations: 158.2 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.543/1.543, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.06191/0.06191, allocations: 8.616 MB / 268.4 MB, free: 8.527 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.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.002256/0.002256, allocations: 63.91 kB / 396.1 MB, free: 7.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1229, allocations: 56.06 MB / 452.1 MB, free: 15.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.004628/0.1275, allocations: 2.369 MB / 454.5 MB, free: 13.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.1309, allocations: 1.595 MB / 456.1 MB, free: 11.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.1312, allocations: 23.75 kB / 456.1 MB, free: 11.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007896/0.132, allocations: 228.7 kB / 456.3 MB, free: 11.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.1325, allocations: 211 kB / 456.5 MB, free: 11.32 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.1335, allocations: 438.4 kB / 457 MB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000881/0.1344, allocations: 0.6405 MB / 457.6 MB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.1346, allocations: 61.23 kB / 457.7 MB, free: 10.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003589/0.1349, allocations: 247 kB / 457.9 MB, free: 9.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003867/0.1353, allocations: 246.9 kB / 458.1 MB, free: 9.699 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.1354, allocations: 32 kB / 458.2 MB, free: 9.668 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.1357, allocations: 147.8 kB / 458.3 MB, free: 9.523 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.1359, allocations: 147.5 kB / 458.5 MB, free: 9.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002013/0.1361, allocations: 166.9 kB / 458.6 MB, free: 9.215 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007375/0.1368, allocations: 0.5601 MB / 459.2 MB, free: 8.652 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1368, allocations: 4 kB / 459.2 MB, free: 8.648 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.1368, allocations: 4 kB / 459.2 MB, free: 8.645 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.1368, allocations: 0 / 459.2 MB, free: 8.645 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00157/0.1384, allocations: 0.8358 MB / 460 MB, free: 7.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1385, allocations: 8.031 kB / 460 MB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.1386, allocations: 68.56 kB / 460.1 MB, free: 7.691 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006711/0.1392, allocations: 390.8 kB / 460.5 MB, free: 7.281 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-05/0.1393, allocations: 80.62 kB / 460.6 MB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.1394, allocations: 39.94 kB / 460.6 MB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007941/0.1402, allocations: 479 kB / 461.1 MB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.1402, allocations: 3.938 kB / 461.1 MB, free: 6.641 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.124e-05/0.1403, allocations: 16 kB / 461.1 MB, free: 6.625 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1403, allocations: 8 kB / 461.1 MB, free: 6.617 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005861/0.1409, allocations: 328 kB / 461.4 MB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002678/0.1435, allocations: 1.687 MB / 463.1 MB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.1441, allocations: 220 kB / 463.3 MB, free: 4.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.1443, allocations: 154.6 kB / 463.5 MB, free: 4.141 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1444, allocations: 0 / 463.5 MB, free: 4.141 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/0.1448, allocations: 259.3 kB / 463.7 MB, free: 3.863 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 1.884e-06/0.1448, allocations: 3.938 kB / 463.7 MB, free: 3.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.001079/0.1459, allocations: 0.5479 MB / 464.3 MB, free: 3.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.146, allocations: 81.11 kB / 464.4 MB, free: 3.191 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.1466, allocations: 0.5017 MB / 464.9 MB, free: 2.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.1466, allocations: 33.64 kB / 464.9 MB, free: 2.641 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.1469, allocations: 280.2 kB / 465.2 MB, free: 2.363 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.673e-05/0.147, allocations: 95.22 kB / 465.3 MB, free: 2.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.1471, allocations: 94.05 kB / 465.4 MB, free: 2.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002229/0.1473, allocations: 358.8 kB / 465.7 MB, free: 1.809 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.1476, allocations: 158.5 kB / 465.9 MB, free: 1.645 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.148, allocations: 333.3 kB / 466.2 MB, free: 1.246 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.1497, allocations: 0.8212 MB / 467 MB, free: 348 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1497, allocations: 3.938 kB / 467 MB, free: 344 kB / 430.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009982/0.1507, allocations: 0.5862 MB / 467.6 MB, free: 15.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.1508, allocations: 37.69 kB / 467.6 MB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1508, allocations: 4 kB / 467.6 MB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.1508, allocations: 8 kB / 467.6 MB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.1515, allocations: 104.3 kB / 467.7 MB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.1515, allocations: 8 kB / 467.8 MB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002437/0.1517, allocations: 55.7 kB / 467.8 MB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.1518, allocations: 19.94 kB / 467.8 MB, free: 15.49 MB / 446.1 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (51): * Single equations (assignments): 50 * 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.0003979/0.1521, allocations: 246.4 kB / 468.1 MB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.1522, allocations: 51.67 kB / 468.1 MB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009589/0.1532, allocations: 485.7 kB / 468.6 MB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1532, allocations: 4 kB / 468.6 MB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.1532, allocations: 0 / 468.6 MB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1532, allocations: 0 / 468.6 MB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.1537, allocations: 344.8 kB / 468.9 MB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1537, allocations: 0 / 468.9 MB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000628/0.1543, allocations: 71.95 kB / 469 MB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.1543, allocations: 0 / 469 MB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.1543, allocations: 19.92 kB / 469 MB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.1543, allocations: 3.938 kB / 469 MB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1543, allocations: 0 / 469 MB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.1555, allocations: 0.6734 MB / 469.7 MB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.172e-05/0.1556, allocations: 47.61 kB / 469.7 MB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.1557, allocations: 15.98 kB / 469.8 MB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.1558, allocations: 23.98 kB / 469.8 MB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/0.1559, allocations: 19.91 kB / 469.8 MB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.156, allocations: 12 kB / 469.8 MB, free: 13.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000424/0.1564, allocations: 346.8 kB / 470.2 MB, free: 13.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1564, allocations: 0 / 470.2 MB, free: 13.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004778/0.1569, allocations: 115.7 kB / 470.3 MB, free: 12.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],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 (25): * Single equations (assignments): 22 * 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.001798/0.1587, allocations: 491.9 kB / 470.8 MB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007888/0.1595, allocations: 462.4 kB / 471.2 MB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1595, allocations: 0 / 471.2 MB, free: 12.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.1598, allocations: 237 kB / 471.4 MB, free: 11.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.1602, allocations: 83.25 kB / 471.5 MB, free: 11.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.1618, allocations: 0.9333 MB / 472.4 MB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1622, allocations: 259.7 kB / 472.7 MB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.1624, allocations: 75.22 kB / 472.8 MB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.1625, allocations: 40.48 kB / 472.8 MB, free: 10.49 MB / 446.1 MB Notification: Performance of SimCode: time 6.32e-07/0.1625, allocations: 4 kB / 472.8 MB, free: 10.49 MB / 446.1 MB Notification: Performance of Templates: time 0.012/0.1745, allocations: 4.755 MB / 477.6 MB, free: 5.781 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.042888029944152] Failed to read output from testmodel.py, exit status != 0: 0.18445962097030133 0.40056925299999996 0.26060198100000004 Calling exit ...