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.001223/0.001223, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001379/0.001379, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.04791/0.04791, allocations: 9.233 MB / 322.4 MB, free: 10.07 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.001947/0.001947, allocations: 71.88 kB / 449 MB, free: 14.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09633/0.09827, allocations: 55.48 MB / 0.4927 GB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.01746/0.1157, allocations: 16.24 MB / 0.5085 GB, free: 6.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008187/0.1239, allocations: 4.15 MB / 0.5126 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001504/0.1254, allocations: 79.75 kB / 0.5126 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.1268, allocations: 0.6824 MB / 0.5133 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1948/0.3216, allocations: 2.263 MB / 0.5155 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.3231, allocations: 479.6 kB / 0.516 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006894/0.33, allocations: 4.596 MB / 0.5205 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002172/0.3322, allocations: 1.59 MB / 0.522 GB, free: 8.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002396/0.3346, allocations: 1.777 MB / 0.5238 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003578/0.3381, allocations: 2.606 MB / 0.5263 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008882/0.339, allocations: 413.9 kB / 0.5267 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002198/0.3412, allocations: 1.086 MB / 0.5278 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002056/0.3433, allocations: 2.159 MB / 0.5299 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002846/0.3461, allocations: 2.785 MB / 0.5326 GB, free: 5.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008859/0.355, allocations: 8.161 MB / 0.5406 GB, free: 2.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.355, allocations: 0 / 0.5406 GB, free: 2.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.355, allocations: 3.625 kB / 0.5406 GB, free: 2.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002433/0.3552, allocations: 0 / 0.5406 GB, free: 2.281 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.04773/0.403, allocations: 12.15 MB / 0.5524 GB, free: 11.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.403, allocations: 9.188 kB / 0.5524 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007523/0.4105, allocations: 2.091 MB / 0.5545 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006352/0.4169, allocations: 2.412 MB / 0.5568 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.4172, allocations: 305.2 kB / 0.5571 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001388/0.4186, allocations: 408.1 kB / 0.5575 GB, free: 7.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03244/0.451, allocations: 15.28 MB / 0.5724 GB, free: 7.664 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001802/0.4512, allocations: 59.53 kB / 0.5725 GB, free: 7.605 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006558/0.4518, allocations: 192.6 kB / 0.5727 GB, free: 7.473 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00471/0.4565, allocations: 2.86 MB / 0.5755 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03683/0.4934, allocations: 16.01 MB / 0.5911 GB, free: 4.609 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0769/0.5703, allocations: 52.59 MB / 0.6425 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03161/0.6019, allocations: 6.857 MB / 0.6492 GB, free: 8.383 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005162/0.607, allocations: 2.827 MB / 0.6519 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02577/0.6328, allocations: 12.5 MB / 0.6641 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01065/0.6435, allocations: 3.808 MB / 0.6678 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=429): time 1.044e-05/0.6435, allocations: 0 / 0.6678 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=504): time 0.08185/0.7253, allocations: 43.4 MB / 0.7102 GB, free: 9.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004646/0.7258, allocations: 0.8224 MB / 0.711 GB, free: 8.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006405/0.7322, allocations: 4.373 MB / 0.7153 GB, free: 4.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006746/0.7329, allocations: 105.7 kB / 0.7154 GB, free: 4.051 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003314/0.7362, allocations: 3.639 MB / 0.719 GB, free: 440 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.1925/0.9287, allocations: 1.894 MB / 0.7208 GB, free: 182 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002428/0.9311, allocations: 1.686 MB / 0.7225 GB, free: 181.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.9312, allocations: 304.9 kB / 0.7227 GB, free: 181.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004179/0.9354, allocations: 2.995 MB / 0.7257 GB, free: 181.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006324/0.9417, allocations: 7.133 MB / 0.7326 GB, free: 175.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0125/0.9542, allocations: 11.12 MB / 0.7435 GB, free: 167.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001435/0.9543, allocations: 42.28 kB / 0.7435 GB, free: 167.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.01781/0.9721, allocations: 11.05 MB / 0.7543 GB, free: 163.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.9723, allocations: 100.7 kB / 0.7544 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/0.9725, allocations: 140.2 kB / 0.7546 GB, free: 163.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001983/0.9745, allocations: 0.9335 MB / 0.7555 GB, free: 162.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005979/0.9805, allocations: 1.998 MB / 0.7574 GB, free: 162.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009002/0.9895, allocations: 8.006 MB / 0.7652 GB, free: 157.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00572/0.9952, allocations: 484.2 kB / 0.7657 GB, free: 157.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/0.9965, allocations: 487.2 kB / 0.7662 GB, free: 157.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.004698/1.001, allocations: 2.525 MB / 0.7686 GB, free: 154.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001069/1.002, allocations: 0.489 MB / 0.7691 GB, free: 154.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009115/1.011, allocations: 5.815 MB / 0.7748 GB, free: 149.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001203/1.011, allocations: 77.05 kB / 0.7749 GB, free: 149.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.514e-05/1.012, allocations: 16 kB / 0.7749 GB, free: 149.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.374e-05/1.012, allocations: 29.75 kB / 0.7749 GB, free: 149.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02493/1.037, allocations: 18.49 MB / 0.793 GB, free: 132.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.361e-05/1.037, allocations: 11.38 kB / 0.793 GB, free: 132.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003088/1.04, allocations: 0.8074 MB / 0.7938 GB, free: 131.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/1.041, allocations: 0.7749 MB / 0.7945 GB, free: 131.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006135/1.042, allocations: 104 kB / 0.7946 GB, free: 131 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007612/1.049, allocations: 7.294 MB / 0.8017 GB, free: 123.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.049, allocations: 11.94 kB / 0.8017 GB, free: 123.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/1.064, allocations: 10.01 MB / 0.8115 GB, free: 113.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.065, allocations: 483.8 kB / 0.812 GB, free: 112.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/1.067, allocations: 99.61 kB / 0.8121 GB, free: 112.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002937/1.07, allocations: 235.7 kB / 0.8123 GB, free: 112.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008978/1.071, allocations: 338.8 kB / 0.8126 GB, free: 112.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005212/1.071, allocations: 132 kB / 0.8128 GB, free: 112.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004478/1.076, allocations: 2.75 MB / 0.8154 GB, free: 109.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.076, allocations: 0 / 0.8154 GB, free: 109.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007554/1.083, allocations: 1.492 MB / 0.8169 GB, free: 107.9 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.00107/1.084, allocations: 274.7 kB / 0.8172 GB, free: 107.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01188/1.096, allocations: 7.644 MB / 0.8246 GB, free: 99.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/1.096, allocations: 4 kB / 0.8246 GB, free: 99.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004627/1.101, allocations: 3.093 MB / 0.8276 GB, free: 96.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00466/1.106, allocations: 0.6962 MB / 0.8283 GB, free: 96.14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/1.128, allocations: 14.32 MB / 0.8423 GB, free: 81.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003907/1.131, allocations: 4.021 MB / 0.8462 GB, free: 77.65 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001567/1.133, allocations: 455.3 kB / 0.8467 GB, free: 77.21 MB / 0.545 GB Notification: Performance of SimCode: time 9.61e-07/1.133, allocations: 0 / 0.8467 GB, free: 77.21 MB / 0.545 GB Notification: Performance of Templates: time 0.3513/1.484, allocations: 206.1 MB / 1.048 GB, free: 84.17 MB / 0.5606 GB " [Timeout remaining time 659] 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: 15.923151212045923] Failed to read output from testmodel.py, exit status != 0: 1.4925926530268043 1.501196118 1.144054848 Calling exit ...