Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Tests.Switch2_test.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.00101/0.00101, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.00122/0.00122, allocations: 181 kB / 23.35 MB, free: 1.137 MB / 18.57 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.03/1.03, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.01772/0.01772, allocations: 4.096 MB / 264.4 MB, free: 8.91 MB / 250.7 MB " [Timeout remaining time 180] Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/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(DeltaRobot.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Switch2_test") translateModel(DeltaRobot.Tests.Switch2_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Tests.Switch2_test") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 282.1 MB, free: 7.152 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.51e-05, allocations: 2.312 kB / 282.1 MB, free: 7.148 MB / 266.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Switch2_test): time 0.003822/0.003847, allocations: 3.208 MB / 285.3 MB, free: 3.918 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004203/0.00805, allocations: 3.205 MB / 288.5 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003485/0.008399, allocations: 8 kB / 288.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007363/0.009135, allocations: 259 kB / 288.8 MB, free: 448 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1401/0.1492, allocations: 0.7826 MB / 289.6 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1496, allocations: 109.9 kB / 289.7 MB, free: 19.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.1508, allocations: 0.8756 MB / 290.6 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004253/0.1512, allocations: 275.9 kB / 290.8 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007527/0.152, allocations: 483 kB / 291.3 MB, free: 19.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005635/0.1525, allocations: 390.9 kB / 291.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.1527, allocations: 62.09 kB / 291.7 MB, free: 19.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.1543, allocations: 0.8684 MB / 292.6 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.1547, allocations: 373.8 kB / 293 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003822/0.155, allocations: 280 kB / 293.3 MB, free: 18.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002001/0.157, allocations: 1.274 MB / 294.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.157, allocations: 0 / 294.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.157, allocations: 0.5312 kB / 294.5 MB, free: 18.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.42e-05/0.1571, allocations: 0.9375 kB / 294.5 MB, free: 18.82 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002192/0.1593, allocations: 1.157 MB / 295.7 MB, free: 18.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1593, allocations: 9.938 kB / 295.7 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006016/0.1599, allocations: 164.8 kB / 295.9 MB, free: 18.18 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007694/0.1607, allocations: 0.5387 MB / 296.4 MB, free: 17.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.1609, allocations: 0.6424 MB / 297 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-05/0.161, allocations: 39.56 kB / 297.1 MB, free: 17.22 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.1617, allocations: 0.5147 MB / 297.6 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1617, allocations: 1.031 kB / 297.6 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.1617, allocations: 15.52 kB / 297.6 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1617, allocations: 8.188 kB / 297.6 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002972/0.162, allocations: 158.3 kB / 297.8 MB, free: 16.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.1632, allocations: 0.8524 MB / 298.6 MB, free: 16.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1633, allocations: 117.8 kB / 298.7 MB, free: 16.53 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.852e-05/0.1634, allocations: 63.28 kB / 298.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.1634, allocations: 1.812 kB / 298.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.1636, allocations: 154.4 kB / 299 MB, free: 16.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1636, allocations: 0 / 299 MB, free: 16.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003696/0.164, allocations: 208 kB / 299.2 MB, free: 16.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.164, allocations: 158.6 kB / 299.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005718/0.1646, allocations: 0.6573 MB / 300 MB, free: 16.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.1646, allocations: 29.48 kB / 300 MB, free: 16.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1648, allocations: 269.9 kB / 300.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.1648, allocations: 44.83 kB / 300.3 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.537e-05/0.1649, allocations: 37.73 kB / 300.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.383e-05/0.1649, allocations: 312.8 kB / 300.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.413e-05/0.165, allocations: 58.09 kB / 300.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.1651, allocations: 216 kB / 300.9 MB, free: 15.31 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.1653, allocations: 135.7 kB / 301 MB, free: 15.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.1653, allocations: 1.375 kB / 301 MB, free: 15.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002739/0.1656, allocations: 192.4 kB / 301.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1656, allocations: 9.375 kB / 301.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1656, allocations: 1.375 kB / 301.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1656, allocations: 5.312 kB / 301.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.1658, allocations: 60.31 kB / 301.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1658, allocations: 4.312 kB / 301.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.166, allocations: 50.39 kB / 301.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.1661, allocations: 4.125 kB / 301.4 MB, free: 15.19 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (switch2.count,$PRE.switch2.count,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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.0001206/0.1662, allocations: 125.8 kB / 301.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.288e-05/0.1662, allocations: 42.72 kB / 301.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.622e-05/0.1663, allocations: 59.22 kB / 301.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1663, allocations: 5.312 kB / 301.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1663, allocations: 1.375 kB / 301.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1663, allocations: 0 / 301.6 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.1666, allocations: 273.5 kB / 301.9 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1666, allocations: 4.094 kB / 301.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.1668, allocations: 49.48 kB / 301.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1668, allocations: 1.031 kB / 301.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1668, allocations: 8.359 kB / 301.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1668, allocations: 1.312 kB / 301.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1668, allocations: 0 / 301.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.1671, allocations: 199 kB / 302.1 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.1671, allocations: 54.42 kB / 302.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.1672, allocations: 2.156 kB / 302.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.1674, allocations: 45.86 kB / 302.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.1675, allocations: 73.08 kB / 302.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.1676, allocations: 10.62 kB / 302.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000288/0.1679, allocations: 317.4 kB / 302.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1679, allocations: 0 / 302.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008467/0.1687, allocations: 286.3 kB / 302.9 MB, free: 14.67 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,switch2.count) * Number of discrete states: 1 (switch2.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0005999/0.1693, allocations: 376.5 kB / 303.3 MB, free: 14.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.1696, allocations: 142.9 kB / 303.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.1696, allocations: 5.25 kB / 303.4 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1697, allocations: 90.08 kB / 303.5 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005136/0.1702, allocations: 259.3 kB / 303.7 MB, free: 14.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1718, allocations: 1.254 MB / 305 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.1719, allocations: 201 kB / 305.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.1721, allocations: 58.88 kB / 305.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.1726, allocations: 216.8 kB / 305.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of SimCode: time 1.213e-06/0.1726, allocations: 0 / 305.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of Templates: time 0.01762/0.1902, allocations: 16.44 MB / 321.9 MB, free: 13.52 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f DeltaRobot_DeltaRobot.Tests.Switch2_test.makefile [Timeout 660] (rm -f DeltaRobot_DeltaRobot.Tests.Switch2_test.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Switch2_test.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Switch2_test.pipe >> ../files/DeltaRobot_DeltaRobot.Tests.Switch2_test.sim & ./DeltaRobot_DeltaRobot.Tests.Switch2_test -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.Switch2_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0082255909219384]