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.001475/0.001475, allocations: 110.2 kB / 16.41 MB, free: 6.402 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.001668/0.001668, allocations: 190.7 kB / 17.35 MB, free: 5.695 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.347/1.347, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04598/0.04598, allocations: 9.123 MB / 300.3 MB, free: 5.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 415.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07694/0.07814, allocations: 51.44 MB / 466.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.01501/0.09318, allocations: 16.15 MB / 482.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007798/0.101, allocations: 4.111 MB / 487 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.1025, allocations: 67.88 kB / 487.1 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.1038, allocations: 0.6513 MB / 487.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0042/0.108, allocations: 2.197 MB / 489.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.109, allocations: 487.2 kB / 490.4 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005076/0.1141, allocations: 4.639 MB / 495.1 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.1163, allocations: 1.907 MB / 497 MB, free: 3.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.1183, allocations: 1.739 MB / 498.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.1208, allocations: 2.424 MB / 0.4894 GB, free: 15.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005892/0.1214, allocations: 408 kB / 0.4898 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.1231, allocations: 1.034 MB / 0.4908 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.1247, allocations: 2.146 MB / 0.4929 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002195/0.1269, allocations: 2.815 MB / 0.4956 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007335/0.1343, allocations: 8.173 MB / 0.5036 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1343, allocations: 0 / 0.5036 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1343, allocations: 0 / 0.5036 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.344e-05/0.1344, allocations: 0 / 0.5036 GB, free: 0.4961 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.2318/0.3662, allocations: 11.95 MB / 0.5153 GB, free: 39.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3662, allocations: 9.281 kB / 0.5153 GB, free: 39.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007782/0.374, allocations: 2.046 MB / 0.5173 GB, free: 38.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004239/0.3783, allocations: 2.48 MB / 0.5197 GB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.3785, allocations: 300.7 kB / 0.52 GB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008265/0.3793, allocations: 400.4 kB / 0.5204 GB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02737/0.4067, allocations: 15.28 MB / 0.5353 GB, free: 24.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.4068, allocations: 67.36 kB / 0.5354 GB, free: 24.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005773/0.4074, allocations: 195.7 kB / 0.5356 GB, free: 23.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003757/0.4112, allocations: 2.851 MB / 0.5383 GB, free: 21.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.032/0.4432, allocations: 16.01 MB / 0.554 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07635/0.5196, allocations: 52.58 MB / 0.6053 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03534/0.555, allocations: 7.615 MB / 0.6128 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005004/0.56, allocations: 3.002 MB / 0.6157 GB, free: 4.633 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0261/0.5861, allocations: 20.38 MB / 0.6356 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01161/0.5978, allocations: 3.801 MB / 0.6393 GB, free: 10.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=429): time 8.566e-06/0.5978, allocations: 0 / 0.6393 GB, free: 10.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=504): time 0.07398/0.6718, allocations: 42.41 MB / 0.6807 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000365/0.6722, allocations: 0.8225 MB / 0.6815 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006381/0.6786, allocations: 4.357 MB / 0.6858 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006376/0.6793, allocations: 109.6 kB / 0.6859 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003024/0.6823, allocations: 3.503 MB / 0.6893 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002112/0.6844, allocations: 1.811 MB / 0.6911 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002238/0.6867, allocations: 1.676 MB / 0.6927 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.6868, allocations: 301.1 kB / 0.693 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00535/0.6921, allocations: 3 MB / 0.6959 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009008/0.7012, allocations: 7.125 MB / 0.7029 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2225/0.9237, allocations: 11.13 MB / 0.7137 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/0.9239, allocations: 40.34 kB / 0.7138 GB, free: 174.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.01961/0.9435, allocations: 11.05 MB / 0.7246 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.9436, allocations: 96.75 kB / 0.7247 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000177/0.9438, allocations: 141.4 kB / 0.7248 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/0.9459, allocations: 0.9351 MB / 0.7257 GB, free: 170.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00706/0.953, allocations: 1.999 MB / 0.7277 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009504/0.9625, allocations: 8.106 MB / 0.7356 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005649/0.9682, allocations: 478.2 kB / 0.736 GB, free: 166 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007469/0.969, allocations: 488.3 kB / 0.7365 GB, free: 165.9 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.003395/0.9724, allocations: 2.535 MB / 0.739 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007206/0.9731, allocations: 480.9 kB / 0.7394 GB, free: 164.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008472/0.9816, allocations: 5.843 MB / 0.7451 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.649e-05/0.9817, allocations: 29.97 kB / 0.7452 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.9817, allocations: 7.438 kB / 0.7452 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.9827, allocations: 0.5088 MB / 0.7457 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007742/0.9835, allocations: 97.2 kB / 0.7458 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/0.9856, allocations: 217.4 kB / 0.746 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005706/0.9862, allocations: 347.4 kB / 0.7463 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01049/0.9967, allocations: 8.636 MB / 0.7547 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01046/1.007, allocations: 11.13 MB / 0.7656 GB, free: 144.6 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002867/1.01, allocations: 2.616 MB / 0.7682 GB, free: 142 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003202/1.013, allocations: 2.754 MB / 0.7709 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of Backend: time 4.61e-07/1.013, allocations: 4 kB / 0.7709 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.013/1.026, allocations: 6.285 MB / 0.777 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01723/1.044, allocations: 12.58 MB / 0.7893 GB, free: 120.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.09505/1.139, allocations: 66.92 MB / 0.8546 GB, free: 53.73 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)