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.002048/0.002048, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002784/0.002784, allocations: 211.9 kB / 22.24 MB, free: 5.242 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.575/1.575, allocations: 230.6 MB / 256 MB, free: 7.809 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.05059/0.05059, allocations: 9.24 MB / 321.7 MB, free: 9.836 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.002157/0.002157, allocations: 67.89 kB / 448.2 MB, free: 14.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1416, allocations: 55.48 MB / 0.4918 GB, free: 6.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.02219/0.1637, allocations: 13.94 MB / 0.5055 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.1754, allocations: 3.988 MB / 0.5094 GB, free: 4.484 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003951/0.1793, allocations: 79.69 kB / 0.5094 GB, free: 4.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.1819, allocations: 0.6785 MB / 0.5101 GB, free: 3.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009205/0.1911, allocations: 2.271 MB / 0.5123 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002513/0.1936, allocations: 475.2 kB / 0.5128 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.3169/0.5104, allocations: 4.584 MB / 0.5172 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003237/0.5137, allocations: 1.561 MB / 0.5188 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003741/0.5174, allocations: 1.78 MB / 0.5205 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004636/0.522, allocations: 2.449 MB / 0.5229 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001781/0.5238, allocations: 410.5 kB / 0.5233 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003849/0.5277, allocations: 0.9702 MB / 0.5242 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003327/0.531, allocations: 2.158 MB / 0.5263 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004864/0.5359, allocations: 2.029 MB / 0.5283 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01281/0.5487, allocations: 8.19 MB / 0.5363 GB, free: 4.945 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5487, allocations: 7.031 kB / 0.5363 GB, free: 4.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5487, allocations: 0.6875 kB / 0.5363 GB, free: 4.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004153/0.5491, allocations: 0 / 0.5363 GB, free: 4.941 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.05553/0.6046, allocations: 12.15 MB / 0.5482 GB, free: 14.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.6047, allocations: 7.125 kB / 0.5482 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009505/0.6142, allocations: 2.09 MB / 0.5502 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007512/0.6217, allocations: 2.435 MB / 0.5526 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.622, allocations: 305.9 kB / 0.5529 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002296/0.6243, allocations: 404.4 kB / 0.5533 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03978/0.6641, allocations: 15.28 MB / 0.5682 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002079/0.6643, allocations: 62.44 kB / 0.5683 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009277/0.6652, allocations: 194.8 kB / 0.5685 GB, free: 12.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005298/0.6705, allocations: 2.855 MB / 0.5713 GB, free: 9.211 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04271/0.7132, allocations: 15.94 MB / 0.5868 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.105/0.8182, allocations: 48.69 MB / 0.6344 GB, free: 7.992 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03766/0.8559, allocations: 6.835 MB / 0.641 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007256/0.8631, allocations: 2.827 MB / 0.6438 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03696/0.9001, allocations: 11.64 MB / 0.6552 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01497/0.915, allocations: 3.804 MB / 0.6589 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=429): time 2.653e-05/0.9151, allocations: 0 / 0.6589 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=504): time 0.09571/1.011, allocations: 43.35 MB / 0.7012 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005564/1.011, allocations: 0.8264 MB / 0.702 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006525/1.018, allocations: 3.859 MB / 0.7058 GB, free: 14.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008241/1.019, allocations: 105.7 kB / 0.7059 GB, free: 14.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004365/1.023, allocations: 3.682 MB / 0.7095 GB, free: 10.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002897/1.026, allocations: 1.9 MB / 0.7114 GB, free: 8.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003204/1.029, allocations: 1.693 MB / 0.713 GB, free: 7.051 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001574/1.029, allocations: 305.1 kB / 0.7133 GB, free: 6.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005873/1.035, allocations: 3.017 MB / 0.7162 GB, free: 3.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3747/1.41, allocations: 7.157 MB / 0.7232 GB, free: 175.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01968/1.43, allocations: 11.13 MB / 0.7341 GB, free: 169.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004594/1.43, allocations: 42.27 kB / 0.7341 GB, free: 169.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.03209/1.462, allocations: 11.02 MB / 0.7449 GB, free: 165.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004484/1.463, allocations: 95.3 kB / 0.745 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004717/1.463, allocations: 139.3 kB / 0.7451 GB, free: 165.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003265/1.466, allocations: 0.9363 MB / 0.746 GB, free: 165.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008921/1.475, allocations: 1.999 MB / 0.748 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/1.489, allocations: 7.867 MB / 0.7557 GB, free: 161.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008101/1.497, allocations: 475.4 kB / 0.7561 GB, free: 161.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00197/1.499, allocations: 487.7 kB / 0.7566 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.01118/1.51, allocations: 2.532 MB / 0.7591 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001985/1.512, allocations: 445.6 kB / 0.7595 GB, free: 159.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/1.524, allocations: 5.772 MB / 0.7651 GB, free: 156.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001771/1.524, allocations: 67 kB / 0.7652 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.383e-05/1.524, allocations: 20 kB / 0.7652 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.349e-05/1.524, allocations: 33.44 kB / 0.7652 GB, free: 156.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03/1.554, allocations: 16.7 MB / 0.7816 GB, free: 142 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.142e-05/1.554, allocations: 11.38 kB / 0.7816 GB, free: 142 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003382/1.558, allocations: 0.8032 MB / 0.7823 GB, free: 141.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001746/1.559, allocations: 0.774 MB / 0.7831 GB, free: 140.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007832/1.56, allocations: 103.5 kB / 0.7832 GB, free: 140.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008521/1.569, allocations: 7.146 MB / 0.7902 GB, free: 134.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.569, allocations: 17.19 kB / 0.7902 GB, free: 134.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01584/1.585, allocations: 9.964 MB / 0.7999 GB, free: 124.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002102/1.587, allocations: 410.1 kB / 0.8003 GB, free: 123.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002098/1.589, allocations: 98.27 kB / 0.8004 GB, free: 123.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003785/1.593, allocations: 227.7 kB / 0.8006 GB, free: 123.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008024/1.593, allocations: 343.9 kB / 0.801 GB, free: 123.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002529/1.594, allocations: 136 kB / 0.8011 GB, free: 123 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003418/1.597, allocations: 2.221 MB / 0.8033 GB, free: 120.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/1.597, allocations: 0 / 0.8033 GB, free: 120.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008729/1.606, allocations: 1.483 MB / 0.8047 GB, free: 119.3 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.001081/1.607, allocations: 278.5 kB / 0.805 GB, free: 119.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01237/1.619, allocations: 7.653 MB / 0.8124 GB, free: 111.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/1.619, allocations: 4 kB / 0.8124 GB, free: 111.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005087/1.624, allocations: 3.109 MB / 0.8155 GB, free: 108.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/1.628, allocations: 0.5072 MB / 0.816 GB, free: 107.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0248/1.652, allocations: 13.67 MB / 0.8293 GB, free: 93.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005653/1.658, allocations: 3.502 MB / 0.8327 GB, free: 90.45 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005292/1.663, allocations: 2.324 MB / 0.835 GB, free: 88.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/1.665, allocations: 351.3 kB / 0.8354 GB, free: 87.77 MB / 0.545 GB Notification: Performance of SimCode: time 1.523e-06/1.665, allocations: 0 / 0.8354 GB, free: 87.77 MB / 0.545 GB Notification: Performance of Templates: time 0.08795/1.753, allocations: 52.32 MB / 0.8865 GB, free: 36.15 MB / 0.545 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: 8.720920799300075] Failed to read output from testmodel.py, exit status != 0: 1.7638383563607931 1.773441814 1.222086819 Calling exit ...