Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.001768/0.001768, allocations: 79.73 kB / 19.76 MB, free: 1.875 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.00262/0.00262, allocations: 156.2 kB / 23.01 MB, free: 4.598 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.625/1.625, 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.06207/0.06207, allocations: 8.618 MB / 268.4 MB, free: 8.535 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.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") [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.002055/0.002055, allocations: 64.09 kB / 396.1 MB, free: 7.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1236, allocations: 56.05 MB / 452.1 MB, free: 15.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.003321/0.1269, allocations: 1.739 MB / 453.9 MB, free: 14.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1281, allocations: 0.5806 MB / 454.4 MB, free: 13.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.1282, allocations: 11.94 kB / 454.4 MB, free: 13.43 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.1283, allocations: 23.73 kB / 454.5 MB, free: 13.4 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.332e-05/0.1284, allocations: 35.66 kB / 454.5 MB, free: 13.37 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.1287, allocations: 87.81 kB / 454.6 MB, free: 13.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.129, allocations: 207.3 kB / 454.8 MB, free: 13.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1292, allocations: 29.78 kB / 454.8 MB, free: 13.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1293, allocations: 79.77 kB / 454.9 MB, free: 12.97 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.1294, allocations: 83.53 kB / 455 MB, free: 12.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.069e-05/0.1295, allocations: 16 kB / 455 MB, free: 12.87 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.297e-05/0.1295, allocations: 16 kB / 455 MB, free: 12.86 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.1296, allocations: 39.83 kB / 455.1 MB, free: 12.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.65e-05/0.1297, allocations: 67.66 kB / 455.1 MB, free: 12.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.1299, allocations: 175.2 kB / 455.3 MB, free: 12.58 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1299, allocations: 0 / 455.3 MB, free: 12.58 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1299, allocations: 0 / 455.3 MB, free: 12.58 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.1299, allocations: 0 / 455.3 MB, free: 12.58 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001149/0.1311, allocations: 0.5085 MB / 455.8 MB, free: 12.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1311, allocations: 12.03 kB / 455.8 MB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.784e-05/0.1312, allocations: 20.8 kB / 455.8 MB, free: 12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.1316, allocations: 198.7 kB / 456 MB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.089e-05/0.1317, allocations: 63.97 kB / 456.1 MB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.1317, allocations: 16.33 kB / 456.1 MB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005397/0.1323, allocations: 196.2 kB / 456.3 MB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1323, allocations: 0 / 456.3 MB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.1323, allocations: 8 kB / 456.3 MB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1323, allocations: 4 kB / 456.3 MB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006315/0.1329, allocations: 147.8 kB / 456.5 MB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.134, allocations: 0.5511 MB / 457 MB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.1347, allocations: 154.4 kB / 457.2 MB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.135, allocations: 80.78 kB / 457.2 MB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.135, allocations: 3.938 kB / 457.2 MB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004979/0.1355, allocations: 159.4 kB / 457.4 MB, free: 10.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 2.325e-06/0.1355, allocations: 3.938 kB / 457.4 MB, free: 10.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.001128/0.1367, allocations: 304.6 kB / 457.7 MB, free: 10.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.1367, allocations: 59.39 kB / 457.8 MB, free: 9.945 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.137, allocations: 199.8 kB / 457.9 MB, free: 9.734 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.137, allocations: 33.7 kB / 458 MB, free: 9.695 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1371, allocations: 136.2 kB / 458.1 MB, free: 9.555 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.1371, allocations: 39.67 kB / 458.2 MB, free: 9.516 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.833e-05/0.1372, allocations: 57.89 kB / 458.2 MB, free: 9.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002137/0.1374, allocations: 326.8 kB / 458.5 MB, free: 9.125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000391/0.1378, allocations: 159.1 kB / 458.7 MB, free: 8.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.1382, allocations: 197.2 kB / 458.9 MB, free: 8.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.1389, allocations: 267.6 kB / 459.1 MB, free: 8.438 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1389, allocations: 4 kB / 459.1 MB, free: 8.434 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009221/0.1399, allocations: 396.1 kB / 459.5 MB, free: 8.016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.1399, allocations: 67.33 kB / 459.6 MB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.1399, allocations: 12.12 kB / 459.6 MB, free: 7.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.14, allocations: 4 kB / 459.6 MB, free: 7.922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.1404, allocations: 51.95 kB / 459.7 MB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.1404, allocations: 4 kB / 459.7 MB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.1407, allocations: 43.84 kB / 459.7 MB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.1407, allocations: 11.98 kB / 459.7 MB, free: 7.812 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001708/0.1409, allocations: 141.8 kB / 459.9 MB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.1409, allocations: 23.8 kB / 459.9 MB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/0.141, allocations: 17.47 kB / 459.9 MB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.141, allocations: 3.984 kB / 459.9 MB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.141, allocations: 0 / 459.9 MB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.141, allocations: 0 / 459.9 MB, free: 7.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.1412, allocations: 173.2 kB / 460.1 MB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1412, allocations: 0 / 460.1 MB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.1416, allocations: 51.89 kB / 460.1 MB, free: 7.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1416, allocations: 4 kB / 460.1 MB, free: 7.371 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1417, allocations: 7.922 kB / 460.1 MB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1417, allocations: 0 / 460.1 MB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1417, allocations: 0 / 460.1 MB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.143, allocations: 344.8 kB / 460.5 MB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.143, allocations: 15.88 kB / 460.5 MB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.1431, allocations: 11.92 kB / 460.5 MB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.1433, allocations: 31.95 kB / 460.5 MB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/0.1434, allocations: 23.95 kB / 460.6 MB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.1434, allocations: 16 kB / 460.6 MB, free: 6.91 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.1436, allocations: 145.5 kB / 460.7 MB, free: 6.77 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1436, allocations: 0 / 460.7 MB, free: 6.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1438, allocations: 35.94 kB / 460.7 MB, free: 6.734 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001605/0.144, allocations: 107.2 kB / 460.8 MB, free: 6.617 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008901/0.1449, allocations: 372.6 kB / 461.2 MB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1449, allocations: 0 / 461.2 MB, free: 6.219 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.1452, allocations: 91.84 kB / 461.3 MB, free: 6.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.1455, allocations: 32.36 kB / 461.3 MB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008199/0.1464, allocations: 332.2 kB / 461.7 MB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001317/0.1465, allocations: 116.2 kB / 461.8 MB, free: 5.613 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.253e-05/0.1466, allocations: 13.48 kB / 461.8 MB, free: 5.602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.191e-05/0.1467, allocations: 20.5 kB / 461.8 MB, free: 5.582 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1467, allocations: 4 kB / 461.8 MB, free: 5.578 MB / 430.1 MB Notification: Performance of Templates: time 0.006692/0.1533, allocations: 2.622 MB / 464.4 MB, free: 3 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.751574321067892] Failed to read output from testmodel.py, exit status != 0: 0.16210835496895015 0.177206955 0.044174879 Calling exit ...