Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CounterSpin.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.00119/0.00119, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002354/0.003544, 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.001281/0.001281, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001836/0.003118, 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 1.002/1.002, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09155/1.094, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.02877/0.02877, allocations: 7.18 MB / 251.3 MB, free: 7.77 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005936/0.03471, allocations: 2.561 MB / 253.9 MB, free: 5.203 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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(PlanarMechanics.Examples.CounterSpin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CounterSpin") translateModel(PlanarMechanics.Examples.CounterSpin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CounterSpin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 255.2 MB, free: 3.918 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.435e-05, allocations: 2.312 kB / 255.2 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.007519/0.007543, allocations: 6.702 MB / 261.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004948/0.01249, allocations: 2.46 MB / 264.3 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008993/0.01339, allocations: 31.88 kB / 264.4 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007513/0.01414, allocations: 338 kB / 264.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002639/0.01678, allocations: 1.221 MB / 265.9 MB, free: 9.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.01695, allocations: 67.84 kB / 266 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.0188, allocations: 2.102 MB / 268.1 MB, free: 6.945 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.01901, allocations: 83.44 kB / 268.2 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.02002, allocations: 1.148 MB / 269.3 MB, free: 5.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009783/0.021, allocations: 1.091 MB / 270.4 MB, free: 4.598 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.02121, allocations: 188 kB / 270.6 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009372/0.02214, allocations: 0.745 MB / 271.3 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005896/0.02273, allocations: 0.9661 MB / 272.3 MB, free: 2.699 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000478/0.02321, allocations: 0.5528 MB / 272.8 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1146/0.1378, allocations: 2.656 MB / 275.5 MB, free: 5.129 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.11e-05/0.1378, allocations: 1.344 kB / 275.5 MB, free: 5.129 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1378, allocations: 0 / 275.5 MB, free: 5.129 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001429/0.138, allocations: 0 / 275.5 MB, free: 5.129 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: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.005585/0.1436, allocations: 3.462 MB / 279 MB, free: 3.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.1436, allocations: 10.48 kB / 279 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.1466, allocations: 0.9223 MB / 279.9 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.1481, allocations: 0.8526 MB / 280.8 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.313e-05/0.1482, allocations: 112.2 kB / 280.9 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.1484, allocations: 152.6 kB / 281 MB, free: 3.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004329/0.1528, allocations: 2.875 MB / 283.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.629e-05/0.1528, allocations: 23.97 kB / 283.9 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/0.153, allocations: 78.28 kB / 284 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001617/0.1546, allocations: 1.452 MB / 285.4 MB, free: 2.691 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003959/0.1586, allocations: 1.651 MB / 287.1 MB, free: 2.598 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/0.1725, allocations: 15.02 MB / 302.1 MB, free: 8.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.1742, allocations: 0.7614 MB / 302.9 MB, free: 8.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.1744, allocations: 150.7 kB / 303 MB, free: 8.203 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002049/0.1765, allocations: 1.571 MB / 304.6 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1765, allocations: 44.53 kB / 304.6 MB, free: 7.223 MB / 282.7 MB Notification: Performance of pre-optimization done (n=98): time 2.715e-06/0.1765, allocations: 0 / 304.6 MB, free: 7.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=98): time 0.001541/0.1781, allocations: 0.8067 MB / 305.4 MB, free: 6.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.1781, allocations: 60.06 kB / 305.5 MB, free: 6.355 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.1791, allocations: 1.367 MB / 306.9 MB, free: 5.242 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.1792, allocations: 37.7 kB / 306.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007428/0.1799, allocations: 1.868 MB / 308.8 MB, free: 3.402 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.1801, allocations: 401.4 kB / 309.2 MB, free: 3.031 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004761/0.1806, allocations: 0.6175 MB / 309.8 MB, free: 2.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.1807, allocations: 344.9 kB / 310.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000407/0.1811, allocations: 327.7 kB / 310.4 MB, free: 1.824 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.1822, allocations: 2.155 MB / 312.6 MB, free: 14.85 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002249/0.1845, allocations: 3.128 MB / 315.7 MB, free: 11.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-05/0.1845, allocations: 23.94 kB / 315.7 MB, free: 11.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.002293/0.1868, allocations: 2.12 MB / 317.9 MB, free: 8.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.1868, allocations: 32 kB / 317.9 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-05/0.1869, allocations: 76 kB / 318 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.959e-05/0.187, allocations: 88 kB / 318.1 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.1884, allocations: 0.7955 MB / 318.8 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.261e-05/0.1884, allocations: 131.5 kB / 319 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.1896, allocations: 424.8 kB / 319.4 MB, free: 7.391 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/0.1898, allocations: 170.3 kB / 319.6 MB, free: 7.227 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 3 (body.sphereColor[1],body.sphereColor[2],body.sphereColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (395): * Single equations (assignments): 391 * Array equations: 4 * 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.0007553/0.1906, allocations: 366.9 kB / 319.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.1907, allocations: 106.4 kB / 320 MB, free: 6.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006405/0.1914, allocations: 478.2 kB / 320.5 MB, free: 6.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-05/0.1914, allocations: 8 kB / 320.5 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1914, allocations: 7.984 kB / 320.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.1914, allocations: 3.938 kB / 320.5 MB, free: 6.258 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002787/0.1942, allocations: 1.956 MB / 322.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.1942, allocations: 12 kB / 322.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.1946, allocations: 150.6 kB / 322.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.1948, allocations: 152 kB / 322.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.1948, allocations: 8.562 kB / 322.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.1949, allocations: 27.23 kB / 322.8 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/0.1949, allocations: 11.94 kB / 322.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.1949, allocations: 7.938 kB / 322.8 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007788/0.1957, allocations: 0.7966 MB / 323.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.1958, allocations: 16 kB / 323.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.196, allocations: 16 kB / 323.7 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.1961, allocations: 61.38 kB / 323.7 MB, free: 3.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.1961, allocations: 24.61 kB / 323.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004581/0.1966, allocations: 0.5274 MB / 324.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1966, allocations: 0 / 324.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001719/0.1983, allocations: 0.7354 MB / 325 MB, free: 1.891 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (body.v[1],body.w,slipBasedRolling.frame_a.x,slipBasedRolling.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 70 * Array equations: 4 * 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 Backend phase and start with SimCode phase: time 0.0002703/0.1986, allocations: 146.3 kB / 325.1 MB, free: 1.738 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.2005, allocations: 1.227 MB / 326.4 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.841e-05/0.2006, allocations: 53.16 kB / 326.4 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.201, allocations: 256.6 kB / 326.7 MB, free: 356 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.2022, allocations: 1.586 MB / 328.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007289/0.2095, allocations: 4.622 MB / 332.9 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.2101, allocations: 0.7615 MB / 333.6 MB, free: 9.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000684/0.2108, allocations: 235.5 kB / 333.9 MB, free: 8.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004934/0.2113, allocations: 293.3 kB / 334.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of SimCode: time 1.273e-06/0.2113, allocations: 0 / 334.2 MB, free: 8.551 MB / 314.7 MB Notification: Performance of Templates: time 0.02594/0.2372, allocations: 13.79 MB / 347.9 MB, free: 10.92 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CounterSpin.sim & (cd run_cvode && ../PlanarMechanics_PlanarMechanics.Examples.CounterSpin -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe 2>&1) [Timeout 240] (rm -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin_dassl.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CounterSpin_dassl.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CounterSpin_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PlanarMechanics_PlanarMechanics.Examples.CounterSpin_dassl.sim & (cd run_dassl && ../PlanarMechanics_PlanarMechanics.Examples.CounterSpin -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > PlanarMechanics_PlanarMechanics.Examples.CounterSpin_dassl.pipe 2>&1) [Timeout 240] (rm -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin_gbode.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CounterSpin_gbode.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CounterSpin_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PlanarMechanics_PlanarMechanics.Examples.CounterSpin_gbode.sim & (cd run_gbode && ../PlanarMechanics_PlanarMechanics.Examples.CounterSpin -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > PlanarMechanics_PlanarMechanics.Examples.CounterSpin_gbode.pipe 2>&1) [Timeout 240] (rm -f PlanarMechanics_PlanarMechanics.Examples.CounterSpin_ida.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CounterSpin_ida.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CounterSpin_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PlanarMechanics_PlanarMechanics.Examples.CounterSpin_ida.sim & (cd run_ida && ../PlanarMechanics_PlanarMechanics.Examples.CounterSpin -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > PlanarMechanics_PlanarMechanics.Examples.CounterSpin_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.977490345016122]