Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.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.0009903/0.0009903, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001244/0.001244, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9794/0.9794, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.04055/0.04055, allocations: 7.188 MB / 267.4 MB, free: 5.949 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.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") translateModel(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 286 MB, free: 3.355 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2e-05/2.173e-05, allocations: 2.312 kB / 286 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.1086/0.1087, allocations: 8.958 MB / 295 MB, free: 16.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004437/0.1131, allocations: 2.841 MB / 297.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000816/0.1139, allocations: 41.66 kB / 297.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007143/0.1146, allocations: 406.5 kB / 298.3 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.117, allocations: 1.481 MB / 299.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.1173, allocations: 123.7 kB / 299.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002258/0.1195, allocations: 2.708 MB / 302.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009357/0.1205, allocations: 0.8122 MB / 303.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/0.1219, allocations: 1.463 MB / 304.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.1234, allocations: 1.365 MB / 306.2 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004527/0.1238, allocations: 250.7 kB / 306.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009486/0.1248, allocations: 0.745 MB / 307.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006203/0.1254, allocations: 1.368 MB / 308.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007172/0.1261, allocations: 0.8837 MB / 309.5 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.1283, allocations: 3.487 MB / 312.9 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1283, allocations: 0.8125 kB / 312.9 MB, free: 5.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1283, allocations: 0 / 312.9 MB, free: 5.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.558e-05/0.1284, allocations: 0 / 312.9 MB, free: 5.117 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1274 * Number of variables: 1274 Notification: Performance of Generate backend data structure: time 0.003224/0.1316, allocations: 3.512 MB / 316.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.1316, allocations: 8.625 kB / 316.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/0.1342, allocations: 1.079 MB / 317.5 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.1353, allocations: 1.056 MB / 318.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.1354, allocations: 160.3 kB / 318.8 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002525/0.1356, allocations: 208.2 kB / 319 MB, free: 15.03 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003424/0.139, allocations: 3.494 MB / 322.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.877e-05/0.1391, allocations: 27.7 kB / 322.5 MB, free: 11.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.1393, allocations: 106.4 kB / 322.6 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001734/0.141, allocations: 1.853 MB / 324.4 MB, free: 9.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00363/0.1447, allocations: 2.016 MB / 326.5 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/0.16, allocations: 18.35 MB / 344.8 MB, free: 4.293 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.1616, allocations: 0.8784 MB / 345.7 MB, free: 3.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.1619, allocations: 229.6 kB / 345.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002371/0.1642, allocations: 2.032 MB / 347.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.1643, allocations: 51.56 kB / 348 MB, free: 1.031 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 4.128e-06/0.1643, allocations: 0 / 348 MB, free: 1.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=156): time 0.005307/0.1696, allocations: 3.183 MB / 351.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.1696, allocations: 64.72 kB / 351.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.171, allocations: 1.831 MB / 353.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.171, allocations: 45.7 kB / 353.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009122/0.1719, allocations: 2.309 MB / 355.4 MB, free: 9.461 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003253/0.1723, allocations: 0.6006 MB / 356 MB, free: 8.855 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006363/0.1729, allocations: 0.7869 MB / 356.8 MB, free: 8.055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.173, allocations: 357.8 kB / 357.2 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.1735, allocations: 426.1 kB / 357.6 MB, free: 7.273 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.1752, allocations: 2.64 MB / 360.2 MB, free: 3.484 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.1777, allocations: 3.606 MB / 363.8 MB, free: 14.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-05/0.1778, allocations: 28 kB / 363.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.002887/0.1807, allocations: 2.83 MB / 366.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.1807, allocations: 40 kB / 366.7 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.818e-05/0.1807, allocations: 80 kB / 366.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005747/0.1813, allocations: 336.4 kB / 367.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.1827, allocations: 0.8656 MB / 368 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.1856, allocations: 3.847 MB / 371.8 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.1868, allocations: 167.9 kB / 372 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.1869, allocations: 208 kB / 372.2 MB, free: 6.102 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 366 * 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],idealWheelJoint.wheel.colorRim[3],idealWheelJoint.wheel.colorRim[2],idealWheelJoint.wheel.colorRim[1],idealWheelJoint.color[3],idealWheelJoint.color[2],idealWheelJoint.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (494): * Single equations (assignments): 488 * 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 {(5,16,64.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000749/0.1877, allocations: 436.8 kB / 372.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.1879, allocations: 147.8 kB / 372.8 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.189, allocations: 0.8939 MB / 373.7 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.406e-05/0.189, allocations: 23.94 kB / 373.7 MB, free: 4.582 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.189, allocations: 4 kB / 373.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.189, allocations: 11.91 kB / 373.7 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/0.1928, allocations: 2.806 MB / 376.5 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.1928, allocations: 4.375 kB / 376.5 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.1932, allocations: 191.7 kB / 376.7 MB, free: 1.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007256/0.1939, allocations: 276.1 kB / 377 MB, free: 1.191 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.1939, allocations: 39.92 kB / 377 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.1959, allocations: 3.076 MB / 380.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1959, allocations: 4 kB / 380.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.1973, allocations: 1.254 MB / 381.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.1976, allocations: 178.6 kB / 381.5 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.1977, allocations: 40.03 kB / 381.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.198, allocations: 24 kB / 381.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.1982, allocations: 96.75 kB / 381.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/0.1982, allocations: 39.94 kB / 381.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006202/0.1988, allocations: 0.6455 MB / 382.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1988, allocations: 4 kB / 382.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001985/0.2008, allocations: 0.707 MB / 383.1 MB, free: 10.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (prismatic.s,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 (113): * Single equations (assignments): 107 * 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 {(5,14,64.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000258/0.2011, allocations: 148.1 kB / 383.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00258/0.2037, allocations: 1.984 MB / 385.2 MB, free: 8.629 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.826e-05/0.2038, allocations: 51.94 kB / 385.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006666/0.2044, allocations: 0.7141 MB / 386 MB, free: 7.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007851/0.2052, allocations: 278.5 kB / 386.2 MB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007351/0.2126, allocations: 5.988 MB / 392.2 MB, free: 1.48 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008409/0.2134, allocations: 0.9932 MB / 393.2 MB, free: 476 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008247/0.2142, allocations: 306.3 kB / 393.5 MB, free: 176 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004872/0.2147, allocations: 369.2 kB / 393.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2147, allocations: 0 / 393.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of Templates: time 0.03681/0.2515, allocations: 24.46 MB / 418.3 MB, free: 7.703 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; mkfifo PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe >> ../files/PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.sim & ./PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.163261689711362]