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.001152/0.001152, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001106/0.001106, allocations: 169 kB / 23.27 MB, free: 1.223 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.123/1.123, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.03086/0.03086, allocations: 7.178 MB / 267.4 MB, free: 5.895 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.343e-06/1.343e-06, allocations: 0 / 339.3 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.698e-05, allocations: 2.312 kB / 339.3 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.00782/0.007837, allocations: 9.045 MB / 348.4 MB, free: 1.902 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004479/0.01232, allocations: 2.843 MB / 351.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007586/0.01307, allocations: 39.88 kB / 351.2 MB, free: 15.01 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007387/0.01381, allocations: 409.1 kB / 351.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.01609, allocations: 1.61 MB / 353.2 MB, free: 12.99 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.01641, allocations: 175.5 kB / 353.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002237/0.01865, allocations: 2.788 MB / 356.2 MB, free: 10.03 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000958/0.01961, allocations: 0.82 MB / 357 MB, free: 9.184 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.02111, allocations: 1.508 MB / 358.5 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.02269, allocations: 1.465 MB / 360 MB, free: 6.203 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004339/0.02313, allocations: 256 kB / 360.2 MB, free: 5.953 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001273/0.0244, allocations: 0.9048 MB / 361.1 MB, free: 5.047 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009217/0.02532, allocations: 1.398 MB / 362.5 MB, free: 3.645 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008371/0.02616, allocations: 0.9109 MB / 363.5 MB, free: 2.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.02943, allocations: 3.654 MB / 367.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.02944, allocations: 0 / 367.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.02944, allocations: 0 / 367.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.298e-05/0.02952, allocations: 0 / 367.1 MB, free: 15.06 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: 1311 * Number of variables: 1311 Notification: Performance of Generate backend data structure: time 0.005862/0.03538, allocations: 4.455 MB / 371.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.03543, allocations: 12.62 kB / 371.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.03861, allocations: 1.348 MB / 372.9 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.04008, allocations: 1.295 MB / 374.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-05/0.04018, allocations: 164.4 kB / 374.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002832/0.04046, allocations: 220.2 kB / 374.6 MB, free: 7.477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004297/0.04476, allocations: 3.924 MB / 378.5 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.568e-05/0.04481, allocations: 23.8 kB / 378.5 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/0.04502, allocations: 103.8 kB / 378.6 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001686/0.04671, allocations: 1.9 MB / 380.5 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003598/0.0503, allocations: 2.122 MB / 382.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02445/0.07476, allocations: 26.09 MB / 408.8 MB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.07736, allocations: 1.02 MB / 409.8 MB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/0.07781, allocations: 298.8 kB / 410.1 MB, free: 2.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00342/0.08123, allocations: 2.587 MB / 412.7 MB, free: 132 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.08126, allocations: 54.27 kB / 412.7 MB, free: 68 kB / 378.7 MB Notification: Performance of pre-optimization done (n=144): time 3.447e-06/0.08126, allocations: 0 / 412.7 MB, free: 68 kB / 378.7 MB Notification: Performance of matching and sorting (n=162): time 0.007367/0.08863, allocations: 3.713 MB / 416.4 MB, free: 12.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.08867, allocations: 76.59 kB / 416.5 MB, free: 12.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.09085, allocations: 2.093 MB / 418.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.889e-05/0.09092, allocations: 49.7 kB / 418.6 MB, free: 10.01 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.09244, allocations: 2.564 MB / 421.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/0.09292, allocations: 0.6512 MB / 421.9 MB, free: 6.762 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.094, allocations: 0.9447 MB / 422.8 MB, free: 5.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.09418, allocations: 0.5198 MB / 423.3 MB, free: 5.273 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/0.0948, allocations: 376.3 kB / 423.7 MB, free: 4.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/0.09751, allocations: 3.925 MB / 427.6 MB, free: 15.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004233/0.1017, allocations: 4.805 MB / 432.4 MB, free: 8.914 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.688e-05/0.1018, allocations: 24 kB / 432.4 MB, free: 8.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.004879/0.1067, allocations: 3.372 MB / 435.8 MB, free: 5.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/0.1067, allocations: 40.19 kB / 435.9 MB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.262e-05/0.1068, allocations: 88 kB / 435.9 MB, free: 5.383 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/0.1074, allocations: 258.5 kB / 436.2 MB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/0.1094, allocations: 0.9319 MB / 437.1 MB, free: 4.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.1119, allocations: 2.783 MB / 439.9 MB, free: 1.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.1136, allocations: 171.9 kB / 440.1 MB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002777/0.1139, allocations: 220 kB / 440.3 MB, free: 0.9102 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 383 * 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 (528): * Single equations (assignments): 522 * 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.001137/0.115, allocations: 0.4963 MB / 440.8 MB, free: 408 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003132/0.1153, allocations: 250.6 kB / 441 MB, free: 156 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.208/0.3233, allocations: 1.052 MB / 442.1 MB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.043e-05/0.3234, allocations: 21.03 kB / 442.1 MB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.3234, allocations: 5.656 kB / 442.1 MB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.3234, allocations: 6.844 kB / 442.1 MB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006905/0.3303, allocations: 3.302 MB / 445.4 MB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.3304, allocations: 6.281 kB / 445.4 MB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005761/0.3309, allocations: 215.3 kB / 445.6 MB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003912/0.3313, allocations: 145.8 kB / 445.8 MB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.265e-05/0.3314, allocations: 30.66 kB / 445.8 MB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.3331, allocations: 2.446 MB / 448.3 MB, free: 114 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3331, allocations: 3.094 kB / 448.3 MB, free: 114 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.3352, allocations: 1.559 MB / 449.8 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005413/0.3357, allocations: 199.7 kB / 450 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.3359, allocations: 36.08 kB / 450 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000422/0.3364, allocations: 24.97 kB / 450.1 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.3365, allocations: 104.7 kB / 450.2 MB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/0.3366, allocations: 38 kB / 450.2 MB, free: 113.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001169/0.3378, allocations: 0.8648 MB / 451.1 MB, free: 113.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3378, allocations: 3.25 kB / 451.1 MB, free: 113.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003247/0.341, allocations: 0.7242 MB / 451.8 MB, free: 113.3 MB / 410.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.0005252/0.3415, allocations: 180.3 kB / 452 MB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003838/0.3454, allocations: 2.032 MB / 454 MB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.3454, allocations: 0 / 454 MB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008803/0.3463, allocations: 0.6466 MB / 454.7 MB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.3478, allocations: 290.1 kB / 454.9 MB, free: 112.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.3588, allocations: 6.061 MB / 461 MB, free: 110.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.3601, allocations: 1.011 MB / 462 MB, free: 110.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001247/0.3613, allocations: 322.8 kB / 462.3 MB, free: 110 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005769/0.3619, allocations: 422.5 kB / 462.7 MB, free: 109.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.813e-06/0.3619, allocations: 0 / 462.7 MB, free: 109.9 MB / 410.7 MB Notification: Performance of Templates: time 0.04402/0.4059, allocations: 22.13 MB / 484.9 MB, free: 107.5 MB / 410.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: 4.290459332987666]