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.0009246/0.0009246, allocations: 174.8 kB / 12.73 MB, free: 2.59 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.163/1.163, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000836/0.0008361, allocations: 101.4 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.5.1/package.mo): time 0.038/0.038, allocations: 8.825 MB / 345.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.188e-05, allocations: 0 / 405.6 MB, free: 61.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07444/0.07447, allocations: 52.39 MB / 458 MB, free: 9.066 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2988/0.3733, allocations: 91.39 MB / 0.5365 GB, free: 10.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.3736, allocations: 81.77 kB / 0.5365 GB, free: 10.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4789/0.8525, allocations: 113.8 MB / 0.6476 GB, free: 95.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.8525, allocations: 0 / 0.6476 GB, free: 95.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002463/0.8528, allocations: 98.5 kB / 0.6477 GB, free: 95.79 MB / 458.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.04581/0.8986, allocations: 7.777 MB / 0.6553 GB, free: 94.72 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.8987, allocations: 9.125 kB / 0.6553 GB, free: 94.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.9101, allocations: 2.255 MB / 0.6575 GB, free: 94.36 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008866/0.919, allocations: 2.86 MB / 0.6603 GB, free: 93.86 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005695/0.9196, allocations: 407.3 kB / 0.6607 GB, free: 93.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003324/0.9229, allocations: 0.52 MB / 0.6612 GB, free: 93.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03717/0.9601, allocations: 14.8 MB / 0.6757 GB, free: 91.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004323/0.9606, allocations: 62.53 kB / 0.6757 GB, free: 91.49 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002865/0.9635, allocations: 243.1 kB / 0.676 GB, free: 91.49 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002819/0.9663, allocations: 1.626 MB / 0.6776 GB, free: 91.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0333/0.9996, allocations: 15.83 MB / 0.693 GB, free: 91.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07105/1.071, allocations: 53.01 MB / 0.7448 GB, free: 57.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03028/1.101, allocations: 7.339 MB / 0.7519 GB, free: 52.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004274/1.105, allocations: 2.835 MB / 0.7547 GB, free: 49.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02216/1.128, allocations: 20.32 MB / 0.7746 GB, free: 29.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008463/1.136, allocations: 3.653 MB / 0.7781 GB, free: 26.93 MB / 458.7 MB Notification: Performance of pre-optimization done (n=421): time 9.909e-06/1.136, allocations: 0 / 0.7781 GB, free: 26.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=496): time 0.06084/1.197, allocations: 39.33 MB / 0.8165 GB, free: 5.574 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003486/1.197, allocations: 0.8224 MB / 0.8173 GB, free: 4.566 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005768/1.203, allocations: 3.759 MB / 0.821 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007856/1.204, allocations: 97.7 kB / 0.8211 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2129/1.417, allocations: 3.526 MB / 0.8246 GB, free: 106.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002137/1.419, allocations: 1.781 MB / 0.8263 GB, free: 105.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008299/1.42, allocations: 173.6 kB / 0.8265 GB, free: 105.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000592/1.42, allocations: 0.6726 MB / 0.8271 GB, free: 105.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005323/1.426, allocations: 2.799 MB / 0.8298 GB, free: 105.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008632/1.434, allocations: 6.903 MB / 0.8366 GB, free: 100 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00768/1.442, allocations: 4.483 MB / 0.841 GB, free: 99.92 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001779/1.442, allocations: 40.72 kB / 0.841 GB, free: 99.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.01781/1.46, allocations: 10.66 MB / 0.8514 GB, free: 99.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001286/1.46, allocations: 90.17 kB / 0.8515 GB, free: 99.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001392/1.46, allocations: 138.6 kB / 0.8516 GB, free: 99.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/1.462, allocations: 0.9516 MB / 0.8526 GB, free: 99.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006208/1.469, allocations: 1.971 MB / 0.8545 GB, free: 98.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008873/1.477, allocations: 7.436 MB / 0.8617 GB, free: 97.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006145/1.484, allocations: 482.6 kB / 0.8622 GB, free: 97.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001477/1.485, allocations: 482 kB / 0.8627 GB, free: 97.34 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 ($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 (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.002323/1.487, allocations: 0.711 MB / 0.8634 GB, free: 96.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.489, allocations: 486.6 kB / 0.8638 GB, free: 96.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009726/1.498, allocations: 5.556 MB / 0.8693 GB, free: 96.24 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001478/1.499, allocations: 70.2 kB / 0.8693 GB, free: 96.24 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.665e-05/1.499, allocations: 19.25 kB / 0.8693 GB, free: 96.24 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.318e-05/1.499, allocations: 27.05 kB / 0.8694 GB, free: 96.24 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/1.527, allocations: 18.26 MB / 0.8872 GB, free: 87.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.544e-05/1.527, allocations: 9.656 kB / 0.8872 GB, free: 87.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/1.53, allocations: 0.7748 MB / 0.888 GB, free: 87.45 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/1.532, allocations: 0.7473 MB / 0.8887 GB, free: 87.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005274/1.532, allocations: 92.47 kB / 0.8888 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007604/1.54, allocations: 6.595 MB / 0.8952 GB, free: 83.71 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.54, allocations: 14.19 kB / 0.8952 GB, free: 83.71 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01322/1.553, allocations: 10.36 MB / 0.9054 GB, free: 78.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/1.554, allocations: 0.5381 MB / 0.9059 GB, free: 78.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001181/1.556, allocations: 96.84 kB / 0.906 GB, free: 78.08 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002694/1.558, allocations: 214.1 kB / 0.9062 GB, free: 78.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006853/1.559, allocations: 320.1 kB / 0.9065 GB, free: 77.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003698/1.559, allocations: 132.4 kB / 0.9066 GB, free: 77.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004453/1.564, allocations: 2.602 MB / 0.9091 GB, free: 76 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.564, allocations: 0 / 0.9091 GB, free: 76 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007818/1.572, allocations: 1.518 MB / 0.9106 GB, free: 74.5 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,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 (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.001051/1.573, allocations: 295.7 kB / 0.9109 GB, free: 74.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01108/1.584, allocations: 7.821 MB / 0.9185 GB, free: 66.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/1.584, allocations: 0.8125 kB / 0.9185 GB, free: 66.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00454/1.588, allocations: 3.433 MB / 0.9219 GB, free: 63.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/1.592, allocations: 0.5907 MB / 0.9225 GB, free: 63.17 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.611, allocations: 11.35 MB / 0.9336 GB, free: 52.94 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00508/1.616, allocations: 4.133 MB / 0.9376 GB, free: 49.82 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006496/1.622, allocations: 2.352 MB / 0.9399 GB, free: 48.33 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001462/1.624, allocations: 380.3 kB / 0.9403 GB, free: 47.98 MB / 474.7 MB Notification: Performance of SimCode: time 7.92e-07/1.624, allocations: 0 / 0.9403 GB, free: 47.98 MB / 474.7 MB Notification: Performance of Templates: time 0.288/1.912, allocations: 54.9 MB / 0.9939 GB, free: 93.96 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)