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.001414/0.001414, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001553/0.001553, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.046/1.046, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.02957/0.02957, allocations: 7.178 MB / 268.2 MB, free: 5.902 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 1.443e-06/1.443e-06, allocations: 0 / 340.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.668e-05, allocations: 2.312 kB / 340.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.SingleTrackWithEngine): time 0.01267/0.0127, allocations: 11.19 MB / 351.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005823/0.01852, allocations: 3.123 MB / 354.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008066/0.01933, allocations: 51.88 kB / 354.5 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000757/0.02009, allocations: 0.5004 MB / 355 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.02251, allocations: 1.913 MB / 356.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.02283, allocations: 191.5 kB / 357.1 MB, free: 9.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002521/0.02535, allocations: 3.434 MB / 360.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009857/0.02633, allocations: 1.033 MB / 361.5 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.02809, allocations: 1.886 MB / 363.4 MB, free: 3.543 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001776/0.02987, allocations: 1.835 MB / 365.2 MB, free: 1.703 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003293/0.0302, allocations: 324 kB / 365.6 MB, free: 1.387 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.03122, allocations: 0.9127 MB / 366.5 MB, free: 484 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009892/0.03221, allocations: 1.823 MB / 368.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008562/0.03306, allocations: 1.152 MB / 369.4 MB, free: 13.49 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003287/0.03635, allocations: 4.427 MB / 373.9 MB, free: 9.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.03635, allocations: 3.938 kB / 373.9 MB, free: 9.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.03635, allocations: 0 / 373.9 MB, free: 9.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.284e-05/0.03639, allocations: 0 / 373.9 MB, free: 9.039 MB / 346.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.007096/0.04348, allocations: 5.566 MB / 379.4 MB, free: 3.406 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.04353, allocations: 12.62 kB / 379.5 MB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003656/0.04718, allocations: 1.554 MB / 381 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.04881, allocations: 1.563 MB / 382.6 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.04893, allocations: 221.8 kB / 382.8 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003568/0.04929, allocations: 296.1 kB / 383.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005326/0.05462, allocations: 5.106 MB / 388.2 MB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.031e-05/0.05469, allocations: 31.91 kB / 388.2 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002547/0.05494, allocations: 139.7 kB / 388.4 MB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002027/0.05697, allocations: 2.39 MB / 390.7 MB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004543/0.06151, allocations: 2.813 MB / 393.6 MB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02592/0.08743, allocations: 34.24 MB / 427.8 MB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.09082, allocations: 1.682 MB / 429.5 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000539/0.09136, allocations: 475.1 kB / 429.9 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003987/0.09535, allocations: 4.055 MB / 434 MB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.09538, allocations: 59.38 kB / 434.1 MB, free: 11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=210): time 3.396e-06/0.09538, allocations: 0 / 434.1 MB, free: 11 MB / 410.7 MB Notification: Performance of matching and sorting (n=250): time 0.01035/0.1057, allocations: 6.183 MB / 440.2 MB, free: 4.777 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002086/0.1078, allocations: 2.978 MB / 443.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1819/0.2897, allocations: 2.68 MB / 445.9 MB, free: 128.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004814/0.2902, allocations: 64.45 kB / 446 MB, free: 128.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001602/0.2918, allocations: 3.226 MB / 449.2 MB, free: 126.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007937/0.2926, allocations: 0.9906 MB / 450.2 MB, free: 126.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001448/0.2941, allocations: 1.295 MB / 451.5 MB, free: 126.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.2942, allocations: 0.5247 MB / 452 MB, free: 125.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.2956, allocations: 0.5822 MB / 452.6 MB, free: 125.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/0.2992, allocations: 5.349 MB / 457.9 MB, free: 119.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/0.3031, allocations: 6.565 MB / 464.5 MB, free: 113.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.861e-05/0.3032, allocations: 32.06 kB / 464.5 MB, free: 113.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=790) (initialization): time 0.00516/0.3083, allocations: 4.76 MB / 469.3 MB, free: 112.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.3084, allocations: 58.38 kB / 469.3 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.559e-05/0.3085, allocations: 113.4 kB / 469.4 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007116/0.3092, allocations: 444.7 kB / 469.9 MB, free: 112.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/0.3112, allocations: 1.29 MB / 471.2 MB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/0.3146, allocations: 5.714 MB / 476.9 MB, free: 107.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/0.3166, allocations: 223.5 kB / 477.1 MB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/0.3168, allocations: 300.6 kB / 477.4 MB, free: 107.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * 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 (726): * Single equations (assignments): 720 * 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.001034/0.3179, allocations: 0.6263 MB / 478 MB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/0.3182, allocations: 360 kB / 478.4 MB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/0.3202, allocations: 1.669 MB / 480 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.416e-05/0.3203, allocations: 31.69 kB / 480.1 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.3203, allocations: 16.52 kB / 480.1 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.3203, allocations: 10.22 kB / 480.1 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008427/0.3287, allocations: 6.788 MB / 486.9 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/0.3287, allocations: 3.094 kB / 486.9 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007057/0.3294, allocations: 308 kB / 487.2 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008478/0.3303, allocations: 382 kB / 487.6 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.3304, allocations: 52.27 kB / 487.6 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004394/0.3348, allocations: 5.94 MB / 493.6 MB, free: 98.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001673/0.3365, allocations: 2.789 MB / 496.3 MB, free: 95.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002917/0.3394, allocations: 2.364 MB / 498.7 MB, free: 94.87 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007462/0.3401, allocations: 420.9 kB / 499.1 MB, free: 94.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/0.3404, allocations: 47.61 kB / 499.2 MB, free: 94.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005314/0.3409, allocations: 46.25 kB / 499.2 MB, free: 94.56 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/0.3412, allocations: 171.6 kB / 499.4 MB, free: 94.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-05/0.3413, allocations: 65.2 kB / 499.4 MB, free: 94.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001353/0.3427, allocations: 1.071 MB / 0.4888 GB, free: 94.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3427, allocations: 0 / 0.4888 GB, free: 94.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003944/0.3466, allocations: 1.038 MB / 0.4898 GB, free: 93.99 MB / 410.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.0003943/0.347, allocations: 183.4 kB / 0.49 GB, free: 93.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003461/0.3505, allocations: 3.129 MB / 0.493 GB, free: 92.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3505, allocations: 3.344 kB / 0.493 GB, free: 92.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.3516, allocations: 1.27 MB / 0.4943 GB, free: 92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009667/0.3526, allocations: 368.2 kB / 0.4946 GB, free: 91.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009203/0.3618, allocations: 8.168 MB / 0.5026 GB, free: 84.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/0.3629, allocations: 1.32 MB / 0.5039 GB, free: 83.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001099/0.364, allocations: 435.1 kB / 0.5043 GB, free: 83.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/0.3647, allocations: 0.5264 MB / 0.5048 GB, free: 82.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.412e-06/0.3647, allocations: 0 / 0.5048 GB, free: 82.9 MB / 410.7 MB Notification: Performance of Templates: time 0.04667/0.4113, allocations: 33.2 MB / 0.5372 GB, free: 53.91 MB / 410.7 MB " [Timeout remaining time 660] 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: 4.173297450877726]