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.001045/0.001045, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002164/0.003209, allocations: 455.9 kB / 10.43 MB, free: 260 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.001087/0.001087, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001571/0.002658, allocations: 475.6 kB / 11.8 MB, free: 2.363 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.9566/0.9566, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08664/1.043, allocations: 53.66 MB / 243.4 MB, free: 15.49 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.02505/0.02505, allocations: 4.085 MB / 248.2 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004126/0.02918, allocations: 1.614 MB / 249.9 MB, free: 9.125 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.753e-06/1.753e-06, allocations: 0 / 251.2 MB, free: 7.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.983e-05, allocations: 2.312 kB / 251.2 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Tests.Switch2_test): time 0.0046/0.00462, allocations: 3.22 MB / 254.4 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004381/0.009, allocations: 3.214 MB / 257.7 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002053/0.009206, allocations: 11.94 kB / 257.7 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005654/0.009771, allocations: 255.1 kB / 257.9 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.01125, allocations: 0.7977 MB / 258.7 MB, free: 228 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.01144, allocations: 107.9 kB / 258.8 MB, free: 120 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009768/0.01242, allocations: 0.8673 MB / 259.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.01276, allocations: 282.7 kB / 260 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008946/0.01366, allocations: 0.6087 MB / 260.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005328/0.01419, allocations: 391 kB / 260.9 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.0143, allocations: 64 kB / 261 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.01575, allocations: 0.8851 MB / 261.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.016, allocations: 327.2 kB / 262.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.01621, allocations: 223.5 kB / 262.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.01738, allocations: 1.106 MB / 263.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.288e-05/0.01739, allocations: 0 / 263.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.0174, allocations: 0 / 263.5 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.01742, allocations: 4 kB / 263.5 MB, free: 11.36 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.00148/0.0189, allocations: 1.339 MB / 264.9 MB, free: 9.984 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.01893, allocations: 19.98 kB / 264.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005354/0.01947, allocations: 237.4 kB / 265.1 MB, free: 9.715 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.02003, allocations: 0.5439 MB / 265.7 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004011/0.02043, allocations: 0.643 MB / 266.3 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.02048, allocations: 39.98 kB / 266.4 MB, free: 8.324 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.02099, allocations: 0.5148 MB / 266.9 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.021, allocations: 0 / 266.9 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.02103, allocations: 12 kB / 266.9 MB, free: 7.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.02104, allocations: 8 kB / 266.9 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.02129, allocations: 167.3 kB / 267.1 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.02234, allocations: 0.847 MB / 267.9 MB, free: 6.703 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.02249, allocations: 122.5 kB / 268 MB, free: 6.574 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.02257, allocations: 56.92 kB / 268.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.02261, allocations: 4 kB / 268.1 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.02283, allocations: 154.3 kB / 268.2 MB, free: 6.348 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.395e-06/0.02283, allocations: 3.938 kB / 268.2 MB, free: 6.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003744/0.0232, allocations: 205.5 kB / 268.4 MB, free: 6.137 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.02325, allocations: 55.41 kB / 268.5 MB, free: 6.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005285/0.02378, allocations: 0.6578 MB / 269.2 MB, free: 5.398 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.02381, allocations: 29.7 kB / 269.2 MB, free: 5.363 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.02395, allocations: 266.1 kB / 269.4 MB, free: 5.102 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.257e-05/0.02401, allocations: 39.64 kB / 269.5 MB, free: 5.062 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.967e-05/0.02409, allocations: 37.69 kB / 269.5 MB, free: 5.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.02419, allocations: 318 kB / 269.8 MB, free: 4.703 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.02429, allocations: 58.81 kB / 269.9 MB, free: 4.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.02446, allocations: 212.5 kB / 270.1 MB, free: 4.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.02464, allocations: 137.4 kB / 270.2 MB, free: 4.238 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.02465, allocations: 3.938 kB / 270.2 MB, free: 4.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002956/0.02494, allocations: 204.4 kB / 270.4 MB, free: 4.027 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.02497, allocations: 4 kB / 270.4 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.02498, allocations: 0 / 270.4 MB, free: 4.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.02499, allocations: 4 kB / 270.4 MB, free: 4.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.02522, allocations: 59.94 kB / 270.5 MB, free: 3.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.02523, allocations: 8 kB / 270.5 MB, free: 3.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.02546, allocations: 51.95 kB / 270.6 MB, free: 3.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.02549, allocations: 8.031 kB / 270.6 MB, free: 3.895 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.0001284/0.02561, allocations: 132.5 kB / 270.7 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.02567, allocations: 43.95 kB / 270.7 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.379e-05/0.02575, allocations: 57.81 kB / 270.8 MB, free: 3.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.02575, allocations: 4 kB / 270.8 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.02575, allocations: 0 / 270.8 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.02576, allocations: 7.984 kB / 270.8 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.02607, allocations: 265.6 kB / 271.1 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02608, allocations: 0 / 271.1 MB, free: 3.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.02624, allocations: 55.95 kB / 271.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.0263, allocations: 63.44 kB / 271.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.0263, allocations: 0 / 271.2 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.02632, allocations: 4 kB / 271.2 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.02632, allocations: 0 / 271.2 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.02633, allocations: 3.938 kB / 271.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.0266, allocations: 198.6 kB / 271.4 MB, free: 3.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.37e-05/0.02666, allocations: 7.938 kB / 271.4 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.02686, allocations: 39.95 kB / 271.4 MB, free: 2.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.02698, allocations: 70.78 kB / 271.5 MB, free: 2.902 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.02702, allocations: 11.98 kB / 271.5 MB, free: 2.891 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002546/0.02727, allocations: 308.5 kB / 271.8 MB, free: 2.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02727, allocations: 0 / 271.8 MB, free: 2.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005436/0.02781, allocations: 287.2 kB / 272.1 MB, free: 2.309 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.000596/0.02841, allocations: 379.6 kB / 272.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003283/0.02874, allocations: 171.9 kB / 272.6 MB, free: 1.762 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.02875, allocations: 11.98 kB / 272.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.02902, allocations: 225.5 kB / 272.9 MB, free: 1.523 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.03023, allocations: 2.377 MB / 275.2 MB, free: 14.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006421/0.03665, allocations: 1.261 MB / 276.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.03677, allocations: 201.1 kB / 276.7 MB, free: 13.15 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.03701, allocations: 67.28 kB / 276.8 MB, free: 13.08 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.03743, allocations: 209.1 kB / 277 MB, free: 12.87 MB / 282.7 MB Notification: Performance of SimCode: time 1.412e-06/0.03743, allocations: 4 kB / 277 MB, free: 12.87 MB / 282.7 MB Notification: Performance of Templates: time 0.1156/0.153, allocations: 17.2 MB / 294.2 MB, free: 27.42 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 & (cd run_cvode && ../DeltaRobot_DeltaRobot.Tests.Switch2_test -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > DeltaRobot_DeltaRobot.Tests.Switch2_test.pipe 2>&1) [Timeout 240] (rm -f DeltaRobot_DeltaRobot.Tests.Switch2_test_dassl.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Switch2_test_dassl.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Switch2_test_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/DeltaRobot_DeltaRobot.Tests.Switch2_test_dassl.sim & (cd run_dassl && ../DeltaRobot_DeltaRobot.Tests.Switch2_test -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > DeltaRobot_DeltaRobot.Tests.Switch2_test_dassl.pipe 2>&1) [Timeout 240] (rm -f DeltaRobot_DeltaRobot.Tests.Switch2_test_gbode.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Switch2_test_gbode.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Switch2_test_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/DeltaRobot_DeltaRobot.Tests.Switch2_test_gbode.sim & (cd run_gbode && ../DeltaRobot_DeltaRobot.Tests.Switch2_test -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > DeltaRobot_DeltaRobot.Tests.Switch2_test_gbode.pipe 2>&1) [Timeout 240] (rm -f DeltaRobot_DeltaRobot.Tests.Switch2_test_ida.pipe ; mkfifo DeltaRobot_DeltaRobot.Tests.Switch2_test_ida.pipe ; head -c 1048576 < DeltaRobot_DeltaRobot.Tests.Switch2_test_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/DeltaRobot_DeltaRobot.Tests.Switch2_test_ida.sim & (cd run_ida && ../DeltaRobot_DeltaRobot.Tests.Switch2_test -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > DeltaRobot_DeltaRobot.Tests.Switch2_test_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0511133056133986]