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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 218.9 kB / 22.99 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04733/0.04733, allocations: 9.236 MB / 322.4 MB, free: 9.855 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") translateModel(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear") [Timeout 660] "Notification: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.91 kB / 448.9 MB, free: 14.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1057, allocations: 55.47 MB / 0.4926 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.01651/0.1222, allocations: 13.95 MB / 0.5062 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008524/0.1307, allocations: 3.99 MB / 0.5101 GB, free: 4.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002264/0.133, allocations: 79.69 kB / 0.5102 GB, free: 4.422 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.1347, allocations: 0.6746 MB / 0.5108 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005289/0.14, allocations: 2.271 MB / 0.513 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.1412, allocations: 479.2 kB / 0.5135 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2041/0.3452, allocations: 4.586 MB / 0.518 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.3473, allocations: 1.56 MB / 0.5195 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.3498, allocations: 1.779 MB / 0.5212 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003481/0.3533, allocations: 2.445 MB / 0.5236 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001194/0.3545, allocations: 411 kB / 0.524 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.3569, allocations: 0.9691 MB / 0.525 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002291/0.3592, allocations: 2.158 MB / 0.5271 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003058/0.3622, allocations: 2.03 MB / 0.5291 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009442/0.3717, allocations: 8.194 MB / 0.5371 GB, free: 4.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3717, allocations: 0 / 0.5371 GB, free: 4.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3717, allocations: 0 / 0.5371 GB, free: 4.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000258/0.3719, allocations: 1.406 kB / 0.5371 GB, free: 4.949 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.04956/0.4215, allocations: 12.16 MB / 0.5489 GB, free: 14.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4216, allocations: 9.875 kB / 0.5489 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007901/0.4295, allocations: 2.088 MB / 0.551 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006616/0.4361, allocations: 2.437 MB / 0.5534 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002797/0.4363, allocations: 304.4 kB / 0.5537 GB, free: 11.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.4378, allocations: 400.1 kB / 0.554 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03628/0.4741, allocations: 15.28 MB / 0.569 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001958/0.4743, allocations: 60.92 kB / 0.569 GB, free: 12.19 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008567/0.4751, allocations: 195.6 kB / 0.5692 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005063/0.4802, allocations: 2.853 MB / 0.572 GB, free: 9.234 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04006/0.5202, allocations: 15.94 MB / 0.5876 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08016/0.6004, allocations: 48.69 MB / 0.6351 GB, free: 8.047 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0333/0.6337, allocations: 6.834 MB / 0.6418 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005292/0.639, allocations: 2.831 MB / 0.6446 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02481/0.6638, allocations: 11.63 MB / 0.6559 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01095/0.6748, allocations: 3.814 MB / 0.6596 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=429): time 1.141e-05/0.6748, allocations: 0 / 0.6596 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=504): time 0.07798/0.7528, allocations: 43.35 MB / 0.702 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000496/0.7532, allocations: 0.8303 MB / 0.7028 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006101/0.7593, allocations: 3.857 MB / 0.7065 GB, free: 14.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007375/0.7601, allocations: 109.6 kB / 0.7066 GB, free: 14.35 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003842/0.7639, allocations: 3.677 MB / 0.7102 GB, free: 10.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002713/0.7666, allocations: 1.9 MB / 0.7121 GB, free: 8.812 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003148/0.7698, allocations: 1.695 MB / 0.7137 GB, free: 7.105 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7699, allocations: 301.1 kB / 0.714 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005482/0.7754, allocations: 3.025 MB / 0.717 GB, free: 3.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2249/1, allocations: 7.154 MB / 0.724 GB, free: 175.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01394/1.014, allocations: 11.13 MB / 0.7348 GB, free: 169.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003551/1.015, allocations: 40.34 kB / 0.7349 GB, free: 169.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.02256/1.037, allocations: 11.02 MB / 0.7456 GB, free: 165.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/1.037, allocations: 97.48 kB / 0.7457 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002056/1.038, allocations: 140.4 kB / 0.7459 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/1.04, allocations: 0.9321 MB / 0.7468 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007344/1.047, allocations: 1.995 MB / 0.7487 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/1.057, allocations: 7.869 MB / 0.7564 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007347/1.065, allocations: 481.3 kB / 0.7569 GB, free: 161.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002453/1.067, allocations: 485.3 kB / 0.7573 GB, free: 161.1 MB / 0.545 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.006157/1.073, allocations: 2.529 MB / 0.7598 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/1.074, allocations: 445.1 kB / 0.7602 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009997/1.084, allocations: 5.768 MB / 0.7659 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001356/1.085, allocations: 69.36 kB / 0.7659 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.049e-05/1.085, allocations: 16.56 kB / 0.7659 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-05/1.085, allocations: 37.77 kB / 0.766 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02408/1.109, allocations: 16.7 MB / 0.7823 GB, free: 142 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-05/1.109, allocations: 8 kB / 0.7823 GB, free: 142 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003084/1.112, allocations: 0.801 MB / 0.7831 GB, free: 141.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/1.113, allocations: 0.7746 MB / 0.7838 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005577/1.114, allocations: 103.8 kB / 0.7839 GB, free: 140.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007875/1.122, allocations: 7.151 MB / 0.7909 GB, free: 134.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/1.122, allocations: 13.72 kB / 0.7909 GB, free: 134.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/1.136, allocations: 9.959 MB / 0.8007 GB, free: 124.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/1.137, allocations: 409.6 kB / 0.8011 GB, free: 123.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001125/1.138, allocations: 99.55 kB / 0.8011 GB, free: 123.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0025/1.141, allocations: 227.7 kB / 0.8014 GB, free: 123.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007013/1.141, allocations: 349 kB / 0.8017 GB, free: 123.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003358/1.142, allocations: 136 kB / 0.8018 GB, free: 123 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003516/1.145, allocations: 2.221 MB / 0.804 GB, free: 120.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/1.145, allocations: 0 / 0.804 GB, free: 120.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006979/1.152, allocations: 1.475 MB / 0.8054 GB, free: 119.4 MB / 0.545 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.00095/1.153, allocations: 280.2 kB / 0.8057 GB, free: 119.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.165, allocations: 7.662 MB / 0.8132 GB, free: 111.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/1.165, allocations: 4 kB / 0.8132 GB, free: 111.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00467/1.17, allocations: 3.096 MB / 0.8162 GB, free: 108.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/1.173, allocations: 0.5024 MB / 0.8167 GB, free: 107.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/1.197, allocations: 14.23 MB / 0.8306 GB, free: 93.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00538/1.202, allocations: 3.501 MB / 0.834 GB, free: 89.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002052/1.204, allocations: 423.3 kB / 0.8344 GB, free: 89.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.002e-06/1.204, allocations: 0 / 0.8344 GB, free: 89.5 MB / 0.545 GB Notification: Performance of Templates: time 0.3747/1.579, allocations: 204 MB / 1.034 GB, free: 100.8 MB / 0.5606 GB " [Timeout remaining time 658] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.543698616791517] Failed to read output from testmodel.py, exit status != 0: 1.5880472641438246 1.596563468 1.222588225 Calling exit ...