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.000966/0.000966, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.0009143/0.0009142, allocations: 87.47 kB / 280.5 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.03981/0.03981, allocations: 8.826 MB / 340.1 MB, free: 6.383 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.454e-05/1.458e-05, allocations: 1.125 kB / 398.7 MB, free: 47.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1225, allocations: 52.39 MB / 451.1 MB, free: 4.527 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4299/0.5524, allocations: 90.65 MB / 0.529 GB, free: 29.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.5527, allocations: 82.08 kB / 0.5291 GB, free: 29.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2657/0.8184, allocations: 110.8 MB / 0.6373 GB, free: 14.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.8185, allocations: 0 / 0.6373 GB, free: 14.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002599/0.8188, allocations: 100 kB / 0.6374 GB, free: 14.16 MB / 410.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.05092/0.8697, allocations: 7.778 MB / 0.645 GB, free: 6.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.8698, allocations: 8.031 kB / 0.645 GB, free: 6.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0141/0.8839, allocations: 2.254 MB / 0.6472 GB, free: 4.027 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/0.8947, allocations: 2.857 MB / 0.65 GB, free: 1.105 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004057/0.8952, allocations: 176 kB / 0.6501 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003914/0.8991, allocations: 319.8 kB / 0.6504 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02259/0.9217, allocations: 9.733 MB / 0.66 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03553/0.9573, allocations: 13.15 MB / 0.6728 GB, free: 8.871 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004007/0.9578, allocations: 67.3 kB / 0.6729 GB, free: 8.805 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003212/0.961, allocations: 31.95 kB / 0.6729 GB, free: 8.773 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003412/0.9644, allocations: 1.61 MB / 0.6745 GB, free: 7.156 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4194/1.384, allocations: 51.28 MB / 0.7245 GB, free: 65.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0145/1.398, allocations: 10.35 MB / 0.7346 GB, free: 60.73 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004058/1.402, allocations: 2.748 MB / 0.7373 GB, free: 60.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02036/1.423, allocations: 16.81 MB / 0.7537 GB, free: 52.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002648/1.426, allocations: 2.21 MB / 0.7559 GB, free: 52.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=396): time 5.42e-06/1.426, allocations: 0 / 0.7559 GB, free: 52.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=471): time 0.03169/1.457, allocations: 18.25 MB / 0.7737 GB, free: 47.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.805e-05/1.457, allocations: 210.9 kB / 0.7739 GB, free: 47.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004737/1.462, allocations: 3.066 MB / 0.7769 GB, free: 47.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006758/1.463, allocations: 25.7 kB / 0.7769 GB, free: 47.38 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002883/1.466, allocations: 3.629 MB / 0.7805 GB, free: 45.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00189/1.468, allocations: 1.633 MB / 0.7821 GB, free: 44.44 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004999/1.468, allocations: 3.094 kB / 0.7821 GB, free: 44.44 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004848/1.469, allocations: 0.6713 MB / 0.7827 GB, free: 44.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00353/1.472, allocations: 2.651 MB / 0.7853 GB, free: 43.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005725/1.478, allocations: 6.777 MB / 0.7919 GB, free: 36.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006893/1.485, allocations: 4.285 MB / 0.7961 GB, free: 35.56 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/1.485, allocations: 44.22 kB / 0.7962 GB, free: 35.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=1148) (initialization): time 0.01932/1.504, allocations: 9.577 MB / 0.8055 GB, free: 32.79 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/1.504, allocations: 95.53 kB / 0.8056 GB, free: 32.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/1.505, allocations: 141.5 kB / 0.8058 GB, free: 32.76 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/1.506, allocations: 0.9188 MB / 0.8066 GB, free: 32.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006984/1.513, allocations: 1.969 MB / 0.8086 GB, free: 32.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008564/1.522, allocations: 7.143 MB / 0.8155 GB, free: 27.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007126/1.529, allocations: 291.8 kB / 0.8158 GB, free: 27.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002125/1.531, allocations: 486.9 kB / 0.8163 GB, free: 26.77 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 655 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1063): * Single equations (assignments): 1053 * 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.001883/1.533, allocations: 0.49 MB / 0.8168 GB, free: 26.29 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009824/1.534, allocations: 414.7 kB / 0.8172 GB, free: 25.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008023/1.542, allocations: 5.094 MB / 0.8221 GB, free: 21.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001289/1.542, allocations: 55.94 kB / 0.8222 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/1.543, allocations: 15.28 kB / 0.8222 GB, free: 21.54 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.861e-05/1.543, allocations: 25.17 kB / 0.8222 GB, free: 21.54 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02132/1.564, allocations: 12.77 MB / 0.8347 GB, free: 10.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/1.564, allocations: 8 kB / 0.8347 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002993/1.567, allocations: 0.7267 MB / 0.8354 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/1.569, allocations: 0.7294 MB / 0.8361 GB, free: 9.473 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003993/1.569, allocations: 27.5 kB / 0.8362 GB, free: 9.453 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007105/1.576, allocations: 6.366 MB / 0.8424 GB, free: 3.734 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/1.576, allocations: 11.94 kB / 0.8424 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02065/1.597, allocations: 9.863 MB / 0.852 GB, free: 12.63 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.598, allocations: 474.2 kB / 0.8525 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001016/1.599, allocations: 19.8 kB / 0.8525 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/1.602, allocations: 135.7 kB / 0.8526 GB, free: 12.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000583/1.602, allocations: 297 kB / 0.8529 GB, free: 11.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002722/1.603, allocations: 126.4 kB / 0.853 GB, free: 11.76 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00371/1.606, allocations: 2.013 MB / 0.855 GB, free: 10.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.606, allocations: 0 / 0.855 GB, free: 10.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008476/1.615, allocations: 1.251 MB / 0.8562 GB, free: 8.77 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (399): * Single equations (assignments): 388 * 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.001019/1.616, allocations: 201.2 kB / 0.8564 GB, free: 8.582 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01417/1.63, allocations: 7.292 MB / 0.8635 GB, free: 1.809 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/1.63, allocations: 0 / 0.8635 GB, free: 1.809 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2926/1.923, allocations: 3.228 MB / 0.8667 GB, free: 98.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00342/1.926, allocations: 339.7 kB / 0.867 GB, free: 98.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02444/1.951, allocations: 10.89 MB / 0.8776 GB, free: 96.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005127/1.956, allocations: 4.133 MB / 0.8817 GB, free: 95.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007029/1.963, allocations: 2.266 MB / 0.8839 GB, free: 95.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.964, allocations: 346.9 kB / 0.8842 GB, free: 95.52 MB / 474.7 MB Notification: Performance of SimCode: time 3.897e-06/1.964, allocations: 0 / 0.8842 GB, free: 95.52 MB / 474.7 MB Notification: Performance of Templates: time 0.09126/2.055, allocations: 45.67 MB / 0.9288 GB, free: 93.29 MB / 474.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)