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.001433/0.001433, allocations: 84.73 kB / 19.44 MB, free: 356 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.001628/0.001628, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.442/1.442, allocations: 177.1 MB / 203.1 MB, free: 5.57 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.04982/0.04982, allocations: 7.178 MB / 266.7 MB, free: 6.09 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.393e-06/1.393e-06, allocations: 0 / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.252e-05, allocations: 2.312 kB / 338.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.00581/0.005833, allocations: 7.295 MB / 345.4 MB, free: 3.246 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0038/0.009633, allocations: 2.454 MB / 347.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006173/0.01025, allocations: 35.88 kB / 347.9 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006333/0.01088, allocations: 377.4 kB / 348.3 MB, free: 388 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.01393, allocations: 1.505 MB / 349.8 MB, free: 14.87 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.01422, allocations: 99.73 kB / 349.9 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003168/0.01738, allocations: 2.489 MB / 352.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.01851, allocations: 0.7208 MB / 353.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/0.02043, allocations: 1.34 MB / 354.4 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001916/0.02235, allocations: 1.286 MB / 355.7 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003477/0.0227, allocations: 224 kB / 355.9 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.02422, allocations: 0.8034 MB / 356.7 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001301/0.02552, allocations: 1.25 MB / 358 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001176/0.02669, allocations: 0.8018 MB / 358.8 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006664/0.03336, allocations: 4.941 MB / 363.7 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.03336, allocations: 4 kB / 363.7 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.03336, allocations: 0 / 363.7 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.791e-05/0.03346, allocations: 0 / 363.7 MB, free: 0.8555 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: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.01357/0.04703, allocations: 4.811 MB / 368.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.04708, allocations: 8.625 kB / 368.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007929/0.05501, allocations: 2.253 MB / 370.8 MB, free: 9.723 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.05808, allocations: 1.296 MB / 372.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.05824, allocations: 143.9 kB / 372.2 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/0.05871, allocations: 196.2 kB / 372.4 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/0.0734, allocations: 8.37 MB / 380.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.016e-05/0.07347, allocations: 24 kB / 380.8 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000319/0.07379, allocations: 95.8 kB / 380.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003471/0.07726, allocations: 1.938 MB / 382.9 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.09302, allocations: 7.511 MB / 390.4 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.155/0.248, allocations: 24.16 MB / 414.5 MB, free: 60.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006506/0.2545, allocations: 2.247 MB / 416.8 MB, free: 60.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.2558, allocations: 0.822 MB / 417.6 MB, free: 60.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005185/0.261, allocations: 3.056 MB / 420.6 MB, free: 60.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.261, allocations: 46.62 kB / 420.7 MB, free: 60.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=146): time 3.206e-06/0.261, allocations: 1.312 kB / 420.7 MB, free: 60.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=161): time 0.01359/0.2746, allocations: 7.143 MB / 427.8 MB, free: 57.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.2746, allocations: 71.81 kB / 427.9 MB, free: 57.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.277, allocations: 2.28 MB / 430.2 MB, free: 56.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.678e-05/0.277, allocations: 45.11 kB / 430.2 MB, free: 56.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007923/0.2778, allocations: 2.248 MB / 432.5 MB, free: 55.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.2782, allocations: 0.619 MB / 433.1 MB, free: 54.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008889/0.279, allocations: 0.8442 MB / 433.9 MB, free: 54.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.2791, allocations: 341.4 kB / 434.3 MB, free: 53.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.2808, allocations: 1.316 MB / 435.6 MB, free: 52.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00239/0.2831, allocations: 3.721 MB / 439.3 MB, free: 47.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004293/0.2874, allocations: 5.474 MB / 444.8 MB, free: 41.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.565e-05/0.2875, allocations: 28 kB / 444.8 MB, free: 41.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=558) (initialization): time 0.006666/0.2941, allocations: 5.331 MB / 450.1 MB, free: 36.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/0.2942, allocations: 40 kB / 450.2 MB, free: 36.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.604e-05/0.2942, allocations: 88 kB / 450.3 MB, free: 36.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006364/0.2949, allocations: 280.7 kB / 450.5 MB, free: 35.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/0.2972, allocations: 0.9436 MB / 451.5 MB, free: 34.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002856/0.3001, allocations: 3.063 MB / 454.6 MB, free: 31.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/0.3025, allocations: 200 kB / 454.7 MB, free: 31.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/0.3028, allocations: 256 kB / 455 MB, free: 31.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * 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 (518): * Single equations (assignments): 513 * 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.001689/0.3044, allocations: 1.614 MB / 456.6 MB, free: 29.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003124/0.3048, allocations: 246.6 kB / 456.9 MB, free: 29.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/0.3075, allocations: 1.971 MB / 458.8 MB, free: 27.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.861e-05/0.3076, allocations: 27.98 kB / 458.9 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3076, allocations: 0 / 458.9 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.3076, allocations: 7.969 kB / 458.9 MB, free: 27.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006951/0.3145, allocations: 5.203 MB / 464.1 MB, free: 21.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.3145, allocations: 10.94 kB / 464.1 MB, free: 21.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008014/0.3153, allocations: 231.6 kB / 464.3 MB, free: 21.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004493/0.3158, allocations: 188 kB / 464.5 MB, free: 21.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/0.3159, allocations: 28 kB / 464.5 MB, free: 21.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.318, allocations: 2.481 MB / 467 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.318, allocations: 7.938 kB / 467 MB, free: 18.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/0.3215, allocations: 3.238 MB / 470.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003051/0.3218, allocations: 190.7 kB / 470.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.322, allocations: 32.61 kB / 470.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007165/0.3227, allocations: 61.5 kB / 470.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.3229, allocations: 108.7 kB / 470.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.242e-05/0.323, allocations: 56 kB / 470.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00143/0.3244, allocations: 1.314 MB / 472 MB, free: 13.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3244, allocations: 0 / 472 MB, free: 13.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002644/0.327, allocations: 0.6783 MB / 472.7 MB, free: 13.19 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.0002844/0.3273, allocations: 161.3 kB / 472.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003992/0.3313, allocations: 3.181 MB / 476 MB, free: 9.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3313, allocations: 4 kB / 476 MB, free: 9.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.3325, allocations: 0.9923 MB / 477 MB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.3338, allocations: 282.6 kB / 477.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008441/0.3422, allocations: 6.716 MB / 484 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002122/0.3444, allocations: 2.043 MB / 486 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003227/0.3476, allocations: 1.214 MB / 487.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.3481, allocations: 164.4 kB / 487.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3481, allocations: 0 / 487.4 MB, free: 14.3 MB / 346.7 MB Notification: Performance of Templates: time 0.04315/0.3912, allocations: 18.47 MB / 0.494 GB, free: 12.18 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.607007137965411]