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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo", uses=false) Using package PlanarMechanics with version 1.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") translateModel(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007789/0.007789, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 239 MB, free: 1.809 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009797/0.0009797, allocations: 94.75 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.04116/0.04116, allocations: 8.931 MB / 350.3 MB, free: 2.074 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 8.031 kB / 413.1 MB, free: 88.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 52.4 MB / 465.5 MB, free: 41.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3825/0.5064, allocations: 91.39 MB / 0.5439 GB, free: 16.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.5067, allocations: 83.45 kB / 0.5439 GB, free: 16.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4602/0.9669, allocations: 113.6 MB / 0.6549 GB, free: 10.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.9669, allocations: 0 / 0.6549 GB, free: 10.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000317/0.9673, allocations: 100 kB / 0.655 GB, free: 10.53 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.08423/1.051, allocations: 7.952 MB / 0.6628 GB, free: 2.488 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.687e-05/1.052, allocations: 8.031 kB / 0.6628 GB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01584/1.067, allocations: 2.258 MB / 0.665 GB, free: 216 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/1.078, allocations: 2.869 MB / 0.6678 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006255/1.079, allocations: 398.4 kB / 0.6682 GB, free: 12.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004496/1.084, allocations: 0.5193 MB / 0.6687 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0675/1.151, allocations: 14.94 MB / 0.6833 GB, free: 12.56 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004331/1.152, allocations: 67.42 kB / 0.6833 GB, free: 12.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003327/1.155, allocations: 247.8 kB / 0.6836 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00528/1.16, allocations: 1.618 MB / 0.6852 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3167/1.477, allocations: 16.09 MB / 0.7009 GB, free: 80.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0791/1.556, allocations: 53 MB / 0.7526 GB, free: 56.08 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03237/1.589, allocations: 7.44 MB / 0.7599 GB, free: 55.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02489/1.614, allocations: 20.33 MB / 0.7797 GB, free: 41.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009861/1.624, allocations: 3.722 MB / 0.7834 GB, free: 40.63 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 8.326e-06/1.624, allocations: 0 / 0.7834 GB, free: 40.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=496): time 0.06372/1.687, allocations: 42.54 MB / 0.8249 GB, free: 14.33 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/1.688, allocations: 0.8247 MB / 0.8257 GB, free: 13.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004878/1.692, allocations: 3.797 MB / 0.8294 GB, free: 10.15 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005894/1.693, allocations: 105.7 kB / 0.8295 GB, free: 10.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002267/1.695, allocations: 3.525 MB / 0.833 GB, free: 6.883 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001524/1.697, allocations: 1.78 MB / 0.8347 GB, free: 5.297 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/1.697, allocations: 176 kB / 0.8349 GB, free: 5.125 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003784/1.698, allocations: 0.6696 MB / 0.8355 GB, free: 4.551 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004002/1.702, allocations: 2.902 MB / 0.8384 GB, free: 2.109 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008618/1.71, allocations: 7.129 MB / 0.8453 GB, free: 10.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007992/1.718, allocations: 4.543 MB / 0.8498 GB, free: 6.344 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/1.718, allocations: 40 kB / 0.8498 GB, free: 6.305 MB / 474.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.02803/1.746, allocations: 10.86 MB / 0.8604 GB, free: 12.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/1.747, allocations: 89.7 kB / 0.8605 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002783/1.747, allocations: 140.9 kB / 0.8606 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/1.749, allocations: 0.9651 MB / 0.8616 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008407/1.758, allocations: 1.962 MB / 0.8635 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/1.769, allocations: 7.738 MB / 0.871 GB, free: 3.113 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006925/1.776, allocations: 474 kB / 0.8715 GB, free: 2.715 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/1.778, allocations: 486.2 kB / 0.8719 GB, free: 2.262 MB / 490.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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rightTrail.color[3],rightTrail.color[2],rightTrail.color[1],leftTrail.color[3],leftTrail.color[2],leftTrail.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[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],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[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 (1066): * Single equations (assignments): 1056 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006633/1.785, allocations: 2.523 MB / 0.8744 GB, free: 0 / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2406/2.025, allocations: 481 kB / 0.8749 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/2.036, allocations: 5.674 MB / 0.8804 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001609/2.036, allocations: 67.95 kB / 0.8805 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/2.036, allocations: 15.56 kB / 0.8805 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.794e-05/2.036, allocations: 34.77 kB / 0.8805 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03228/2.069, allocations: 18.36 MB / 0.8985 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-05/2.069, allocations: 10.62 kB / 0.8985 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00346/2.072, allocations: 0.7724 MB / 0.8992 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/2.074, allocations: 0.7486 MB / 0.8999 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004537/2.075, allocations: 101.2 kB / 0.9 GB, free: 103.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008981/2.084, allocations: 6.879 MB / 0.9068 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.134e-05/2.084, allocations: 13.34 kB / 0.9068 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/2.099, allocations: 10.56 MB / 0.9171 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/2.101, allocations: 0.5396 MB / 0.9176 GB, free: 99.77 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001838/2.103, allocations: 94.14 kB / 0.9177 GB, free: 99.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003456/2.106, allocations: 208.5 kB / 0.9179 GB, free: 99.77 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009632/2.107, allocations: 321.9 kB / 0.9182 GB, free: 99.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002736/2.108, allocations: 131.5 kB / 0.9183 GB, free: 99.76 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004944/2.112, allocations: 2.651 MB / 0.9209 GB, free: 99.58 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/2.112, allocations: 3.969 kB / 0.9209 GB, free: 99.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008037/2.121, allocations: 1.517 MB / 0.9224 GB, free: 99.58 MB / 490.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,revolute2.phi,revolute.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 (424): * Single equations (assignments): 413 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 51} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007762/2.121, allocations: 298.9 kB / 0.9227 GB, free: 99.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01167/2.133, allocations: 7.983 MB / 0.9305 GB, free: 97.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/2.133, allocations: 3.938 kB / 0.9305 GB, free: 97.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004548/2.138, allocations: 3.51 MB / 0.9339 GB, free: 95.69 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/2.141, allocations: 0.5934 MB / 0.9345 GB, free: 95.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02367/2.164, allocations: 15.79 MB / 0.9499 GB, free: 87.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004353/2.169, allocations: 4.137 MB / 0.954 GB, free: 85.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005978/2.175, allocations: 2.354 MB / 0.9563 GB, free: 85.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/2.176, allocations: 376 kB / 0.9566 GB, free: 85.71 MB / 490.7 MB Notification: Performance of SimCode: time 1.122e-06/2.176, allocations: 0 / 0.9566 GB, free: 85.71 MB / 490.7 MB Notification: Performance of Templates: time 0.09105/2.267, allocations: 54.91 MB / 1.01 GB, free: 46.82 MB / 490.7 MB make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.makefile (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)