Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.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.001824/0.001824, allocations: 93.47 kB / 19.44 MB, free: 336 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.002005/0.002005, allocations: 169.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.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.07549/0.07549, allocations: 7.175 MB / 266.7 MB, free: 6.09 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.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.483e-05, allocations: 2.312 kB / 338.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.008174/0.008198, allocations: 9.193 MB / 347.3 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006574/0.01477, allocations: 2.863 MB / 350.2 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.01625, allocations: 39.88 kB / 350.2 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.0175, allocations: 413.1 kB / 350.6 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004599/0.0221, allocations: 1.598 MB / 352.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.02266, allocations: 171.5 kB / 352.4 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004192/0.02685, allocations: 2.804 MB / 355.2 MB, free: 9.449 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00193/0.02878, allocations: 0.824 MB / 356 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.03116, allocations: 1.496 MB / 357.5 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002475/0.03364, allocations: 1.461 MB / 359 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000523/0.03416, allocations: 260 kB / 359.2 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.03597, allocations: 0.901 MB / 360.1 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.03757, allocations: 1.402 MB / 361.5 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.03898, allocations: 0.9109 MB / 362.4 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008392/0.04737, allocations: 5.599 MB / 368 MB, free: 12.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.04738, allocations: 0 / 368 MB, free: 12.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.04738, allocations: 0 / 368 MB, free: 12.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001243/0.04751, allocations: 0 / 368 MB, free: 12.54 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: 1311 * Number of variables: 1311 Notification: Performance of Generate backend data structure: time 0.01245/0.05996, allocations: 5.009 MB / 373.1 MB, free: 7.469 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.05999, allocations: 16.62 kB / 373.1 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008446/0.06843, allocations: 2.296 MB / 375.4 MB, free: 5.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/0.07209, allocations: 1.347 MB / 376.7 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.07226, allocations: 164.4 kB / 376.9 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006793/0.07294, allocations: 220.2 kB / 377.1 MB, free: 3.395 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.08352, allocations: 4.896 MB / 382 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-05/0.08361, allocations: 27.7 kB / 382 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003248/0.08393, allocations: 107.8 kB / 382.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00394/0.08787, allocations: 2.091 MB / 384.2 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009997/0.09787, allocations: 3.24 MB / 387.4 MB, free: 8.535 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2107/0.3086, allocations: 39.34 MB / 426.8 MB, free: 52.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004345/0.3129, allocations: 1.25 MB / 428 MB, free: 52.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009521/0.3139, allocations: 429.5 kB / 428.5 MB, free: 52.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005638/0.3195, allocations: 2.864 MB / 431.3 MB, free: 51.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3195, allocations: 52.33 kB / 431.4 MB, free: 51.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 3.146e-06/0.3196, allocations: 1.859 kB / 431.4 MB, free: 51.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=162): time 0.01139/0.3309, allocations: 4.803 MB / 436.2 MB, free: 50.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.331, allocations: 71 kB / 436.2 MB, free: 50.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003394/0.3344, allocations: 2.846 MB / 439.1 MB, free: 48.85 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.3345, allocations: 52.67 kB / 439.1 MB, free: 48.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.3359, allocations: 2.702 MB / 441.8 MB, free: 46.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005315/0.3364, allocations: 0.6894 MB / 442.5 MB, free: 46.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.3376, allocations: 1.131 MB / 443.7 MB, free: 45.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3377, allocations: 0.5483 MB / 444.2 MB, free: 45.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.339, allocations: 0.5831 MB / 444.8 MB, free: 45.05 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/0.3415, allocations: 4.296 MB / 449.1 MB, free: 40.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004209/0.3457, allocations: 5.316 MB / 454.4 MB, free: 34.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.658e-05/0.3458, allocations: 24 kB / 454.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.00661/0.3524, allocations: 3.906 MB / 458.3 MB, free: 30.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.23e-05/0.3524, allocations: 40 kB / 458.4 MB, free: 30.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.066e-05/0.3525, allocations: 84 kB / 458.5 MB, free: 30.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007301/0.3532, allocations: 285.4 kB / 458.7 MB, free: 30.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/0.3559, allocations: 0.9591 MB / 459.7 MB, free: 29.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002759/0.3586, allocations: 3.069 MB / 462.8 MB, free: 26.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/0.3615, allocations: 207.9 kB / 463 MB, free: 25.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003667/0.3619, allocations: 259.4 kB / 463.2 MB, free: 25.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 381 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],dryFrictionWheelJoint.wheel.colorRim[3],dryFrictionWheelJoint.wheel.colorRim[2],dryFrictionWheelJoint.wheel.colorRim[1],dryFrictionWheelJoint.color[3],dryFrictionWheelJoint.color[2],dryFrictionWheelJoint.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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 {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001656/0.3635, allocations: 0.6059 MB / 463.8 MB, free: 24.98 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004929/0.364, allocations: 254.5 kB / 464.1 MB, free: 24.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.3665, allocations: 1.276 MB / 465.4 MB, free: 23.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.793e-05/0.3666, allocations: 35.98 kB / 465.4 MB, free: 23.4 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3666, allocations: 0 / 465.4 MB, free: 23.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.3666, allocations: 7.969 kB / 465.4 MB, free: 23.39 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009638/0.3762, allocations: 5.468 MB / 470.9 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.3762, allocations: 4 kB / 470.9 MB, free: 17.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008379/0.3771, allocations: 235.7 kB / 471.1 MB, free: 17.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005437/0.3776, allocations: 162.5 kB / 471.3 MB, free: 17.42 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.3777, allocations: 37 kB / 471.3 MB, free: 17.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.3798, allocations: 2.681 MB / 474 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3798, allocations: 4 kB / 474 MB, free: 14.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003087/0.3829, allocations: 1.95 MB / 475.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/0.3833, allocations: 194.4 kB / 476.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.3836, allocations: 36.02 kB / 476.2 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007591/0.3843, allocations: 67.92 kB / 476.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.3845, allocations: 108.4 kB / 476.3 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.3846, allocations: 44 kB / 476.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001575/0.3861, allocations: 1.188 MB / 477.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3861, allocations: 0 / 477.6 MB, free: 10.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003279/0.3894, allocations: 0.7303 MB / 478.3 MB, free: 10.17 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (prismatic.s,prismatic.v,revolute.phi,revolute.w,engineTorque.phi,inertia.w) * 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 (128): * Single equations (assignments): 122 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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 {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003878/0.3898, allocations: 178.1 kB / 478.5 MB, free: 9.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004324/0.3941, allocations: 2.56 MB / 481 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.3941, allocations: 1.438 kB / 481 MB, free: 7.414 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.3952, allocations: 0.7976 MB / 481.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.3967, allocations: 285 kB / 482.1 MB, free: 6.316 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.4069, allocations: 6.225 MB / 488.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003925/0.4109, allocations: 2.036 MB / 490.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003064/0.4139, allocations: 1.039 MB / 491.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/0.4145, allocations: 164.5 kB / 491.6 MB, free: 12.72 MB / 346.7 MB Notification: Performance of SimCode: time 2.414e-06/0.4145, allocations: 4 kB / 491.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of Templates: time 0.05114/0.4656, allocations: 20.19 MB / 0.4998 GB, free: 8.887 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.895715241087601]