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.0007326/0.0007326, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.001964, allocations: 435.8 kB / 10.33 MB, free: 368 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.000703/0.000703, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008415/0.001545, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.007/1.007, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1075/1.115, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.03449/0.03449, allocations: 7.178 MB / 251.1 MB, free: 7.879 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007665/0.04216, allocations: 2.557 MB / 253.7 MB, free: 5.316 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.213e-06/1.213e-06, allocations: 0 / 254.9 MB, free: 4.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.975e-05, allocations: 2.312 kB / 254.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.007219/0.007239, allocations: 7.939 MB / 262.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004966/0.01221, allocations: 2.631 MB / 265.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008472/0.01305, allocations: 39.88 kB / 265.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006339/0.01369, allocations: 389.5 kB / 265.9 MB, free: 9.016 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.01623, allocations: 1.485 MB / 267.4 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.0165, allocations: 91.8 kB / 267.5 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002819/0.01932, allocations: 2.517 MB / 270 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001097/0.02042, allocations: 0.7292 MB / 270.8 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001792/0.02221, allocations: 1.386 MB / 272.1 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.02365, allocations: 1.235 MB / 273.4 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002806/0.02393, allocations: 224 kB / 273.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.02502, allocations: 0.8113 MB / 274.4 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1355/0.1605, allocations: 1.124 MB / 275.5 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.1623, allocations: 0.6618 MB / 276.2 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004925/0.1672, allocations: 3.045 MB / 279.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.719e-05/0.1672, allocations: 2.594 kB / 279.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1672, allocations: 0 / 279.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001728/0.1674, allocations: 0 / 279.2 MB, free: 4.566 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.01029/0.1777, allocations: 4.405 MB / 283.6 MB, free: 3.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1778, allocations: 10.42 kB / 283.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003058/0.1808, allocations: 0.9889 MB / 284.6 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.1832, allocations: 0.9841 MB / 285.6 MB, free: 2.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.1833, allocations: 150.5 kB / 285.8 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/0.1837, allocations: 189.9 kB / 286 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008341/0.1921, allocations: 3.653 MB / 289.6 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-05/0.1922, allocations: 32.48 kB / 289.6 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/0.1924, allocations: 93.8 kB / 289.7 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002234/0.1947, allocations: 1.761 MB / 291.5 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008517/0.2032, allocations: 2.104 MB / 293.6 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02745/0.2306, allocations: 19.77 MB / 313.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.2338, allocations: 1.255 MB / 314.6 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.2341, allocations: 257 kB / 314.9 MB, free: 14.08 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003411/0.2375, allocations: 2.506 MB / 317.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.2376, allocations: 47.56 kB / 317.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of pre-optimization done (n=146): time 3.476e-06/0.2376, allocations: 0 / 317.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=161): time 0.007323/0.2449, allocations: 3.707 MB / 321.1 MB, free: 7.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.245, allocations: 72.72 kB / 321.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.2465, allocations: 1.642 MB / 322.9 MB, free: 6.508 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.2466, allocations: 45.7 kB / 322.9 MB, free: 6.457 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000906/0.2475, allocations: 2.189 MB / 325.1 MB, free: 4.363 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.2478, allocations: 0.6209 MB / 325.7 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00069/0.2485, allocations: 0.807 MB / 326.5 MB, free: 3.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.2486, allocations: 341.6 kB / 326.8 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/0.2492, allocations: 436.5 kB / 327.3 MB, free: 2.293 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.2509, allocations: 2.752 MB / 330 MB, free: 14.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00312/0.254, allocations: 3.739 MB / 333.8 MB, free: 9.727 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.761e-05/0.2541, allocations: 24 kB / 333.8 MB, free: 9.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.003438/0.2575, allocations: 2.84 MB / 336.6 MB, free: 6.836 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.2576, allocations: 42.03 kB / 336.7 MB, free: 6.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.465e-05/0.2576, allocations: 84 kB / 336.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004231/0.2581, allocations: 218.9 kB / 337 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001721/0.2598, allocations: 1.03 MB / 338 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.2616, allocations: 2.176 MB / 340.2 MB, free: 3.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.2637, allocations: 172.9 kB / 340.3 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002998/0.264, allocations: 216 kB / 340.6 MB, free: 2.844 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.001603/0.2656, allocations: 455.4 kB / 341 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003407/0.266, allocations: 150.6 kB / 341.1 MB, free: 2.242 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.2674, allocations: 0.7952 MB / 341.9 MB, free: 1.438 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-05/0.2675, allocations: 27.98 kB / 342 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2675, allocations: 0 / 342 MB, free: 1.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.2675, allocations: 3.984 kB / 342 MB, free: 1.406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00503/0.2725, allocations: 2.942 MB / 344.9 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.2725, allocations: 4 kB / 344.9 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.2731, allocations: 231.7 kB / 345.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.2734, allocations: 181.6 kB / 345.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.2738, allocations: 199.2 kB / 345.5 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.2739, allocations: 35.52 kB / 345.5 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.2752, allocations: 1.648 MB / 347.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.2752, allocations: 14.23 kB / 347.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.2768, allocations: 1.322 MB / 348.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.277, allocations: 35.94 kB / 348.6 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003665/0.2774, allocations: 34.88 kB / 348.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.2775, allocations: 104.6 kB / 348.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-05/0.2776, allocations: 47.98 kB / 348.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006584/0.2782, allocations: 0.637 MB / 349.4 MB, free: 10 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2782, allocations: 0 / 349.4 MB, free: 10 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002423/0.2807, allocations: 0.6718 MB / 350.1 MB, free: 9.328 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.0003236/0.281, allocations: 147.5 kB / 350.2 MB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.2833, allocations: 1.822 MB / 352 MB, free: 7.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001197/0.2834, allocations: 57.31 kB / 352.1 MB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.284, allocations: 0.5277 MB / 352.6 MB, free: 6.781 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.285, allocations: 440.6 kB / 353 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00952/0.2946, allocations: 5.761 MB / 358.8 MB, free: 464 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009091/0.2955, allocations: 0.9131 MB / 359.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009775/0.2964, allocations: 309.5 kB / 360 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/0.2969, allocations: 373.2 kB / 360.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of SimCode: time 1.723e-06/0.2969, allocations: 1.531 kB / 360.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of Templates: time 0.03476/0.3317, allocations: 20.66 MB / 381 MB, free: 10.53 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: 3.500289523974061]