Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.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.001877/0.001877, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002242/0.002242, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.557/1.557, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.05365/0.05365, allocations: 7.17 MB / 266.7 MB, free: 6.078 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") translateModel(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.706e-06/2.706e-06, allocations: 4 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.535e-05, allocations: 2.312 kB / 338.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.00987/0.009895, allocations: 11.41 MB / 349.5 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008543/0.01844, allocations: 3.148 MB / 352.7 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.0202, allocations: 59.81 kB / 352.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.0215, allocations: 0.4925 MB / 353.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004956/0.02645, allocations: 1.913 MB / 355.1 MB, free: 9.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000591/0.02704, allocations: 195.5 kB / 355.3 MB, free: 9.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005405/0.03245, allocations: 3.433 MB / 358.8 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.03435, allocations: 1.036 MB / 359.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002998/0.03735, allocations: 1.89 MB / 361.7 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003163/0.04051, allocations: 1.827 MB / 363.5 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006591/0.04117, allocations: 320 kB / 363.8 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.04335, allocations: 0.9205 MB / 364.8 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002012/0.04536, allocations: 1.807 MB / 366.6 MB, free: 14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001741/0.0471, allocations: 1.168 MB / 367.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009929/0.05703, allocations: 6.828 MB / 374.6 MB, free: 5.973 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.051e-05/0.05704, allocations: 4 kB / 374.6 MB, free: 5.969 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.05705, allocations: 0 / 374.6 MB, free: 5.969 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003524/0.0574, allocations: 0 / 374.6 MB, free: 5.969 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1678 * Number of variables: 1678 Notification: Performance of Generate backend data structure: time 0.01957/0.07697, allocations: 6.317 MB / 380.9 MB, free: 15.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.07704, allocations: 12.62 kB / 380.9 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.08716, allocations: 2.517 MB / 383.4 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005584/0.09274, allocations: 1.627 MB / 385 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003282/0.09307, allocations: 217.8 kB / 385.2 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/0.09447, allocations: 300.1 kB / 385.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01768/0.1121, allocations: 6.356 MB / 391.9 MB, free: 3.895 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001418/0.1123, allocations: 31.95 kB / 391.9 MB, free: 3.863 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004563/0.1127, allocations: 135.8 kB / 392.1 MB, free: 3.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004657/0.1174, allocations: 2.585 MB / 394.6 MB, free: 1.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01564/0.133, allocations: 4.29 MB / 398.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2068/0.3399, allocations: 48.8 MB / 447.7 MB, free: 41.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005951/0.3458, allocations: 2.005 MB / 449.7 MB, free: 40.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.347, allocations: 0.6512 MB / 450.4 MB, free: 39.63 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007622/0.3546, allocations: 4.405 MB / 454.8 MB, free: 35.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/0.3546, allocations: 59.33 kB / 454.9 MB, free: 35.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=210): time 4.368e-06/0.3546, allocations: 0 / 454.9 MB, free: 35.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=250): time 0.01818/0.3728, allocations: 7.756 MB / 462.6 MB, free: 27.84 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002799/0.3756, allocations: 3.228 MB / 465.8 MB, free: 24.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004119/0.3797, allocations: 3.659 MB / 469.5 MB, free: 20.94 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002839/0.38, allocations: 65.3 kB / 469.6 MB, free: 20.87 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.3814, allocations: 3.407 MB / 473 MB, free: 17.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000753/0.3821, allocations: 1.052 MB / 474 MB, free: 16.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001569/0.3837, allocations: 1.542 MB / 475.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3838, allocations: 0.5551 MB / 476.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.3855, allocations: 0.8121 MB / 476.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003375/0.3889, allocations: 5.782 MB / 482.7 MB, free: 5.598 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008635/0.3975, allocations: 7.247 MB / 490 MB, free: 12.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/0.3976, allocations: 32 kB / 490 MB, free: 12.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=789) (initialization): time 0.01418/0.4118, allocations: 5.443 MB / 495.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.4119, allocations: 52 kB / 495.5 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001838/0.4121, allocations: 112 kB / 495.6 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.4136, allocations: 483.1 kB / 496.1 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00477/0.4184, allocations: 1.341 MB / 497.4 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.4289, allocations: 6.465 MB / 0.4921 GB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004474/0.4334, allocations: 303.8 kB / 0.4924 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/0.4344, allocations: 355.9 kB / 0.4927 GB, free: 13.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 510 * Number of states: 0 () * Number of discrete variables: 27 (trail.color[3],trail.color[2],trail.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],chassis.color[3],chassis.color[2],chassis.color[1],idealWheelRear.wheel.colorRim[3],idealWheelRear.wheel.colorRim[2],idealWheelRear.wheel.colorRim[1],idealWheelRear.color[3],idealWheelRear.color[2],idealWheelRear.color[1],idealWheelFront.wheel.colorRim[3],idealWheelFront.wheel.colorRim[2],idealWheelFront.wheel.colorRim[1],idealWheelFront.color[3],idealWheelFront.color[2],idealWheelFront.color[1],bodyRear.sphereColor[3],bodyRear.sphereColor[2],bodyRear.sphereColor[1],bodyFront.sphereColor[3],bodyFront.sphereColor[2],bodyFront.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (725): * Single equations (assignments): 719 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,26,55.6%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002561/0.4369, allocations: 0.7592 MB / 0.4934 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007766/0.4377, allocations: 361.9 kB / 0.4938 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005153/0.4429, allocations: 2.014 MB / 0.4957 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000136/0.443, allocations: 35.98 kB / 0.4958 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/0.443, allocations: 11.98 kB / 0.4958 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/0.443, allocations: 11.95 kB / 0.4958 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02336/0.4664, allocations: 9.649 MB / 0.5052 GB, free: 372 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.4664, allocations: 4 kB / 0.5052 GB, free: 368 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/0.4678, allocations: 331.5 kB / 0.5055 GB, free: 36 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.4694, allocations: 434.4 kB / 0.506 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/0.4695, allocations: 52.06 kB / 0.506 GB, free: 15.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.4799, allocations: 6.703 MB / 0.5126 GB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004058/0.4839, allocations: 3.012 MB / 0.5155 GB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006779/0.4907, allocations: 2.956 MB / 0.5184 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/0.4924, allocations: 481.8 kB / 0.5188 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000419/0.4928, allocations: 48 kB / 0.5189 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.4939, allocations: 103.8 kB / 0.519 GB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004057/0.4943, allocations: 177.3 kB / 0.5192 GB, free: 1.586 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001576/0.4945, allocations: 75.98 kB / 0.5192 GB, free: 1.512 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002887/0.4974, allocations: 1.476 MB / 0.5207 GB, free: 28 kB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4974, allocations: 0 / 0.5207 GB, free: 28 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.005299/0.5027, allocations: 1.031 MB / 0.5217 GB, free: 14.99 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 ($STATESET1.x,bodyRear.r[1],bodyRear.r[2],bodyRear.phi,idealWheelFront.phi_roll,revolute.phi,revolute.w,engineTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 177 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,26,55.6%), (3,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005217/0.5032, allocations: 194.3 kB / 0.5219 GB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008533/0.5117, allocations: 3.833 MB / 0.5256 GB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.5118, allocations: 0 / 0.5256 GB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003011/0.5148, allocations: 1.525 MB / 0.5271 GB, free: 9.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.5168, allocations: 363.1 kB / 0.5274 GB, free: 9.023 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/0.5338, allocations: 8.391 MB / 0.5356 GB, free: 484 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004158/0.538, allocations: 2.625 MB / 0.5382 GB, free: 13.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003677/0.5416, allocations: 1.386 MB / 0.5396 GB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006435/0.5423, allocations: 220.4 kB / 0.5398 GB, free: 12.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5423, allocations: 0 / 0.5398 GB, free: 12.2 MB / 410.7 MB Notification: Performance of Templates: time 0.1986/0.7409, allocations: 29.5 MB / 0.5686 GB, free: 124.6 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.771142118959688]