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.0.0+maint.om/package.mo", uses=false) 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/PlanarMechanics 1.6.0/package.mo", uses=false) 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.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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 104.1 kB / 15.98 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 187.5 kB / 16.9 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04203/0.04203, allocations: 9.106 MB / 299.8 MB, free: 5.863 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 55.91 kB / 362.1 MB, free: 7.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2205, allocations: 51.43 MB / 413.5 MB, free: 25.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.05692/0.2774, allocations: 76.02 MB / 489.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03504/0.3125, allocations: 15.24 MB / 0.4929 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0173/0.3299, allocations: 291.4 kB / 0.4932 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.3323, allocations: 0.5282 MB / 0.4937 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006543/0.3388, allocations: 2.019 MB / 0.4957 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.3406, allocations: 419.5 kB / 0.4961 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007294/0.3479, allocations: 4.655 MB / 0.5007 GB, free: 5.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003446/0.3514, allocations: 1.939 MB / 0.5025 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003265/0.3547, allocations: 1.731 MB / 0.5042 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2554/0.61, allocations: 2.589 MB / 0.5068 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002107/0.6122, allocations: 410.6 kB / 0.5072 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003001/0.6152, allocations: 1.053 MB / 0.5082 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002326/0.6176, allocations: 2.161 MB / 0.5103 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004282/0.6219, allocations: 2.832 MB / 0.5131 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00748/0.6294, allocations: 6.248 MB / 0.5192 GB, free: 2.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.6294, allocations: 2.625 kB / 0.5192 GB, free: 2.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6294, allocations: 0.5 kB / 0.5192 GB, free: 2.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002837/0.6297, allocations: 5.531 kB / 0.5192 GB, free: 2.602 MB / 382.1 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.05028/0.68, allocations: 11.95 MB / 0.5308 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.68, allocations: 8.844 kB / 0.5309 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008585/0.6886, allocations: 2.047 MB / 0.5329 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/0.6948, allocations: 2.464 MB / 0.5353 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.6951, allocations: 303 kB / 0.5356 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001796/0.6969, allocations: 403.4 kB / 0.5359 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03416/0.731, allocations: 15.28 MB / 0.5509 GB, free: 8.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002057/0.7313, allocations: 50.16 kB / 0.5509 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001067/0.7324, allocations: 192.4 kB / 0.5511 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004692/0.7371, allocations: 2.861 MB / 0.5539 GB, free: 5.441 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0376/0.7747, allocations: 16.01 MB / 0.5695 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07916/0.8539, allocations: 52.69 MB / 0.621 GB, free: 500 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03385/0.8878, allocations: 7.623 MB / 0.6284 GB, free: 8.746 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005813/0.8937, allocations: 2.986 MB / 0.6313 GB, free: 5.754 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02846/0.9222, allocations: 20.41 MB / 0.6513 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01126/0.9335, allocations: 3.795 MB / 0.655 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=429): time 9.107e-06/0.9336, allocations: 0 / 0.655 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=504): time 0.07211/1.006, allocations: 42.39 MB / 0.6964 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1866/1.192, allocations: 0.8229 MB / 0.6972 GB, free: 237.9 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007245/1.2, allocations: 4.364 MB / 0.7014 GB, free: 237.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007959/1.2, allocations: 102.2 kB / 0.7015 GB, free: 237.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003013/1.203, allocations: 3.498 MB / 0.705 GB, free: 235.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002307/1.206, allocations: 1.807 MB / 0.7067 GB, free: 234 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002595/1.208, allocations: 1.681 MB / 0.7084 GB, free: 233.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.925e-05/1.208, allocations: 301.1 kB / 0.7087 GB, free: 232.9 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004281/1.213, allocations: 2.992 MB / 0.7116 GB, free: 231.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006277/1.219, allocations: 7.138 MB / 0.7185 GB, free: 225.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/1.231, allocations: 11.13 MB / 0.7294 GB, free: 217 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001276/1.231, allocations: 42.78 kB / 0.7295 GB, free: 217 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.01897/1.25, allocations: 11.06 MB / 0.7403 GB, free: 208.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.25, allocations: 89.7 kB / 0.7403 GB, free: 208.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000161/1.25, allocations: 140 kB / 0.7405 GB, free: 208.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/1.252, allocations: 0.9488 MB / 0.7414 GB, free: 207.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006616/1.259, allocations: 1.996 MB / 0.7433 GB, free: 205.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009163/1.268, allocations: 8.119 MB / 0.7513 GB, free: 198.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006672/1.275, allocations: 474.3 kB / 0.7517 GB, free: 198.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00155/1.276, allocations: 490.5 kB / 0.7522 GB, free: 197.8 MB / 0.5294 GB 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.004844/1.281, allocations: 2.527 MB / 0.7547 GB, free: 195.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009788/1.282, allocations: 481.9 kB / 0.7551 GB, free: 194.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008727/1.291, allocations: 5.847 MB / 0.7608 GB, free: 188.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001606/1.291, allocations: 71.88 kB / 0.7609 GB, free: 188.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/1.291, allocations: 16 kB / 0.7609 GB, free: 188.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-05/1.291, allocations: 31.91 kB / 0.7609 GB, free: 188.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02452/1.316, allocations: 18.9 MB / 0.7794 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-05/1.316, allocations: 12 kB / 0.7794 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003003/1.319, allocations: 0.8036 MB / 0.7802 GB, free: 168.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/1.321, allocations: 0.7914 MB / 0.781 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003769/1.321, allocations: 104 kB / 0.7811 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007518/1.329, allocations: 7.407 MB / 0.7883 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.329, allocations: 15.94 kB / 0.7883 GB, free: 160.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01311/1.342, allocations: 10.02 MB / 0.7981 GB, free: 149.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/1.343, allocations: 0.5186 MB / 0.7986 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/1.345, allocations: 99.98 kB / 0.7987 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002854/1.348, allocations: 223.7 kB / 0.7989 GB, free: 149 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008039/1.348, allocations: 323 kB / 0.7992 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002864/1.349, allocations: 139.9 kB / 0.7994 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004567/1.353, allocations: 2.75 MB / 0.8021 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.71e-07/1.353, allocations: 3.094 kB / 0.8021 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008361/1.362, allocations: 1.508 MB / 0.8035 GB, free: 144.3 MB / 0.5294 GB 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.001046/1.363, allocations: 288.3 kB / 0.8038 GB, free: 144 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02842/1.391, allocations: 17.86 MB / 0.8212 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.391, allocations: 0 / 0.8212 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004964/1.396, allocations: 3.604 MB / 0.8248 GB, free: 122.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004142/1.4, allocations: 0.7008 MB / 0.8254 GB, free: 121.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/1.422, allocations: 16.92 MB / 0.842 GB, free: 104.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004209/1.427, allocations: 4.017 MB / 0.8459 GB, free: 100.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/1.428, allocations: 447.3 kB / 0.8463 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of SimCode: time 7.81e-07/1.428, allocations: 0 / 0.8463 GB, free: 100.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.4128/1.841, allocations: 205 MB / 1.047 GB, free: 113.9 MB / 0.5294 GB 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)