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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 104.2 kB / 16.4 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 191.7 kB / 19.35 MB, free: 3.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.05019/0.05019, allocations: 9.137 MB / 306.4 MB, free: 3.762 MB / 238.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-master/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=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 0.00193/0.00193, allocations: 67.89 kB / 423.4 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1038, allocations: 51.44 MB / 474.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TwoTrackWithDifferentialGear): time 0.01901/0.1228, allocations: 16.17 MB / 491 MB, free: 312 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.1334, allocations: 4.095 MB / 495.1 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.1368, allocations: 67.88 kB / 495.1 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.1388, allocations: 0.6474 MB / 495.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007715/0.1465, allocations: 2.204 MB / 498 MB, free: 9.262 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.1485, allocations: 483.2 kB / 498.5 MB, free: 8.789 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007809/0.1563, allocations: 4.644 MB / 0.4913 GB, free: 4.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002968/0.1593, allocations: 1.896 MB / 0.4932 GB, free: 2.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002752/0.162, allocations: 1.728 MB / 0.4949 GB, free: 464 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003727/0.1658, allocations: 2.42 MB / 0.4972 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.1669, allocations: 408 kB / 0.4976 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.1694, allocations: 1.046 MB / 0.4986 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002282/0.1717, allocations: 2.139 MB / 0.5007 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003653/0.1754, allocations: 2.819 MB / 0.5035 GB, free: 7.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2894/0.4648, allocations: 8.202 MB / 0.5115 GB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4649, allocations: 0.6875 kB / 0.5115 GB, free: 15.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.4649, allocations: 0 / 0.5115 GB, free: 15.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003879/0.4653, allocations: 1.375 kB / 0.5115 GB, free: 15.21 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.05291/0.5182, allocations: 12.11 MB / 0.5233 GB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5183, allocations: 10.52 kB / 0.5233 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00903/0.5273, allocations: 2.084 MB / 0.5254 GB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006807/0.5341, allocations: 2.487 MB / 0.5278 GB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003126/0.5345, allocations: 297.8 kB / 0.5281 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001947/0.5364, allocations: 410.4 kB / 0.5285 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03367/0.5701, allocations: 15.28 MB / 0.5434 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004046/0.5706, allocations: 58.27 kB / 0.5434 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002402/0.573, allocations: 197.1 kB / 0.5436 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004519/0.5775, allocations: 2.852 MB / 0.5464 GB, free: 3.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03735/0.6149, allocations: 16.01 MB / 0.562 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08794/0.7029, allocations: 52.67 MB / 0.6135 GB, free: 14.26 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03802/0.7409, allocations: 7.621 MB / 0.6209 GB, free: 6.531 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00691/0.7479, allocations: 2.987 MB / 0.6238 GB, free: 3.539 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03651/0.7844, allocations: 20.42 MB / 0.6438 GB, free: 13.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01253/0.797, allocations: 3.804 MB / 0.6475 GB, free: 9.355 MB / 494.1 MB Notification: Performance of pre-optimization done (n=429): time 1.091e-05/0.797, allocations: 0 / 0.6475 GB, free: 9.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=504): time 0.08982/0.8869, allocations: 44.12 MB / 0.6906 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004918/0.8874, allocations: 0.8249 MB / 0.6914 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006558/0.894, allocations: 4.374 MB / 0.6957 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007366/0.8947, allocations: 101.7 kB / 0.6958 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0034/0.8981, allocations: 3.643 MB / 0.6993 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002431/0.9006, allocations: 1.889 MB / 0.7012 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002672/0.9032, allocations: 1.685 MB / 0.7028 GB, free: 224 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.9034, allocations: 306.5 kB / 0.7031 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005501/0.9089, allocations: 2.992 MB / 0.706 GB, free: 12.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009656/0.9186, allocations: 7.128 MB / 0.713 GB, free: 3.871 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2574/1.176, allocations: 11.13 MB / 0.7239 GB, free: 191 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/1.176, allocations: 41.16 kB / 0.7239 GB, free: 191 MB / 0.545 GB Notification: Performance of matching and sorting (n=1159) (initialization): time 0.01931/1.196, allocations: 11.08 MB / 0.7347 GB, free: 187.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.196, allocations: 94.95 kB / 0.7348 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/1.196, allocations: 141.6 kB / 0.7349 GB, free: 187 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002091/1.198, allocations: 0.9373 MB / 0.7359 GB, free: 186.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006094/1.204, allocations: 1.998 MB / 0.7378 GB, free: 186.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008891/1.213, allocations: 8.11 MB / 0.7457 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005526/1.218, allocations: 485.6 kB / 0.7462 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007941/1.219, allocations: 487.1 kB / 0.7467 GB, free: 182.2 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.003898/1.223, allocations: 2.528 MB / 0.7491 GB, free: 181 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008348/1.224, allocations: 0.5043 MB / 0.7496 GB, free: 181 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008181/1.232, allocations: 5.839 MB / 0.7553 GB, free: 178.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001244/1.232, allocations: 67.8 kB / 0.7554 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/1.232, allocations: 19.94 kB / 0.7554 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-05/1.232, allocations: 30.64 kB / 0.7554 GB, free: 178.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02105/1.254, allocations: 18.61 MB / 0.7736 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-05/1.254, allocations: 8 kB / 0.7736 GB, free: 161.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002986/1.257, allocations: 0.8036 MB / 0.7744 GB, free: 160.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/1.258, allocations: 0.7761 MB / 0.7752 GB, free: 159.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003402/1.259, allocations: 99.98 kB / 0.7753 GB, free: 159.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007874/1.266, allocations: 7.41 MB / 0.7825 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/1.267, allocations: 19.88 kB / 0.7825 GB, free: 152.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.279, allocations: 10.05 MB / 0.7923 GB, free: 141.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/1.281, allocations: 0.5485 MB / 0.7929 GB, free: 141.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000745/1.281, allocations: 95.98 kB / 0.793 GB, free: 141.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/1.283, allocations: 223.7 kB / 0.7932 GB, free: 141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005515/1.284, allocations: 328.8 kB / 0.7935 GB, free: 140.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/1.284, allocations: 138.2 kB / 0.7936 GB, free: 140.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003244/1.288, allocations: 2.75 MB / 0.7963 GB, free: 137.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.31e-07/1.288, allocations: 0 / 0.7963 GB, free: 137.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006548/1.294, allocations: 1.508 MB / 0.7978 GB, free: 136.2 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.0006036/1.295, allocations: 289.4 kB / 0.798 GB, free: 135.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.305, allocations: 8.267 MB / 0.8061 GB, free: 127.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.305, allocations: 2.344 kB / 0.8061 GB, free: 127.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0042/1.309, allocations: 3.642 MB / 0.8097 GB, free: 123.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/1.313, allocations: 0.6812 MB / 0.8103 GB, free: 123.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/1.331, allocations: 13.66 MB / 0.8237 GB, free: 109.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003472/1.334, allocations: 4.021 MB / 0.8276 GB, free: 105.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004757/1.339, allocations: 2.391 MB / 0.8299 GB, free: 103 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.34, allocations: 383.3 kB / 0.8303 GB, free: 102.6 MB / 0.545 GB Notification: Performance of SimCode: time 8.01e-07/1.34, allocations: 0 / 0.8303 GB, free: 102.6 MB / 0.545 GB Notification: Performance of Templates: time 0.08179/1.422, allocations: 55.64 MB / 0.8846 GB, free: 47.28 MB / 0.545 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: 8.018918660469353]