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.001232/0.001232, allocations: 106.5 kB / 16.41 MB, free: 6.492 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.00133/0.00133, allocations: 189.5 kB / 17.34 MB, free: 5.75 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.316/1.316, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04465/0.04465, allocations: 9.12 MB / 300.3 MB, free: 5.855 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 415.3 MB, free: 21.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09283, allocations: 51.43 MB / 466.8 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.01653/0.1094, allocations: 16.16 MB / 482.9 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008179/0.1176, allocations: 4.107 MB / 487 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.1199, allocations: 67.88 kB / 487.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.1219, allocations: 0.6513 MB / 487.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006134/0.1281, allocations: 2.2 MB / 489.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001662/0.1297, allocations: 483.2 kB / 490.4 MB, free: 9.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006611/0.1364, allocations: 4.633 MB / 495 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003066/0.1395, allocations: 1.907 MB / 497 MB, free: 3.332 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003031/0.1425, allocations: 1.735 MB / 498.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003743/0.1463, allocations: 2.424 MB / 0.4894 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001391/0.1477, allocations: 408 kB / 0.4898 GB, free: 14.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.1504, allocations: 1.038 MB / 0.4908 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002662/0.1531, allocations: 2.142 MB / 0.4929 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004705/0.1578, allocations: 2.815 MB / 0.4956 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.1682, allocations: 8.181 MB / 0.5036 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1682, allocations: 0 / 0.5036 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1682, allocations: 3.938 kB / 0.5036 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002884/0.1685, allocations: 0 / 0.5036 GB, free: 0.5195 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.2537/0.4222, allocations: 11.95 MB / 0.5153 GB, free: 39.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.4223, allocations: 8.812 kB / 0.5153 GB, free: 39.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009064/0.4313, allocations: 2.054 MB / 0.5173 GB, free: 38.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006971/0.4384, allocations: 2.475 MB / 0.5197 GB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004476/0.4388, allocations: 303.2 kB / 0.52 GB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001897/0.4407, allocations: 403.1 kB / 0.5204 GB, free: 37.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03253/0.4733, allocations: 15.27 MB / 0.5353 GB, free: 24.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000312/0.4737, allocations: 63.36 kB / 0.5353 GB, free: 24.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001845/0.4755, allocations: 199.7 kB / 0.5355 GB, free: 23.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004188/0.4797, allocations: 2.855 MB / 0.5383 GB, free: 21.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03223/0.512, allocations: 16.01 MB / 0.554 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08178/0.5938, allocations: 52.58 MB / 0.6053 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03406/0.6279, allocations: 7.609 MB / 0.6127 GB, free: 7.652 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005419/0.6334, allocations: 3.002 MB / 0.6157 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03309/0.6665, allocations: 20.39 MB / 0.6356 GB, free: 14.22 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01144/0.678, allocations: 3.797 MB / 0.6393 GB, free: 10.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=429): time 1.462e-05/0.678, allocations: 0 / 0.6393 GB, free: 10.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=504): time 0.07983/0.7579, allocations: 42.41 MB / 0.6807 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003688/0.7583, allocations: 0.8264 MB / 0.6815 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006258/0.7645, allocations: 4.357 MB / 0.6858 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006599/0.7652, allocations: 105.7 kB / 0.6859 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002772/0.768, allocations: 3.499 MB / 0.6893 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002076/0.7701, allocations: 1.807 MB / 0.691 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00253/0.7726, allocations: 1.68 MB / 0.6927 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7728, allocations: 301.1 kB / 0.693 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005227/0.778, allocations: 3.004 MB / 0.6959 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008559/0.7866, allocations: 7.13 MB / 0.7029 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2329/1.02, allocations: 11.11 MB / 0.7137 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001516/1.02, allocations: 45.31 kB / 0.7138 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.02456/1.044, allocations: 11.05 MB / 0.7246 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002446/1.045, allocations: 92 kB / 0.7246 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003501/1.045, allocations: 140.2 kB / 0.7248 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002559/1.048, allocations: 0.9432 MB / 0.7257 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006958/1.055, allocations: 1.997 MB / 0.7277 GB, free: 171.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/1.065, allocations: 8.115 MB / 0.7356 GB, free: 167.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006313/1.072, allocations: 475.3 kB / 0.736 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001478/1.073, allocations: 488.1 kB / 0.7365 GB, free: 167.5 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.004893/1.078, allocations: 2.526 MB / 0.739 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009335/1.079, allocations: 481.2 kB / 0.7394 GB, free: 166.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008685/1.088, allocations: 5.848 MB / 0.7451 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001419/1.088, allocations: 71.23 kB / 0.7452 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-05/1.088, allocations: 19.94 kB / 0.7452 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-05/1.088, allocations: 30.27 kB / 0.7452 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02512/1.113, allocations: 18.59 MB / 0.7634 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.809e-05/1.113, allocations: 8 kB / 0.7634 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003191/1.116, allocations: 0.8035 MB / 0.7642 GB, free: 146 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/1.118, allocations: 0.7803 MB / 0.765 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005933/1.119, allocations: 99.98 kB / 0.7651 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007821/1.126, allocations: 7.406 MB / 0.7723 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/1.126, allocations: 19.88 kB / 0.7723 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/1.14, allocations: 10.02 MB / 0.7821 GB, free: 127.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/1.141, allocations: 0.5208 MB / 0.7826 GB, free: 126.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001195/1.142, allocations: 95.98 kB / 0.7827 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/1.145, allocations: 227.7 kB / 0.7829 GB, free: 126.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006371/1.145, allocations: 330.5 kB / 0.7832 GB, free: 126.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002564/1.146, allocations: 132 kB / 0.7834 GB, free: 126 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003497/1.149, allocations: 2.754 MB / 0.786 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.21e-07/1.149, allocations: 0 / 0.786 GB, free: 123.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006282/1.156, allocations: 1.514 MB / 0.7875 GB, free: 121.7 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.0007362/1.156, allocations: 289.9 kB / 0.7878 GB, free: 121.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01113/1.167, allocations: 8.259 MB / 0.7959 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.167, allocations: 0 / 0.7959 GB, free: 113.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004668/1.172, allocations: 3.609 MB / 0.7994 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00443/1.177, allocations: 0.6856 MB / 0.8001 GB, free: 108.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.197, allocations: 14.02 MB / 0.8138 GB, free: 94.58 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003718/1.201, allocations: 4.025 MB / 0.8177 GB, free: 90.52 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00164/1.203, allocations: 447.3 kB / 0.8181 GB, free: 90.09 MB / 0.5294 GB Notification: Performance of SimCode: time 1.173e-06/1.203, allocations: 0 / 0.8181 GB, free: 90.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.3918/1.594, allocations: 206.7 MB / 1.02 GB, free: 78.46 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)