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.0006918/0.0006918, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.00174, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.00103/0.00103, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002358, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9815/0.9815, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1028/1.084, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.02733/0.02733, allocations: 4.085 MB / 248.1 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005415/0.03275, allocations: 1.613 MB / 249.7 MB, free: 9.238 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 2.264e-06/2.264e-06, allocations: 0 / 251 MB, free: 7.895 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.879e-05, allocations: 10.31 kB / 251 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Switch2_test): time 0.004837/0.004866, allocations: 3.196 MB / 254.2 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003308/0.008173, allocations: 3.221 MB / 257.4 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.008397, allocations: 11.94 kB / 257.4 MB, free: 1.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005852/0.008982, allocations: 255.1 kB / 257.7 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.01054, allocations: 0.7939 MB / 258.5 MB, free: 388 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.01076, allocations: 107.8 kB / 258.6 MB, free: 280 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009278/0.01169, allocations: 0.8716 MB / 259.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.01206, allocations: 274.7 kB / 259.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000765/0.01282, allocations: 0.6087 MB / 260.3 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004139/0.01324, allocations: 383 kB / 260.7 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.658e-05/0.01332, allocations: 64 kB / 260.8 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/0.01464, allocations: 0.8695 MB / 261.6 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002482/0.01489, allocations: 331.2 kB / 262 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.01511, allocations: 223.5 kB / 262.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.01639, allocations: 1.102 MB / 263.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.362e-05/0.0164, allocations: 3.984 kB / 263.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.0164, allocations: 0 / 263.3 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.01643, allocations: 3.938 kB / 263.3 MB, free: 11.54 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.001373/0.0178, allocations: 1.343 MB / 264.6 MB, free: 10.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.01783, allocations: 11.98 kB / 264.6 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005064/0.01834, allocations: 257.4 kB / 264.9 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006243/0.01896, allocations: 0.5361 MB / 265.4 MB, free: 9.312 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/0.01928, allocations: 0.643 MB / 266.1 MB, free: 8.535 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.01933, allocations: 36 kB / 266.1 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006017/0.01994, allocations: 0.5187 MB / 266.6 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.01995, allocations: 0 / 266.6 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.01998, allocations: 16 kB / 266.6 MB, free: 7.914 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.01999, allocations: 8 kB / 266.7 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.02023, allocations: 159.3 kB / 266.8 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.02137, allocations: 0.8549 MB / 267.7 MB, free: 6.867 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.02152, allocations: 110.4 kB / 267.8 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.214e-05/0.0216, allocations: 64.84 kB / 267.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.02163, allocations: 0 / 267.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.02185, allocations: 150.6 kB / 268 MB, free: 6.523 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.334e-06/0.02185, allocations: 0 / 268 MB, free: 6.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003983/0.02225, allocations: 209.5 kB / 268.2 MB, free: 6.316 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.0223, allocations: 55.41 kB / 268.2 MB, free: 6.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.02283, allocations: 0.6539 MB / 268.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.02286, allocations: 37.64 kB / 268.9 MB, free: 5.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.02314, allocations: 262.1 kB / 269.2 MB, free: 5.281 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.02318, allocations: 47.64 kB / 269.2 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.02325, allocations: 37.69 kB / 269.3 MB, free: 5.191 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.02333, allocations: 318 kB / 269.6 MB, free: 4.875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.02342, allocations: 50.83 kB / 269.6 MB, free: 4.824 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.02356, allocations: 221.5 kB / 269.8 MB, free: 4.559 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.02371, allocations: 129.6 kB / 270 MB, free: 4.414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.02371, allocations: 3.938 kB / 270 MB, free: 4.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002492/0.02396, allocations: 200.8 kB / 270.2 MB, free: 4.203 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.02398, allocations: 4 kB / 270.2 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.02398, allocations: 0 / 270.2 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.02399, allocations: 4 kB / 270.2 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.0242, allocations: 67.89 kB / 270.3 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.0242, allocations: 0 / 270.3 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.02443, allocations: 51.88 kB / 270.3 MB, free: 4.078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.02446, allocations: 8 kB / 270.3 MB, free: 4.07 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.000138/0.0246, allocations: 128.5 kB / 270.4 MB, free: 3.934 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.72e-05/0.02465, allocations: 35.95 kB / 270.5 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.796e-05/0.02472, allocations: 65.8 kB / 270.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.02472, allocations: 0 / 270.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.02473, allocations: 0 / 270.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.02473, allocations: 0 / 270.5 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.02501, allocations: 277.5 kB / 270.8 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.02501, allocations: 0 / 270.8 MB, free: 3.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.02517, allocations: 59.95 kB / 270.9 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.212e-05/0.02522, allocations: 59.45 kB / 270.9 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.02523, allocations: 4 kB / 270.9 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.02524, allocations: 3.984 kB / 270.9 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.02524, allocations: 0 / 270.9 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02524, allocations: 0 / 270.9 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.02549, allocations: 198 kB / 271.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.02555, allocations: 7.984 kB / 271.1 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.02573, allocations: 35.97 kB / 271.2 MB, free: 3.16 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.02585, allocations: 74.77 kB / 271.2 MB, free: 3.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.02588, allocations: 7.984 kB / 271.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000239/0.02612, allocations: 304.5 kB / 271.5 MB, free: 2.781 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02612, allocations: 4 kB / 271.5 MB, free: 2.777 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005957/0.02671, allocations: 291.2 kB / 271.8 MB, free: 2.492 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.0006298/0.02734, allocations: 375.6 kB / 272.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.02759, allocations: 144.8 kB / 272.3 MB, free: 1.973 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.02759, allocations: 8 kB / 272.3 MB, free: 1.965 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.02771, allocations: 91.59 kB / 272.4 MB, free: 1.871 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.02849, allocations: 310.5 kB / 272.7 MB, free: 1.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006225/0.03472, allocations: 1.28 MB / 274 MB, free: 260 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.03484, allocations: 205.1 kB / 274.2 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.1036/0.1384, allocations: 59.92 kB / 274.3 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.1389, allocations: 208.6 kB / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of SimCode: time 1.743e-06/0.1389, allocations: 0 / 274.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Templates: time 0.02266/0.1616, allocations: 17.21 MB / 291.7 MB, free: 9.637 MB / 266.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 -lv LOG_STATS > DeltaRobot_DeltaRobot.Tests.Switch2_test.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.09599978197366]