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.002453/0.002453, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002171/0.002171, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.544/1.544, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.05484/0.05484, allocations: 7.176 MB / 266.7 MB, free: 6.086 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.034e-06/2.034e-06, allocations: 3.938 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.578e-05, allocations: 6.312 kB / 338.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.00583/0.005855, allocations: 6.673 MB / 344.8 MB, free: 3.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004028/0.009883, allocations: 2.38 MB / 347.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008231/0.01071, allocations: 27.94 kB / 347.2 MB, free: 1.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.01136, allocations: 310 kB / 347.5 MB, free: 1.129 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.0137, allocations: 1.213 MB / 348.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002891/0.01399, allocations: 91.75 kB / 348.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002798/0.01679, allocations: 2.089 MB / 350.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002742/0.01707, allocations: 71.42 kB / 351 MB, free: 13.64 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.01884, allocations: 1.107 MB / 352.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/0.02068, allocations: 1.11 MB / 353.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004037/0.02108, allocations: 188 kB / 353.4 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.02249, allocations: 0.7293 MB / 354.1 MB, free: 10.51 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.02375, allocations: 1.056 MB / 355.2 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001165/0.02491, allocations: 0.6617 MB / 355.8 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006236/0.03115, allocations: 4.357 MB / 360.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.03115, allocations: 0 / 360.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.03115, allocations: 0 / 360.2 MB, free: 4.414 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001092/0.03126, allocations: 4 kB / 360.2 MB, free: 4.41 MB / 282.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.01017/0.04143, allocations: 4.257 MB / 364.4 MB, free: 104 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.04148, allocations: 12.62 kB / 364.5 MB, free: 92 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007517/0.04899, allocations: 2.086 MB / 366.5 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.05186, allocations: 1.064 MB / 367.6 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.05199, allocations: 119.2 kB / 367.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003923/0.05238, allocations: 152.2 kB / 367.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007799/0.06018, allocations: 3.853 MB / 371.7 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.779e-05/0.06024, allocations: 12.06 kB / 371.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.06049, allocations: 80.19 kB / 371.8 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003146/0.06363, allocations: 1.718 MB / 373.5 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007702/0.07133, allocations: 2.472 MB / 376 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04513/0.1165, allocations: 33.32 MB / 409.3 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003651/0.1201, allocations: 0.9178 MB / 410.2 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1186/0.2387, allocations: 275.2 kB / 410.5 MB, free: 74.83 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004194/0.2429, allocations: 1.959 MB / 412.5 MB, free: 74.46 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.2429, allocations: 45.66 kB / 412.5 MB, free: 74.42 MB / 330.7 MB Notification: Performance of pre-optimization done (n=98): time 2.936e-06/0.2429, allocations: 1.125 kB / 412.5 MB, free: 74.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=98): time 0.003255/0.2462, allocations: 1.126 MB / 413.6 MB, free: 74.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.2462, allocations: 61.03 kB / 413.7 MB, free: 74.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002789/0.249, allocations: 2.334 MB / 416 MB, free: 73.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.249, allocations: 36.08 kB / 416.1 MB, free: 73.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.2501, allocations: 2.129 MB / 418.2 MB, free: 72.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.2504, allocations: 457.4 kB / 418.6 MB, free: 72.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/0.2514, allocations: 0.872 MB / 419.5 MB, free: 72.26 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2515, allocations: 0.5296 MB / 420 MB, free: 71.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009367/0.2525, allocations: 432.1 kB / 420.5 MB, free: 71.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.2542, allocations: 3.365 MB / 423.8 MB, free: 67.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/0.2569, allocations: 4.086 MB / 427.9 MB, free: 63.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.971e-05/0.2569, allocations: 23.56 kB / 427.9 MB, free: 63.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=421) (initialization): time 0.004024/0.261, allocations: 2.821 MB / 430.8 MB, free: 62.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.897e-05/0.261, allocations: 33.59 kB / 430.8 MB, free: 62.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.228e-05/0.2611, allocations: 67.47 kB / 430.9 MB, free: 62.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.856e-05/0.2612, allocations: 94.75 kB / 430.9 MB, free: 62.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.263, allocations: 0.7195 MB / 431.7 MB, free: 62.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.098e-05/0.2631, allocations: 135.6 kB / 431.8 MB, free: 62.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.2649, allocations: 442 kB / 432.2 MB, free: 61.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.2651, allocations: 199 kB / 432.4 MB, free: 61.82 MB / 330.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[3],body.sphereColor[2],body.sphereColor[1]) * 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.001311/0.2664, allocations: 499.1 kB / 432.9 MB, free: 61.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.2667, allocations: 178.6 kB / 433.1 MB, free: 61.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.268, allocations: 0.655 MB / 433.7 MB, free: 60.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.255e-05/0.2681, allocations: 27.64 kB / 433.8 MB, free: 60.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2681, allocations: 0 / 433.8 MB, free: 60.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/0.2681, allocations: 3.516 kB / 433.8 MB, free: 60.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00583/0.274, allocations: 3.803 MB / 437.6 MB, free: 57.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.274, allocations: 8.031 kB / 437.6 MB, free: 57.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005736/0.2745, allocations: 141.2 kB / 437.7 MB, free: 57.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.2746, allocations: 4 kB / 437.7 MB, free: 57.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.323e-05/0.2746, allocations: 21.97 kB / 437.7 MB, free: 57.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.2746, allocations: 13.27 kB / 437.8 MB, free: 57.05 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2746, allocations: 4 kB / 437.8 MB, free: 57.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.2762, allocations: 1.186 MB / 439 MB, free: 55.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.2765, allocations: 166.3 kB / 439.1 MB, free: 55.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.2766, allocations: 22.03 kB / 439.1 MB, free: 55.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.2771, allocations: 35.2 kB / 439.2 MB, free: 55.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.2772, allocations: 60.59 kB / 439.2 MB, free: 55.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/0.2773, allocations: 35.56 kB / 439.3 MB, free: 55.58 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.2784, allocations: 0.9628 MB / 440.2 MB, free: 54.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2784, allocations: 0 / 440.2 MB, free: 54.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002194/0.2806, allocations: 0.7355 MB / 441 MB, free: 54.02 MB / 330.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.0003069/0.2809, allocations: 165.1 kB / 441.1 MB, free: 53.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.2833, allocations: 1.649 MB / 442.8 MB, free: 52.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2833, allocations: 0 / 442.8 MB, free: 52.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004789/0.2838, allocations: 326.3 kB / 443.1 MB, free: 51.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.2848, allocations: 234.3 kB / 443.3 MB, free: 51.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005965/0.2908, allocations: 4.558 MB / 447.9 MB, free: 47.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.2923, allocations: 1.544 MB / 449.4 MB, free: 45.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001628/0.2939, allocations: 0.8252 MB / 450.2 MB, free: 44.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.2941, allocations: 120.5 kB / 450.4 MB, free: 44.61 MB / 330.7 MB Notification: Performance of SimCode: time 1.653e-06/0.2941, allocations: 0 / 450.4 MB, free: 44.61 MB / 330.7 MB Notification: Performance of Templates: time 0.02285/0.317, allocations: 14.72 MB / 465.1 MB, free: 30.13 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 & ./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: 5.216243398026563]