Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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.001332/0.001332, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001581/0.001581, allocations: 218.6 kB / 23 MB, free: 4.914 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.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.06365/0.06365, allocations: 11.35 MB / 324.5 MB, free: 8.031 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.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") [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.002165/0.002165, allocations: 75.89 kB / 452.2 MB, free: 9.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1307, allocations: 56.07 MB / 0.4964 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003743/0.1344, allocations: 1.808 MB / 0.4982 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1359, allocations: 0.7057 MB / 0.4988 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.136, allocations: 11.88 kB / 0.4989 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.1362, allocations: 23.67 kB / 0.4989 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.1363, allocations: 47.55 kB / 0.4989 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.1367, allocations: 139.7 kB / 0.4991 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.1371, allocations: 287.3 kB / 0.4993 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.1373, allocations: 41.14 kB / 0.4994 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.1374, allocations: 127.5 kB / 0.4995 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.1376, allocations: 107.4 kB / 0.4996 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.779e-05/0.1377, allocations: 24 kB / 0.4996 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.351e-05/0.1377, allocations: 23.94 kB / 0.4996 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.1378, allocations: 59.81 kB / 0.4997 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1379, allocations: 83.52 kB / 0.4998 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.1382, allocations: 234.9 kB / 0.5 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1382, allocations: 0 / 0.5 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1382, allocations: 0 / 0.5 GB, free: 13.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1382, allocations: 3.938 kB / 0.5 GB, free: 13.93 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001237/0.1395, allocations: 0.5379 MB / 0.5005 GB, free: 13.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.1395, allocations: 12.03 kB / 0.5005 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.909e-05/0.1396, allocations: 32.75 kB / 0.5006 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.1401, allocations: 252.9 kB / 0.5008 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.1403, allocations: 105.3 kB / 0.5009 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.1403, allocations: 16 kB / 0.5009 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/0.1409, allocations: 212.5 kB / 0.5011 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.1409, allocations: 7.984 kB / 0.5011 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.1409, allocations: 4 kB / 0.5011 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1409, allocations: 4 kB / 0.5011 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.1415, allocations: 160.7 kB / 0.5013 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.143, allocations: 0.6095 MB / 0.5019 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/0.1435, allocations: 162.5 kB / 0.502 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/0.1438, allocations: 96.78 kB / 0.5021 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/0.1439, allocations: 4 kB / 0.5021 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004584/0.1443, allocations: 163.2 kB / 0.5023 GB, free: 11.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.1443, allocations: 4 kB / 0.5023 GB, free: 11.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001071/0.1454, allocations: 333.2 kB / 0.5026 GB, free: 11.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.1454, allocations: 55.41 kB / 0.5027 GB, free: 11.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.1457, allocations: 225.1 kB / 0.5029 GB, free: 10.8 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.1458, allocations: 33.64 kB / 0.5029 GB, free: 10.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.1459, allocations: 156.3 kB / 0.5031 GB, free: 10.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/0.1459, allocations: 55.61 kB / 0.5031 GB, free: 10.55 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.146, allocations: 49.66 kB / 0.5032 GB, free: 10.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1462, allocations: 342.8 kB / 0.5035 GB, free: 10.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.1466, allocations: 117.6 kB / 0.5036 GB, free: 10.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.1469, allocations: 155.4 kB / 0.5038 GB, free: 9.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/0.1475, allocations: 241 kB / 0.504 GB, free: 9.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1475, allocations: 0 / 0.504 GB, free: 9.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008081/0.1483, allocations: 342.2 kB / 0.5043 GB, free: 9.262 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.1484, allocations: 33.7 kB / 0.5043 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1484, allocations: 4 kB / 0.5043 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1484, allocations: 0 / 0.5043 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.1499, allocations: 123.9 kB / 0.5045 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003329/0.1532, allocations: 2.641 MB / 0.507 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.1536, allocations: 35.89 kB / 0.5071 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.1536, allocations: 12 kB / 0.5071 GB, free: 6.199 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,LL.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): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.1538, allocations: 138 kB / 0.5072 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.1539, allocations: 27.8 kB / 0.5072 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008202/0.1547, allocations: 275.5 kB / 0.5075 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1547, allocations: 4 kB / 0.5075 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.1547, allocations: 0 / 0.5075 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1547, allocations: 4 kB / 0.5075 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.1559, allocations: 0.5486 MB / 0.5081 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1559, allocations: 0 / 0.5081 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.1573, allocations: 103.9 kB / 0.5082 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/0.1573, allocations: 7.938 kB / 0.5082 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.1573, allocations: 7.984 kB / 0.5082 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1573, allocations: 0 / 0.5082 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1573, allocations: 0 / 0.5082 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.1585, allocations: 469.4 kB / 0.5086 GB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.1586, allocations: 27.8 kB / 0.5086 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.1586, allocations: 4.031 kB / 0.5086 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.1589, allocations: 31.97 kB / 0.5087 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.159, allocations: 23.95 kB / 0.5087 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.159, allocations: 8 kB / 0.5087 GB, free: 4.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001768/0.1592, allocations: 160.5 kB / 0.5089 GB, free: 4.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1592, allocations: 0 / 0.5089 GB, free: 4.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003393/0.1595, allocations: 39.95 kB / 0.5089 GB, free: 4.273 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000161/0.1597, allocations: 115.1 kB / 0.509 GB, free: 4.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.1608, allocations: 323.1 kB / 0.5093 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1608, allocations: 0 / 0.5093 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.1612, allocations: 107.9 kB / 0.5094 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1615, allocations: 38.61 kB / 0.5095 GB, free: 3.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1628, allocations: 489.6 kB / 0.5099 GB, free: 3.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.1629, allocations: 142.2 kB / 0.5101 GB, free: 3.016 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.961e-05/0.163, allocations: 19.44 kB / 0.5101 GB, free: 2.996 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.163, allocations: 0 / 0.5101 GB, free: 2.996 MB / 382.1 MB Notification: Performance of Templates: time 0.2524/0.4154, allocations: 3.897 MB / 0.5139 GB, free: 23.27 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.502935462165624] Failed to read output from testmodel.py, exit status != 0: 0.4255970069207251 0.437253074 0.296310463 Calling exit ...