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.001151/0.001151, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001033/0.001033, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.171/1.171, allocations: 177.1 MB / 203.7 MB, free: 5.508 MB / 186.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.04114/0.04114, allocations: 7.183 MB / 267.4 MB, free: 5.902 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 2.845e-06/2.845e-06, allocations: 0 / 339.3 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.797e-05/5.082e-05, allocations: 6.312 kB / 339.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.0102/0.01025, allocations: 6.588 MB / 345.9 MB, free: 4.367 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007088/0.01734, allocations: 2.371 MB / 348.3 MB, free: 1.984 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002278/0.01961, allocations: 27.94 kB / 348.3 MB, free: 1.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.02099, allocations: 306 kB / 348.6 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.02649, allocations: 1.229 MB / 349.8 MB, free: 432 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.02716, allocations: 83.77 kB / 349.9 MB, free: 348 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004613/0.03177, allocations: 2.091 MB / 352 MB, free: 14.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005773/0.03235, allocations: 79.42 kB / 352.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00269/0.03504, allocations: 1.103 MB / 353.2 MB, free: 13.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001836/0.03687, allocations: 1.107 MB / 354.3 MB, free: 11.94 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003986/0.03727, allocations: 188 kB / 354.5 MB, free: 11.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.03888, allocations: 0.7292 MB / 355.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.0399, allocations: 1.067 MB / 356.3 MB, free: 9.957 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009492/0.04084, allocations: 0.6539 MB / 356.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004003/0.04485, allocations: 2.864 MB / 359.8 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.04486, allocations: 3.938 kB / 359.8 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.04486, allocations: 0 / 359.8 MB, free: 6.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.701e-05/0.04492, allocations: 0 / 359.8 MB, free: 6.422 MB / 330.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.00733/0.05225, allocations: 3.851 MB / 363.6 MB, free: 2.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.05232, allocations: 12.62 kB / 363.6 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004048/0.05636, allocations: 1.15 MB / 364.8 MB, free: 1.355 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.05811, allocations: 0.999 MB / 365.8 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-05/0.05821, allocations: 115.1 kB / 365.9 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000305/0.05851, allocations: 156.2 kB / 366.1 MB, free: 60 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00482/0.06333, allocations: 3.111 MB / 369.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.06337, allocations: 24 kB / 369.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001539/0.06353, allocations: 72.25 kB / 369.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001582/0.06511, allocations: 1.531 MB / 370.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002789/0.0679, allocations: 1.609 MB / 372.4 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01667/0.08457, allocations: 20.64 MB / 393 MB, free: 4.117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.08628, allocations: 0.7361 MB / 393.8 MB, free: 3.371 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/0.08652, allocations: 186.5 kB / 394 MB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002054/0.08857, allocations: 1.734 MB / 395.7 MB, free: 1.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.08861, allocations: 46.05 kB / 395.7 MB, free: 1.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=98): time 3.206e-06/0.08861, allocations: 0 / 395.7 MB, free: 1.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=98): time 0.001729/0.09034, allocations: 0.9537 MB / 396.7 MB, free: 432 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.09039, allocations: 60.06 kB / 396.8 MB, free: 360 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.09219, allocations: 1.678 MB / 398.4 MB, free: 14.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.09224, allocations: 45.69 kB / 398.5 MB, free: 14.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009762/0.09321, allocations: 2.015 MB / 400.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002564/0.09347, allocations: 416.9 kB / 400.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006631/0.09413, allocations: 0.717 MB / 401.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.09432, allocations: 0.516 MB / 402.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003416/0.09466, allocations: 254.2 kB / 402.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.09689, allocations: 3.075 MB / 405.5 MB, free: 6.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/0.09948, allocations: 3.709 MB / 409.2 MB, free: 1.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.233e-05/0.0995, allocations: 20 kB / 409.2 MB, free: 1.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.002967/0.1025, allocations: 2.452 MB / 411.6 MB, free: 14.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.238e-05/0.1025, allocations: 36 kB / 411.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-05/0.1026, allocations: 64.84 kB / 411.7 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.066e-05/0.1026, allocations: 99.97 kB / 411.8 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.1038, allocations: 0.7096 MB / 412.5 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-05/0.1038, allocations: 131.5 kB / 412.7 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.1049, allocations: 436.7 kB / 413.1 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.1051, allocations: 176 kB / 413.3 MB, free: 13.16 MB / 394.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.0007315/0.1058, allocations: 406.8 kB / 413.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/0.106, allocations: 175 kB / 413.8 MB, free: 12.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.1067, allocations: 0.5425 MB / 414.4 MB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.735e-05/0.1067, allocations: 20 kB / 414.4 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1067, allocations: 0 / 414.4 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.1068, allocations: 7.922 kB / 414.4 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00283/0.1096, allocations: 2.181 MB / 416.6 MB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.381e-06/0.1096, allocations: 8.062 kB / 416.6 MB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.1099, allocations: 131.8 kB / 416.7 MB, free: 9.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1099, allocations: 4 kB / 416.7 MB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.11, allocations: 23.98 kB / 416.8 MB, free: 9.555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.11, allocations: 11.92 kB / 416.8 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.11, allocations: 4 kB / 416.8 MB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.1113, allocations: 0.9603 MB / 417.7 MB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.1114, allocations: 170.7 kB / 417.9 MB, free: 8.328 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.476e-05/0.1115, allocations: 16.06 kB / 417.9 MB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.1117, allocations: 23.98 kB / 417.9 MB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/0.1118, allocations: 56.3 kB / 418 MB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.765e-05/0.1118, allocations: 31.98 kB / 418 MB, free: 8.203 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005427/0.1124, allocations: 0.6967 MB / 418.7 MB, free: 7.508 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1124, allocations: 0 / 418.7 MB, free: 7.508 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001681/0.1141, allocations: 0.7358 MB / 419.5 MB, free: 6.77 MB / 394.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.0003021/0.1144, allocations: 163 kB / 419.6 MB, free: 6.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.1157, allocations: 1.272 MB / 420.9 MB, free: 5.332 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1157, allocations: 0 / 420.9 MB, free: 5.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.116, allocations: 235.2 kB / 421.1 MB, free: 5.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007732/0.1167, allocations: 233 kB / 421.3 MB, free: 4.879 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/0.1223, allocations: 4.458 MB / 425.8 MB, free: 308 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006833/0.123, allocations: 0.7766 MB / 426.6 MB, free: 15.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00059/0.1236, allocations: 243.5 kB / 426.8 MB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/0.124, allocations: 338.1 kB / 427.1 MB, free: 14.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.124, allocations: 0 / 427.1 MB, free: 14.92 MB / 410.7 MB Notification: Performance of Templates: time 0.1897/0.3137, allocations: 15.94 MB / 443.1 MB, free: 127.3 MB / 410.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 & ./PlanarMechanics_PlanarMechanics.Examples.CounterSpin -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9700669678859413]