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.001598/0.001598, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002019/0.002019, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.501/1.501, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.04841/0.04841, allocations: 7.116 MB / 266.3 MB, free: 9.781 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: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 392.9 MB, free: 9.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.436e-05, allocations: 6.281 kB / 392.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.01668/0.0167, allocations: 13.95 MB / 406.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008625/0.02533, allocations: 4.004 MB / 410.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.02681, allocations: 71.75 kB / 410.9 MB, free: 7.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.02825, allocations: 0.6823 MB / 411.6 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00526/0.03351, allocations: 2.343 MB / 413.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.03472, allocations: 486.8 kB / 414.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006163/0.04088, allocations: 4.709 MB / 419.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.04326, allocations: 1.584 MB / 420.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003603/0.04686, allocations: 2.626 MB / 423.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.05001, allocations: 2.306 MB / 425.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007021/0.05072, allocations: 408 kB / 426 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.0527, allocations: 1.049 MB / 427.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002118/0.05482, allocations: 2.22 MB / 429.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.05691, allocations: 1.549 MB / 430.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009908/0.06682, allocations: 8.129 MB / 439 MB, free: 10.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.06683, allocations: 0 / 439 MB, free: 10.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.06683, allocations: 0 / 439 MB, free: 10.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001984/0.06703, allocations: 0 / 439 MB, free: 10.91 MB / 366.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.2166/0.2836, allocations: 12.2 MB / 451.2 MB, free: 57.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.2837, allocations: 9.438 kB / 451.2 MB, free: 57.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008712/0.2924, allocations: 2.227 MB / 453.4 MB, free: 57.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005682/0.2981, allocations: 2.37 MB / 455.8 MB, free: 56.34 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.2984, allocations: 297.4 kB / 456.1 MB, free: 56.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.2997, allocations: 405.6 kB / 456.5 MB, free: 56.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02972/0.3294, allocations: 15.31 MB / 471.8 MB, free: 47.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/0.3297, allocations: 59.52 kB / 471.8 MB, free: 47.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001068/0.3307, allocations: 194.1 kB / 472 MB, free: 47.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004079/0.3348, allocations: 2.857 MB / 474.9 MB, free: 44.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03271/0.3675, allocations: 15.94 MB / 490.8 MB, free: 28.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07352/0.441, allocations: 48.75 MB / 0.5269 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03681/0.4779, allocations: 7.227 MB / 0.534 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005841/0.4837, allocations: 2.817 MB / 0.5367 GB, free: 1.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02593/0.5096, allocations: 11.73 MB / 0.5482 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01246/0.5221, allocations: 4.074 MB / 0.5522 GB, free: 1.551 MB / 414.1 MB Notification: Performance of pre-optimization done (n=429): time 1.226e-05/0.5221, allocations: 0 / 0.5522 GB, free: 1.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=504): time 0.08347/0.6056, allocations: 43.94 MB / 0.5951 GB, free: 5.285 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004689/0.606, allocations: 0.8263 MB / 0.5959 GB, free: 4.273 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005177/0.6112, allocations: 3.785 MB / 0.5996 GB, free: 496 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005289/0.6117, allocations: 105.7 kB / 0.5997 GB, free: 384 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003034/0.6148, allocations: 3.651 MB / 0.6033 GB, free: 12.69 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00201/0.6168, allocations: 1.856 MB / 0.6051 GB, free: 10.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002485/0.6193, allocations: 1.685 MB / 0.6067 GB, free: 9.117 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6194, allocations: 305.1 kB / 0.607 GB, free: 8.816 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005542/0.6249, allocations: 3.01 MB / 0.6099 GB, free: 5.793 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1917/0.8167, allocations: 7.147 MB / 0.6169 GB, free: 150.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01369/0.8303, allocations: 11.11 MB / 0.6278 GB, free: 143.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/0.8305, allocations: 40.34 kB / 0.6278 GB, free: 143.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.01905/0.8496, allocations: 11 MB / 0.6386 GB, free: 139.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/0.8497, allocations: 96.67 kB / 0.6387 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002168/0.8499, allocations: 138.8 kB / 0.6388 GB, free: 139.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/0.852, allocations: 0.9367 MB / 0.6397 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006937/0.8589, allocations: 1.997 MB / 0.6416 GB, free: 138.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00952/0.8684, allocations: 7.878 MB / 0.6493 GB, free: 134.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006157/0.8746, allocations: 483.1 kB / 0.6498 GB, free: 134.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001341/0.8759, allocations: 487 kB / 0.6503 GB, free: 133.9 MB / 478.1 MB 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.00407/0.88, allocations: 2.53 MB / 0.6527 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000836/0.8808, allocations: 446.5 kB / 0.6532 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007963/0.8888, allocations: 5.748 MB / 0.6588 GB, free: 126.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001224/0.8889, allocations: 71.7 kB / 0.6588 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.965e-05/0.889, allocations: 16 kB / 0.6589 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.277e-05/0.889, allocations: 30.5 kB / 0.6589 GB, free: 126.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01851/0.9075, allocations: 16.72 MB / 0.6752 GB, free: 110.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.9075, allocations: 8.969 kB / 0.6752 GB, free: 110.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/0.9106, allocations: 0.8074 MB / 0.676 GB, free: 109.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001658/0.9122, allocations: 0.7746 MB / 0.6768 GB, free: 109.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002693/0.9125, allocations: 99.42 kB / 0.6769 GB, free: 109 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007749/0.9202, allocations: 7.169 MB / 0.6839 GB, free: 101.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.9203, allocations: 11.94 kB / 0.6839 GB, free: 101.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/0.9322, allocations: 9.916 MB / 0.6936 GB, free: 91.77 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008937/0.9331, allocations: 402.9 kB / 0.694 GB, free: 91.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005239/0.9336, allocations: 99.2 kB / 0.694 GB, free: 91.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/0.9356, allocations: 243.7 kB / 0.6943 GB, free: 91.06 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005969/0.9362, allocations: 339 kB / 0.6946 GB, free: 90.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002317/0.9364, allocations: 146.9 kB / 0.6947 GB, free: 90.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002424/0.9388, allocations: 2.147 MB / 0.6968 GB, free: 88.45 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9388, allocations: 0 / 0.6968 GB, free: 88.45 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00662/0.9454, allocations: 1.479 MB / 0.6983 GB, free: 86.98 MB / 478.1 MB 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.0006067/0.946, allocations: 279.6 kB / 0.6985 GB, free: 86.71 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01026/0.9563, allocations: 7.651 MB / 0.706 GB, free: 79.04 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/0.9563, allocations: 4.188 kB / 0.706 GB, free: 79.03 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00424/0.9606, allocations: 3.096 MB / 0.709 GB, free: 75.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/0.9632, allocations: 0.5051 MB / 0.7095 GB, free: 75.42 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/0.9813, allocations: 13.3 MB / 0.7225 GB, free: 62.01 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003327/0.9846, allocations: 3.509 MB / 0.726 GB, free: 58.47 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004614/0.9892, allocations: 2.328 MB / 0.7282 GB, free: 56.13 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/0.9903, allocations: 352.4 kB / 0.7286 GB, free: 55.79 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.9903, allocations: 1.203 kB / 0.7286 GB, free: 55.79 MB / 478.1 MB Notification: Performance of Templates: time 0.07709/1.067, allocations: 46.44 MB / 0.7739 GB, free: 9.984 MB / 478.1 MB " [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: 7.385817896574736] Failed to read output from testmodel.py, exit status != 0: 1.075951810926199 1.087196693 1.017117319 Calling exit ...