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.0009269/0.0009269, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001028/0.001028, allocations: 177 kB / 23.36 MB, free: 1.129 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.9947/0.9947, 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.04965/0.04965, allocations: 7.186 MB / 267.4 MB, free: 5.945 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.522e-06/1.522e-06, allocations: 0 / 286.1 MB, free: 3.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.353e-05, allocations: 2.312 kB / 286.1 MB, free: 3.293 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.1266/0.1266, allocations: 9.003 MB / 295.1 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005409/0.1321, allocations: 2.844 MB / 297.9 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.1332, allocations: 41.94 kB / 298 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008436/0.134, allocations: 406.8 kB / 298.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.1371, allocations: 1.47 MB / 299.8 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.1375, allocations: 126.8 kB / 300 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002716/0.1402, allocations: 2.703 MB / 302.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.1412, allocations: 0.81 MB / 303.5 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.1429, allocations: 1.46 MB / 304.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.1446, allocations: 1.362 MB / 306.3 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006152/0.1452, allocations: 251 kB / 306.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001159/0.1464, allocations: 0.7649 MB / 307.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006569/0.147, allocations: 1.373 MB / 308.7 MB, free: 9.367 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007808/0.1478, allocations: 0.8837 MB / 309.6 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.1501, allocations: 3.479 MB / 313 MB, free: 4.988 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1501, allocations: 0.9688 kB / 313 MB, free: 4.988 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1501, allocations: 4 kB / 313 MB, free: 4.984 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.808e-05/0.1501, allocations: 0 / 313 MB, free: 4.984 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.003147/0.1533, allocations: 3.514 MB / 316.6 MB, free: 1.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1533, allocations: 8.625 kB / 316.6 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002938/0.1563, allocations: 1.077 MB / 317.6 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.1576, allocations: 1.047 MB / 318.7 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.497e-05/0.1577, allocations: 168.2 kB / 318.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.1579, allocations: 208.2 kB / 319.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003875/0.1618, allocations: 3.498 MB / 322.6 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.011e-05/0.1619, allocations: 31.73 kB / 322.6 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.1621, allocations: 91.86 kB / 322.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001682/0.1637, allocations: 1.857 MB / 324.5 MB, free: 9.059 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004011/0.1678, allocations: 2.009 MB / 326.5 MB, free: 7.039 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01722/0.185, allocations: 18.35 MB / 344.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.1866, allocations: 0.8728 MB / 345.8 MB, free: 3.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.1869, allocations: 233.6 kB / 346 MB, free: 3.023 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002624/0.1895, allocations: 2.036 MB / 348 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.1896, allocations: 51.48 kB / 348.1 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 2.705e-06/0.1896, allocations: 0 / 348.1 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of matching and sorting (n=156): time 0.005415/0.195, allocations: 3.189 MB / 351.3 MB, free: 13.67 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.195, allocations: 68.66 kB / 351.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.1964, allocations: 1.816 MB / 353.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.1965, allocations: 45.7 kB / 353.2 MB, free: 11.67 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001131/0.1976, allocations: 2.321 MB / 355.5 MB, free: 9.324 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/0.1979, allocations: 0.5967 MB / 356.1 MB, free: 8.723 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006595/0.1986, allocations: 0.7947 MB / 356.9 MB, free: 7.914 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.1987, allocations: 349.9 kB / 357.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.1992, allocations: 430.1 kB / 357.7 MB, free: 7.137 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001679/0.2009, allocations: 2.636 MB / 360.3 MB, free: 3.352 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.2034, allocations: 3.609 MB / 363.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.641e-05/0.2035, allocations: 20 kB / 363.9 MB, free: 14.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.003528/0.207, allocations: 2.83 MB / 366.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.207, allocations: 41.72 kB / 366.8 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.222e-05/0.2071, allocations: 80 kB / 366.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005877/0.2077, allocations: 335.3 kB / 367.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.2091, allocations: 0.9046 MB / 368.1 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.212, allocations: 3.86 MB / 372 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.2135, allocations: 163.9 kB / 372.1 MB, free: 6.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/0.2137, allocations: 212 kB / 372.3 MB, free: 5.918 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.001027/0.2147, allocations: 436.6 kB / 372.8 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.2149, allocations: 143.8 kB / 372.9 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.2163, allocations: 0.8922 MB / 373.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-05/0.2164, allocations: 24 kB / 373.8 MB, free: 4.406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2164, allocations: 4 kB / 373.8 MB, free: 4.402 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.2164, allocations: 11.91 kB / 373.8 MB, free: 4.391 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003784/0.2202, allocations: 2.809 MB / 376.7 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.2202, allocations: 7.938 kB / 376.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.2206, allocations: 195.7 kB / 376.9 MB, free: 1.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004778/0.2211, allocations: 280.2 kB / 377.1 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/0.2212, allocations: 35.92 kB / 377.2 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002285/0.2234, allocations: 3.083 MB / 380.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2235, allocations: 4 kB / 380.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/0.2249, allocations: 1.262 MB / 381.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/0.2251, allocations: 178.6 kB / 381.7 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.2252, allocations: 24 kB / 381.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.2255, allocations: 28 kB / 381.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.2257, allocations: 104.7 kB / 381.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/0.2257, allocations: 43.97 kB / 381.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005671/0.2263, allocations: 0.6455 MB / 382.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2263, allocations: 0 / 382.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002082/0.2284, allocations: 0.707 MB / 383.2 MB, free: 10.59 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.0002642/0.2286, allocations: 148.1 kB / 383.4 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002243/0.2309, allocations: 1.98 MB / 385.4 MB, free: 8.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.522e-05/0.231, allocations: 51.94 kB / 385.4 MB, free: 8.383 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006535/0.2316, allocations: 0.7095 MB / 386.1 MB, free: 7.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007511/0.2324, allocations: 276.4 kB / 386.4 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007414/0.2398, allocations: 6.002 MB / 392.4 MB, free: 1.281 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008973/0.2407, allocations: 0.9854 MB / 393.4 MB, free: 280 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008102/0.2415, allocations: 309 kB / 393.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005015/0.242, allocations: 369.2 kB / 394 MB, free: 15.61 MB / 362.7 MB Notification: Performance of SimCode: time 1.323e-06/0.242, allocations: 0 / 394 MB, free: 15.61 MB / 362.7 MB Notification: Performance of Templates: time 0.0376/0.2796, allocations: 24.51 MB / 418.6 MB, free: 7.449 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.VehicleComponents.Examples.TestIdealWheel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.251610456034541]