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.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.001366/0.001366, allocations: 106.6 kB / 16.4 MB, free: 6.504 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.001316/0.001316, allocations: 195.7 kB / 19.36 MB, free: 3.746 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.429/1.429, allocations: 222.9 MB / 245 MB, free: 15 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.04812/0.04812, allocations: 9.132 MB / 306.3 MB, free: 3.754 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.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 0.002004/0.002004, allocations: 59.89 kB / 423.4 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1087, allocations: 51.44 MB / 474.8 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel): time 0.01041/0.1192, allocations: 8.584 MB / 483.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005802/0.125, allocations: 2.725 MB / 486.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.1261, allocations: 31.94 kB / 486.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.1272, allocations: 365.5 kB / 486.5 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00363/0.1309, allocations: 1.397 MB / 487.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005622/0.1314, allocations: 175.7 kB / 488.1 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003838/0.1353, allocations: 2.516 MB / 490.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.1367, allocations: 0.8812 MB / 491.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.1385, allocations: 0.8833 MB / 492.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.1404, allocations: 1.323 MB / 493.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004426/0.1409, allocations: 228 kB / 493.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.1428, allocations: 0.8816 MB / 494.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.1442, allocations: 1.219 MB / 496 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00173/0.1459, allocations: 1.565 MB / 497.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006664/0.1526, allocations: 5.069 MB / 0.4908 GB, free: 4.586 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1526, allocations: 0 / 0.4908 GB, free: 4.586 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1527, allocations: 3.938 kB / 0.4908 GB, free: 4.582 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.226e-05/0.1527, allocations: 0 / 0.4908 GB, free: 4.582 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1162 * Number of variables: 1162 Notification: Performance of Generate backend data structure: time 0.0176/0.1703, allocations: 5.111 MB / 0.4958 GB, free: 15.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.1704, allocations: 8.031 kB / 0.4958 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006973/0.1774, allocations: 1.785 MB / 0.4976 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/0.1801, allocations: 1.43 MB / 0.499 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.1803, allocations: 148 kB / 0.4991 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004294/0.1807, allocations: 207.9 kB / 0.4993 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02306/0.2038, allocations: 8.444 MB / 0.5076 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/0.204, allocations: 23.81 kB / 0.5076 GB, free: 2.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009147/0.2049, allocations: 95.84 kB / 0.5077 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005949/0.2109, allocations: 1.883 MB / 0.5095 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2833/0.4942, allocations: 8.117 MB / 0.5174 GB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04254/0.5368, allocations: 25.92 MB / 0.5428 GB, free: 20.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009257/0.5461, allocations: 2.844 MB / 0.5455 GB, free: 19.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.5476, allocations: 1.072 MB / 0.5466 GB, free: 18.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005808/0.5535, allocations: 5.035 MB / 0.5515 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.5535, allocations: 43.88 kB / 0.5515 GB, free: 13.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=155): time 3.506e-06/0.5535, allocations: 0 / 0.5515 GB, free: 13.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=173): time 0.01509/0.5686, allocations: 7.993 MB / 0.5593 GB, free: 5.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.5687, allocations: 72.38 kB / 0.5594 GB, free: 5.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/0.5726, allocations: 2.602 MB / 0.562 GB, free: 2.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.498e-05/0.5727, allocations: 49.7 kB / 0.562 GB, free: 2.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.5737, allocations: 2.139 MB / 0.5641 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/0.5743, allocations: 0.6678 MB / 0.5647 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001406/0.5757, allocations: 0.8026 MB / 0.5655 GB, free: 15.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.5758, allocations: 301.1 kB / 0.5658 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002575/0.5784, allocations: 1.378 MB / 0.5672 GB, free: 13.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004885/0.5833, allocations: 3.537 MB / 0.5706 GB, free: 8.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007595/0.5909, allocations: 5.298 MB / 0.5758 GB, free: 2.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.26e-05/0.591, allocations: 24 kB / 0.5758 GB, free: 2.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=531) (initialization): time 0.01002/0.601, allocations: 5.128 MB / 0.5808 GB, free: 13.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.667e-05/0.6011, allocations: 40 kB / 0.5809 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/0.6013, allocations: 76 kB / 0.5809 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008955/0.6022, allocations: 318.3 kB / 0.5812 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/0.6052, allocations: 0.8968 MB / 0.5821 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.6098, allocations: 3.284 MB / 0.5853 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002815/0.6126, allocations: 191.9 kB / 0.5855 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005142/0.6131, allocations: 236 kB / 0.5857 GB, free: 8.145 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 9 (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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (490): * Single equations (assignments): 484 * 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.002878/0.616, allocations: 1.579 MB / 0.5873 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005127/0.6165, allocations: 238.3 kB / 0.5875 GB, free: 6.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/0.621, allocations: 2.342 MB / 0.5898 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001266/0.6212, allocations: 33.84 kB / 0.5898 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.6212, allocations: 4 kB / 0.5898 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.6212, allocations: 3.984 kB / 0.5898 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.6338, allocations: 6.22 MB / 0.5959 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.6338, allocations: 4.344 kB / 0.5959 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/0.6349, allocations: 251.6 kB / 0.5961 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006153/0.6355, allocations: 206.3 kB / 0.5963 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.6357, allocations: 31.98 kB / 0.5964 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00361/0.6393, allocations: 2.865 MB / 0.5992 GB, free: 10.12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6393, allocations: 7.938 kB / 0.5992 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006203/0.6455, allocations: 3.6 MB / 0.6027 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008853/0.6464, allocations: 315.5 kB / 0.603 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005791/0.647, allocations: 26.03 kB / 0.603 GB, free: 6.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.6482, allocations: 71.92 kB / 0.6031 GB, free: 6.031 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/0.6485, allocations: 99.98 kB / 0.6032 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.6487, allocations: 55.92 kB / 0.6032 GB, free: 5.879 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003457/0.6521, allocations: 1.676 MB / 0.6049 GB, free: 4.188 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.6521, allocations: 0 / 0.6049 GB, free: 4.188 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003971/0.6561, allocations: 0.7088 MB / 0.6056 GB, free: 3.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (138): * Single equations (assignments): 132 * 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.0006919/0.6568, allocations: 186.8 kB / 0.6057 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007162/0.664, allocations: 3.482 MB / 0.6091 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.664, allocations: 0 / 0.6091 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002153/0.6662, allocations: 1.243 MB / 0.6104 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.6689, allocations: 392.9 kB / 0.6107 GB, free: 14.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/0.6839, allocations: 6.893 MB / 0.6175 GB, free: 7.199 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004457/0.6884, allocations: 2.59 MB / 0.62 GB, free: 4.578 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003351/0.6917, allocations: 1.224 MB / 0.6212 GB, free: 3.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006628/0.6924, allocations: 179.4 kB / 0.6214 GB, free: 3.172 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6924, allocations: 0 / 0.6214 GB, free: 3.172 MB / 446.1 MB Notification: Performance of Templates: time 0.05388/0.7463, allocations: 26.75 MB / 0.6475 GB, free: 8.551 MB / 478.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestDryFrictionWheel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.924992057494819]