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.001548/0.001548, allocations: 115 kB / 16.42 MB, free: 6.504 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.001684/0.001684, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.344/1.344, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04622/0.04622, allocations: 9.113 MB / 300.3 MB, free: 5.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 59.89 kB / 415.3 MB, free: 21.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1158, allocations: 51.45 MB / 466.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.01593/0.1318, allocations: 16.15 MB / 482.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008505/0.1404, allocations: 4.111 MB / 487 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002253/0.1426, allocations: 67.88 kB / 487.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.1446, allocations: 0.6474 MB / 487.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006351/0.151, allocations: 2.279 MB / 490 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.1525, allocations: 479.2 kB / 490.5 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006203/0.1587, allocations: 4.636 MB / 495.1 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002867/0.1616, allocations: 1.896 MB / 497 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.1644, allocations: 1.743 MB / 498.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003683/0.1682, allocations: 2.42 MB / 0.4894 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001311/0.1695, allocations: 412 kB / 0.4898 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.1722, allocations: 1.038 MB / 0.4909 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002801/0.1751, allocations: 2.142 MB / 0.4929 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004325/0.1794, allocations: 2.815 MB / 0.4957 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.1901, allocations: 8.215 MB / 0.5037 GB, free: 404 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1901, allocations: 0 / 0.5037 GB, free: 404 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1901, allocations: 0 / 0.5037 GB, free: 404 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003104/0.1904, allocations: 0 / 0.5037 GB, free: 404 kB / 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.2504/0.4408, allocations: 12.1 MB / 0.5155 GB, free: 39.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4409, allocations: 9.75 kB / 0.5155 GB, free: 39.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007342/0.4482, allocations: 2.087 MB / 0.5176 GB, free: 38.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004204/0.4524, allocations: 2.484 MB / 0.52 GB, free: 36.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.4527, allocations: 302.9 kB / 0.5203 GB, free: 36.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008748/0.4536, allocations: 402.6 kB / 0.5207 GB, free: 36.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02491/0.4785, allocations: 15.27 MB / 0.5356 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/0.4787, allocations: 68.14 kB / 0.5357 GB, free: 23.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004905/0.4792, allocations: 193.5 kB / 0.5358 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003498/0.4827, allocations: 2.859 MB / 0.5386 GB, free: 20.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02862/0.5113, allocations: 16.01 MB / 0.5543 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07177/0.5831, allocations: 52.68 MB / 0.6057 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0323/0.6154, allocations: 7.614 MB / 0.6131 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005039/0.6205, allocations: 3.006 MB / 0.6161 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02675/0.6473, allocations: 20.4 MB / 0.636 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01041/0.6577, allocations: 3.801 MB / 0.6397 GB, free: 9.871 MB / 478.1 MB Notification: Performance of pre-optimization done (n=429): time 1.085e-05/0.6578, allocations: 0 / 0.6397 GB, free: 9.871 MB / 478.1 MB Notification: Performance of matching and sorting (n=504): time 0.07698/0.7348, allocations: 44.12 MB / 0.6828 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003603/0.7352, allocations: 0.8186 MB / 0.6836 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006129/0.7413, allocations: 4.373 MB / 0.6879 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006802/0.742, allocations: 105.7 kB / 0.688 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002814/0.7448, allocations: 3.636 MB / 0.6915 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001812/0.7466, allocations: 1.895 MB / 0.6934 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00215/0.7488, allocations: 1.681 MB / 0.695 GB, free: 484 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.7489, allocations: 309.1 kB / 0.6953 GB, free: 172 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2184/0.9672, allocations: 2.996 MB / 0.6982 GB, free: 171 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007567/0.9749, allocations: 7.129 MB / 0.7052 GB, free: 165 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/0.9879, allocations: 11.12 MB / 0.7161 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001428/0.9881, allocations: 40.19 kB / 0.7161 GB, free: 156.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.01699/1.005, allocations: 11.08 MB / 0.7269 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/1.005, allocations: 95.59 kB / 0.727 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001969/1.005, allocations: 140.5 kB / 0.7272 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/1.008, allocations: 0.9384 MB / 0.7281 GB, free: 152.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006202/1.014, allocations: 1.997 MB / 0.73 GB, free: 152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009719/1.024, allocations: 8.122 MB / 0.7379 GB, free: 144.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00668/1.03, allocations: 474.9 kB / 0.7384 GB, free: 144.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/1.032, allocations: 483 kB / 0.7389 GB, free: 144.1 MB / 0.5137 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.005164/1.037, allocations: 2.533 MB / 0.7413 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001206/1.038, allocations: 498.8 kB / 0.7418 GB, free: 141.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/1.049, allocations: 5.846 MB / 0.7475 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.728e-05/1.049, allocations: 39.42 kB / 0.7476 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/1.049, allocations: 9.75 kB / 0.7476 GB, free: 136.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.05, allocations: 0.5385 MB / 0.7481 GB, free: 136.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/1.051, allocations: 92 kB / 0.7482 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002642/1.054, allocations: 219.7 kB / 0.7484 GB, free: 136.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007344/1.055, allocations: 347.5 kB / 0.7487 GB, free: 135.9 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01156/1.066, allocations: 8.638 MB / 0.7572 GB, free: 127.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01185/1.078, allocations: 11.15 MB / 0.7681 GB, free: 116.1 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003371/1.082, allocations: 2.626 MB / 0.7706 GB, free: 113.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004425/1.086, allocations: 2.75 MB / 0.7733 GB, free: 110.7 MB / 0.5137 GB Notification: Performance of Backend: time 6.51e-07/1.086, allocations: 0 / 0.7733 GB, free: 110.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01587/1.102, allocations: 6.291 MB / 0.7794 GB, free: 104.4 MB / 0.5137 GB Notification: Performance of SimCode: time 0.01941/1.121, allocations: 12.78 MB / 0.7919 GB, free: 91.63 MB / 0.5137 GB Notification: Performance of Templates: time 0.09976/1.221, allocations: 66.92 MB / 0.8573 GB, free: 25.05 MB / 0.5137 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)