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.001252/0.001252, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001421/0.001421, allocations: 214 kB / 22.99 MB, free: 4.945 MB / 14.72 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.388/1.388, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04715/0.04715, allocations: 9.244 MB / 322.4 MB, free: 9.855 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 59.91 kB / 448.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1041, allocations: 55.47 MB / 0.4926 GB, free: 6.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CounterSpin): time 0.007805/0.1119, allocations: 6.092 MB / 0.4985 GB, free: 432 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004229/0.1161, allocations: 2.277 MB / 0.5007 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006861/0.1168, allocations: 27.94 kB / 0.5008 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007357/0.1175, allocations: 306.1 kB / 0.501 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.1202, allocations: 1.164 MB / 0.5022 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.1204, allocations: 91.72 kB / 0.5023 GB, free: 12.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002088/0.1225, allocations: 2.022 MB / 0.5042 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.1227, allocations: 67.38 kB / 0.5043 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008318/0.1235, allocations: 0.7238 MB / 0.505 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.1249, allocations: 1.125 MB / 0.5061 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002675/0.1251, allocations: 188 kB / 0.5063 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.1262, allocations: 0.6669 MB / 0.5069 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008782/0.1271, allocations: 1.032 MB / 0.508 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008289/0.1279, allocations: 0.8731 MB / 0.5088 GB, free: 5.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004424/0.1323, allocations: 4.334 MB / 0.513 GB, free: 1.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1323, allocations: 0 / 0.513 GB, free: 1.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1323, allocations: 0 / 0.513 GB, free: 1.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.395e-05/0.1324, allocations: 0 / 0.513 GB, free: 1.469 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 981 * Number of variables: 981 Notification: Performance of Generate backend data structure: time 0.1875/0.3199, allocations: 3.596 MB / 0.5166 GB, free: 24.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3199, allocations: 10.5 kB / 0.5166 GB, free: 24.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005986/0.3259, allocations: 1.712 MB / 0.5182 GB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002245/0.3282, allocations: 1.123 MB / 0.5193 GB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.691e-05/0.3282, allocations: 113 kB / 0.5194 GB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003054/0.3285, allocations: 149.4 kB / 0.5196 GB, free: 24.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008826/0.3374, allocations: 7.05 MB / 0.5265 GB, free: 22.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.039e-05/0.3374, allocations: 15.19 kB / 0.5265 GB, free: 22.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.3376, allocations: 73.89 kB / 0.5265 GB, free: 22.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002598/0.3402, allocations: 1.725 MB / 0.5282 GB, free: 21.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0117/0.3519, allocations: 6.456 MB / 0.5345 GB, free: 19.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02003/0.372, allocations: 18.81 MB / 0.5529 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003011/0.375, allocations: 1.411 MB / 0.5543 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.3756, allocations: 0.5583 MB / 0.5548 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003542/0.3792, allocations: 1.983 MB / 0.5568 GB, free: 15.36 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.3792, allocations: 44.08 kB / 0.5568 GB, free: 15.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 2.896e-06/0.3792, allocations: 0 / 0.5568 GB, free: 15.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.003811/0.383, allocations: 1.791 MB / 0.5586 GB, free: 13.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.3831, allocations: 68.94 kB / 0.5586 GB, free: 13.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.3855, allocations: 1.909 MB / 0.5605 GB, free: 11.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.6e-05/0.3856, allocations: 38.38 kB / 0.5605 GB, free: 11.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.3869, allocations: 1.918 MB / 0.5624 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003292/0.3873, allocations: 385.6 kB / 0.5628 GB, free: 9.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008484/0.3881, allocations: 0.6563 MB / 0.5634 GB, free: 8.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3883, allocations: 334 kB / 0.5637 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.3899, allocations: 1.006 MB / 0.5647 GB, free: 7.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003179/0.3931, allocations: 2.902 MB / 0.5675 GB, free: 3.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004979/0.398, allocations: 4.198 MB / 0.5716 GB, free: 14.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.464e-05/0.3981, allocations: 20 kB / 0.5717 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.006051/0.4041, allocations: 3.814 MB / 0.5754 GB, free: 10.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.4042, allocations: 32.97 kB / 0.5754 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-05/0.4042, allocations: 70.19 kB / 0.5755 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001/0.4043, allocations: 92 kB / 0.5756 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001991/0.4063, allocations: 0.7096 MB / 0.5763 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001175/0.4065, allocations: 139.4 kB / 0.5764 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001917/0.4084, allocations: 436.9 kB / 0.5768 GB, free: 8.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/0.4086, allocations: 196 kB / 0.577 GB, free: 8.688 MB / 414.1 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 (387): * Single equations (assignments): 383 * 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.001926/0.4106, allocations: 1.391 MB / 0.5784 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.4108, allocations: 155.6 kB / 0.5785 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.4128, allocations: 1.18 MB / 0.5797 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-05/0.4129, allocations: 19.98 kB / 0.5797 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.4129, allocations: 7.875 kB / 0.5797 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.4129, allocations: 7.922 kB / 0.5797 GB, free: 5.902 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005691/0.4186, allocations: 3.064 MB / 0.5827 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.4186, allocations: 0.6562 kB / 0.5827 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000582/0.4192, allocations: 135.8 kB / 0.5828 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.4192, allocations: 8 kB / 0.5828 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.063e-05/0.4193, allocations: 19.98 kB / 0.5828 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.4193, allocations: 4 kB / 0.5828 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/0.4193, allocations: 14.67 kB / 0.5829 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002716/0.422, allocations: 1.935 MB / 0.5847 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.4223, allocations: 154.8 kB / 0.5849 GB, free: 464 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.4224, allocations: 16.84 kB / 0.5849 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004939/0.4229, allocations: 31.97 kB / 0.5849 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.423, allocations: 56.34 kB / 0.585 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.737e-05/0.4231, allocations: 24 kB / 0.585 GB, free: 336 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001557/0.4247, allocations: 1.122 MB / 0.5861 GB, free: 15.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4247, allocations: 0 / 0.5861 GB, free: 15.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002309/0.427, allocations: 0.7357 MB / 0.5868 GB, free: 14.47 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 65 * 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.0003033/0.4273, allocations: 154.9 kB / 0.587 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003416/0.4307, allocations: 2.159 MB / 0.5891 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4307, allocations: 0.625 kB / 0.5891 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000731/0.4314, allocations: 0.4951 MB / 0.5896 GB, free: 11.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000982/0.4324, allocations: 195.6 kB / 0.5898 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/0.4409, allocations: 5.625 MB / 0.5953 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002268/0.4431, allocations: 1.716 MB / 0.5969 GB, free: 4.059 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.4436, allocations: 159.4 kB / 0.5971 GB, free: 3.902 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4436, allocations: 0 / 0.5971 GB, free: 3.902 MB / 430.1 MB Notification: Performance of Templates: time 0.04862/0.4922, allocations: 32.8 MB / 0.6291 GB, free: 3.25 MB / 462.1 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CounterSpin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.261360045988113] Failed to read output from testmodel.py, exit status != 0: 0.5013422630727291 0.5165174929999999 0.381051793 Calling exit ...