Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.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.0008464/0.0008464, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002069, allocations: 440 kB / 10.41 MB, free: 284 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.0008788/0.0008788, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001174/0.002053, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9389/0.9389, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08608/1.025, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.04679/0.04679, allocations: 7.179 MB / 251.3 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004483/0.05128, allocations: 2.565 MB / 253.9 MB, free: 5.195 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.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 255.2 MB, free: 3.91 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.768e-06/1.095e-05, allocations: 6.312 kB / 255.2 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.006176/0.006187, allocations: 7.94 MB / 263.1 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003742/0.009929, allocations: 2.631 MB / 265.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004602/0.01039, allocations: 35.88 kB / 265.8 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005051/0.01089, allocations: 393.5 kB / 266.2 MB, free: 8.863 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.01269, allocations: 1.478 MB / 267.6 MB, free: 7.379 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.01287, allocations: 103.7 kB / 267.7 MB, free: 7.277 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.0149, allocations: 2.51 MB / 270.2 MB, free: 4.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006955/0.0156, allocations: 0.7331 MB / 271 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.01677, allocations: 1.386 MB / 272.4 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.01785, allocations: 1.219 MB / 273.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.01803, allocations: 224 kB / 273.8 MB, free: 1.164 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008101/0.01884, allocations: 0.8229 MB / 274.6 MB, free: 348 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1048/0.1236, allocations: 1.12 MB / 275.7 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008982/0.1245, allocations: 0.6646 MB / 276.4 MB, free: 4.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.1271, allocations: 3.043 MB / 279.5 MB, free: 4.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.1271, allocations: 0 / 279.5 MB, free: 4.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1271, allocations: 0.6094 kB / 279.5 MB, free: 4.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.948e-05/0.1272, allocations: 0 / 279.5 MB, free: 4.555 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: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.005174/0.1323, allocations: 4.404 MB / 283.9 MB, free: 3.105 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.1324, allocations: 12.34 kB / 283.9 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002571/0.1349, allocations: 0.9904 MB / 284.9 MB, free: 3.082 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.136, allocations: 0.9855 MB / 285.8 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/0.1361, allocations: 146.2 kB / 286 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.1363, allocations: 190.8 kB / 286.2 MB, free: 2.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003499/0.1398, allocations: 3.659 MB / 289.8 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.1399, allocations: 28.2 kB / 289.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.1401, allocations: 93.33 kB / 290 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001656/0.1417, allocations: 1.655 MB / 291.6 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004171/0.1459, allocations: 2.102 MB / 293.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01888/0.1648, allocations: 19.78 MB / 313.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003912/0.1687, allocations: 1.255 MB / 314.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004123/0.1691, allocations: 257.2 kB / 315 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003518/0.1726, allocations: 2.498 MB / 317.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.1726, allocations: 52.03 kB / 317.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=146): time 3.206e-06/0.1726, allocations: 0 / 317.5 MB, free: 11.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=161): time 0.008823/0.1815, allocations: 3.976 MB / 321.5 MB, free: 7.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.1815, allocations: 67.28 kB / 321.6 MB, free: 7.516 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.1829, allocations: 1.647 MB / 323.2 MB, free: 6.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/0.183, allocations: 45.7 kB / 323.3 MB, free: 6.145 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009965/0.184, allocations: 2.19 MB / 325.5 MB, free: 4.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/0.1843, allocations: 0.6226 MB / 326.1 MB, free: 3.453 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008343/0.1851, allocations: 0.8014 MB / 326.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.1852, allocations: 345.5 kB / 327.2 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006829/0.1859, allocations: 432.1 kB / 327.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.188, allocations: 2.75 MB / 330.4 MB, free: 14.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003898/0.1919, allocations: 4.03 MB / 334.4 MB, free: 9.113 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.343e-05/0.192, allocations: 24 kB / 334.5 MB, free: 9.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.003756/0.1957, allocations: 2.826 MB / 337.3 MB, free: 6.238 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.1958, allocations: 48.25 kB / 337.3 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.497e-05/0.1959, allocations: 88 kB / 337.4 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004349/0.1963, allocations: 222.2 kB / 337.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/0.1985, allocations: 1.03 MB / 338.7 MB, free: 4.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.2007, allocations: 2.188 MB / 340.8 MB, free: 2.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.2024, allocations: 168 kB / 341 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.2027, allocations: 223.9 kB / 341.2 MB, free: 2.219 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 385 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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 (519): * Single equations (assignments): 514 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001064/0.2037, allocations: 452.2 kB / 341.7 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/0.2039, allocations: 148.5 kB / 341.8 MB, free: 1.621 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009382/0.2048, allocations: 0.7779 MB / 342.6 MB, free: 0.832 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.277e-05/0.2049, allocations: 24.83 kB / 342.6 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.2049, allocations: 4 kB / 342.6 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.2049, allocations: 3.984 kB / 342.6 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00335/0.2082, allocations: 2.946 MB / 345.6 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/0.2083, allocations: 16.06 kB / 345.6 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004918/0.2088, allocations: 235.7 kB / 345.8 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.2089, allocations: 178.4 kB / 346 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003111/0.2092, allocations: 193.3 kB / 346.2 MB, free: 13.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/0.2093, allocations: 31.98 kB / 346.2 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.2107, allocations: 1.651 MB / 347.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.2107, allocations: 11.94 kB / 347.9 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.2119, allocations: 1.324 MB / 349.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.2121, allocations: 31.94 kB / 349.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.2124, allocations: 31.98 kB / 349.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.2125, allocations: 110.3 kB / 349.4 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.414e-05/0.2126, allocations: 43.98 kB / 349.4 MB, free: 9.922 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005081/0.2131, allocations: 0.6371 MB / 350 MB, free: 9.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2131, allocations: 4 kB / 350.1 MB, free: 9.367 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001757/0.2148, allocations: 0.6786 MB / 350.7 MB, free: 8.691 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 5 (idealRolling.w,body.r[1],body.phi,revolute.phi,revolute.w) * 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 (123): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002472/0.2151, allocations: 136.2 kB / 350.9 MB, free: 8.547 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.2169, allocations: 1.905 MB / 352.8 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000102/0.217, allocations: 55.94 kB / 352.8 MB, free: 6.641 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009329/0.2179, allocations: 0.9095 MB / 353.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.2194, allocations: 1.831 MB / 355.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00779/0.2272, allocations: 5.571 MB / 361.1 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.2283, allocations: 0.9093 MB / 362 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007061/0.229, allocations: 308.5 kB / 362.3 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/0.2294, allocations: 357.2 kB / 362.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2294, allocations: 3.938 kB / 362.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of Templates: time 0.02984/0.2593, allocations: 19.15 MB / 381.8 MB, free: 9.355 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9303375259041786]