Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.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.0007449/0.0007449, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007476/0.0007476, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8138/0.8138, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.02608/0.02608, allocations: 7.118 MB / 267.1 MB, free: 6.32 MB / 250.7 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.VehicleComponents.Examples.TwoTrackWithDifferentialGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") translateModel(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 3.938 kB / 393.7 MB, free: 3.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.356e-05, allocations: 6.281 kB / 393.7 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.009546/0.00957, allocations: 13.97 MB / 407.6 MB, free: 5.465 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004566/0.01414, allocations: 3.982 MB / 411.6 MB, free: 1.469 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006379/0.01477, allocations: 75.75 kB / 411.7 MB, free: 1.395 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008047/0.01558, allocations: 0.6823 MB / 412.4 MB, free: 0.707 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1332/0.1488, allocations: 2.34 MB / 414.7 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009258/0.1498, allocations: 483.6 kB / 415.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003615/0.1534, allocations: 4.711 MB / 419.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.155, allocations: 1.585 MB / 421.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002399/0.1574, allocations: 2.626 MB / 424.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002032/0.1594, allocations: 2.305 MB / 426.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004339/0.1598, allocations: 411.5 kB / 426.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.1611, allocations: 1.056 MB / 427.9 MB, free: 12.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.1621, allocations: 2.221 MB / 430.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001005/0.1632, allocations: 1.548 MB / 431.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004256/0.1674, allocations: 8.12 MB / 439.8 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1674, allocations: 0 / 439.8 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1674, allocations: 3.406 kB / 439.8 MB, free: 6.414 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.899e-05/0.1675, allocations: 0 / 439.8 MB, free: 6.414 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2054 * Number of variables: 2054 Notification: Performance of Generate backend data structure: time 0.02275/0.1902, allocations: 12.2 MB / 452 MB, free: 12.06 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1903, allocations: 8.625 kB / 452 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003885/0.1941, allocations: 2.11 MB / 454.1 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002907/0.1971, allocations: 2.43 MB / 456.5 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.1972, allocations: 299.1 kB / 456.8 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005437/0.1977, allocations: 408.9 kB / 457.2 MB, free: 7.094 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/0.2142, allocations: 15.33 MB / 472.5 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.953e-05/0.2143, allocations: 58.44 kB / 472.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004211/0.2148, allocations: 193.1 kB / 472.8 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002551/0.2173, allocations: 2.861 MB / 475.6 MB, free: 4.188 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01966/0.237, allocations: 16 MB / 491.6 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04122/0.2782, allocations: 48.78 MB / 0.5278 GB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01761/0.2958, allocations: 7.234 MB / 0.5348 GB, free: 11.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00301/0.2988, allocations: 2.827 MB / 0.5376 GB, free: 9.117 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01402/0.3128, allocations: 11.73 MB / 0.549 GB, free: 13.52 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00611/0.3189, allocations: 4.071 MB / 0.553 GB, free: 9.332 MB / 458.7 MB Notification: Performance of pre-optimization done (n=429): time 6.512e-06/0.319, allocations: 0 / 0.553 GB, free: 9.332 MB / 458.7 MB Notification: Performance of matching and sorting (n=504): time 0.19/0.509, allocations: 43.98 MB / 0.596 GB, free: 140.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001595/0.5091, allocations: 0.8231 MB / 0.5968 GB, free: 139.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003983/0.5131, allocations: 3.877 MB / 0.6005 GB, free: 138 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006204/0.5138, allocations: 106.2 kB / 0.6006 GB, free: 137.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00197/0.5157, allocations: 3.651 MB / 0.6042 GB, free: 135.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001373/0.5171, allocations: 1.864 MB / 0.606 GB, free: 133.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/0.5187, allocations: 1.679 MB / 0.6077 GB, free: 132.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 3.147e-05/0.5188, allocations: 306.3 kB / 0.608 GB, free: 132.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/0.5225, allocations: 3.023 MB / 0.6109 GB, free: 131.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004418/0.5269, allocations: 7.159 MB / 0.6179 GB, free: 125.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008231/0.5351, allocations: 11.12 MB / 0.6288 GB, free: 116.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.73e-05/0.5352, allocations: 39.03 kB / 0.6288 GB, free: 116.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.01301/0.5482, allocations: 11.03 MB / 0.6396 GB, free: 109 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.854e-05/0.5483, allocations: 89.7 kB / 0.6397 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.134e-05/0.5484, allocations: 140 kB / 0.6398 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.5496, allocations: 0.9414 MB / 0.6407 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/0.5532, allocations: 1.994 MB / 0.6427 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006052/0.5592, allocations: 7.868 MB / 0.6503 GB, free: 99.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004157/0.5634, allocations: 478.9 kB / 0.6508 GB, free: 98.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007058/0.5641, allocations: 483.5 kB / 0.6513 GB, free: 98.32 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 641 * Number of states: 0 () * Number of discrete variables: 41 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],rightTrail.color[3],rightTrail.color[2],rightTrail.color[1],leftTrail.color[3],leftTrail.color[2],leftTrail.color[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1074): * Single equations (assignments): 1064 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,51,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003403/0.5675, allocations: 2.536 MB / 0.6537 GB, free: 96.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006181/0.5681, allocations: 445.1 kB / 0.6542 GB, free: 95.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005211/0.5733, allocations: 5.759 MB / 0.6598 GB, free: 89.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.475e-05/0.5734, allocations: 71.98 kB / 0.6599 GB, free: 89.89 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/0.5734, allocations: 16 kB / 0.6599 GB, free: 89.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.78e-05/0.5734, allocations: 35.84 kB / 0.6599 GB, free: 89.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/0.5882, allocations: 16.73 MB / 0.6763 GB, free: 72.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/0.5882, allocations: 12.19 kB / 0.6763 GB, free: 72.78 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/0.5899, allocations: 0.8035 MB / 0.677 GB, free: 71.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.591, allocations: 0.7746 MB / 0.6778 GB, free: 71.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003033/0.5913, allocations: 95.98 kB / 0.6779 GB, free: 71.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005307/0.5966, allocations: 7.161 MB / 0.6849 GB, free: 63.84 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/0.5966, allocations: 11.94 kB / 0.6849 GB, free: 63.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009365/0.6059, allocations: 9.934 MB / 0.6946 GB, free: 53.65 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009984/0.6069, allocations: 409 kB / 0.695 GB, free: 53.25 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004398/0.6074, allocations: 104.3 kB / 0.6951 GB, free: 53.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.6085, allocations: 227.7 kB / 0.6953 GB, free: 52.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003894/0.6088, allocations: 339 kB / 0.6956 GB, free: 52.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/0.609, allocations: 132 kB / 0.6958 GB, free: 52.47 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002142/0.6112, allocations: 2.225 MB / 0.6979 GB, free: 50.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6112, allocations: 3.938 kB / 0.6979 GB, free: 50.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004576/0.6157, allocations: 1.476 MB / 0.6994 GB, free: 48.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 16 (body1.r[1],body1.r[2],body1.v[1],body1.v[2],body1.phi,body1.w,inertia.phi,inertia.w,inertia1.phi,inertia1.w,inertia2.phi,inertia2.w,inertia3.phi,inertia3.w,revolute.phi,revolute2.w) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (433): * Single equations (assignments): 422 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,51,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005382/0.6163, allocations: 278.8 kB / 0.6996 GB, free: 48.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008382/0.6246, allocations: 7.67 MB / 0.7071 GB, free: 40.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/0.6247, allocations: 0 / 0.7071 GB, free: 40.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003131/0.6278, allocations: 3.088 MB / 0.7101 GB, free: 37.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.6301, allocations: 0.5201 MB / 0.7107 GB, free: 37.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/0.6454, allocations: 13.85 MB / 0.7242 GB, free: 23.2 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002866/0.6483, allocations: 3.513 MB / 0.7276 GB, free: 19.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001272/0.6496, allocations: 416.4 kB / 0.728 GB, free: 19.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/0.6496, allocations: 0 / 0.728 GB, free: 19.25 MB / 474.7 MB Notification: Performance of Templates: time 0.2661/0.9157, allocations: 204 MB / 0.9272 GB, free: 11.77 MB / 0.4948 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.253990596160293] Failed to read output from testmodel.py, exit status != 0: 0.9221678087487817 1.073432453 0.904007638 Calling exit ...