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.001029/0.001029, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005488/0.006517, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001151/0.001151, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001536/0.002686, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9709/0.9709, allocations: 177.1 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09517/1.066, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.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.02936/0.02936, allocations: 7.176 MB / 251.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004862/0.03422, allocations: 2.56 MB / 253.7 MB, free: 5.312 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.463e-06/1.463e-06, allocations: 0 / 254.9 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.812e-05, allocations: 6.312 kB / 255 MB, free: 4.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.006916/0.006934, allocations: 9.057 MB / 264 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005185/0.01212, allocations: 2.845 MB / 266.9 MB, free: 8.086 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009192/0.01304, allocations: 43.88 kB / 266.9 MB, free: 8.043 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006765/0.01371, allocations: 433.2 kB / 267.3 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002513/0.01623, allocations: 1.462 MB / 268.8 MB, free: 6.148 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.0165, allocations: 115.8 kB / 268.9 MB, free: 6.035 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.01888, allocations: 2.716 MB / 271.6 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008982/0.01978, allocations: 0.8166 MB / 272.4 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.02152, allocations: 1.499 MB / 273.9 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1362/0.1578, allocations: 1.343 MB / 275.3 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007965/0.1586, allocations: 252.3 kB / 275.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.16, allocations: 0.765 MB / 276.3 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.1611, allocations: 1.226 MB / 277.5 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001333/0.1624, allocations: 0.7337 MB / 278.2 MB, free: 3.629 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004684/0.1671, allocations: 3.265 MB / 281.5 MB, free: 3.289 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.715e-05/0.1671, allocations: 0.6562 kB / 281.5 MB, free: 3.289 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1671, allocations: 0 / 281.5 MB, free: 3.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001689/0.1673, allocations: 0 / 281.5 MB, free: 3.289 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.009292/0.1766, allocations: 4.175 MB / 285.7 MB, free: 1.738 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1766, allocations: 15.92 kB / 285.7 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004284/0.1809, allocations: 1.079 MB / 286.8 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.1831, allocations: 1.057 MB / 287.8 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.1832, allocations: 162.9 kB / 288 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/0.1836, allocations: 212.9 kB / 288.2 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005671/0.1892, allocations: 3.487 MB / 291.7 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.798e-05/0.1893, allocations: 21.56 kB / 291.7 MB, free: 340 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.1896, allocations: 109.3 kB / 291.8 MB, free: 332 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002114/0.1917, allocations: 1.864 MB / 293.7 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004955/0.1966, allocations: 2.033 MB / 295.7 MB, free: 15.6 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02217/0.2188, allocations: 18.33 MB / 314 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/0.2209, allocations: 0.8782 MB / 314.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.2213, allocations: 228.2 kB / 315.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003291/0.2246, allocations: 2.032 MB / 317.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.2246, allocations: 43.56 kB / 317.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 3.757e-06/0.2246, allocations: 1.75 kB / 317.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=156): time 0.006429/0.2311, allocations: 3.178 MB / 320.4 MB, free: 7.762 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.2311, allocations: 64.72 kB / 320.5 MB, free: 7.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.2327, allocations: 1.819 MB / 322.3 MB, free: 6.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/0.2328, allocations: 45.7 kB / 322.3 MB, free: 6.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.2338, allocations: 2.318 MB / 324.6 MB, free: 3.863 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003852/0.2342, allocations: 0.5977 MB / 325.2 MB, free: 3.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006431/0.2348, allocations: 0.7895 MB / 326 MB, free: 2.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.2349, allocations: 353.1 kB / 326.4 MB, free: 2.254 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005723/0.2355, allocations: 427.3 kB / 326.8 MB, free: 1.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.237, allocations: 2.636 MB / 329.4 MB, free: 14.19 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002842/0.2399, allocations: 3.604 MB / 333 MB, free: 9.645 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.341e-05/0.2399, allocations: 24 kB / 333.1 MB, free: 9.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.00354/0.2434, allocations: 2.842 MB / 335.9 MB, free: 6.754 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.2435, allocations: 40 kB / 335.9 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-05/0.2436, allocations: 80 kB / 336 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007025/0.2443, allocations: 335.7 kB / 336.3 MB, free: 6.305 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.2459, allocations: 0.971 MB / 337.3 MB, free: 5.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003288/0.2492, allocations: 3.855 MB / 341.2 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.2509, allocations: 166.8 kB / 341.3 MB, free: 1.164 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.2511, allocations: 212 kB / 341.5 MB, free: 0.957 MB / 314.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.001336/0.2524, allocations: 445 kB / 342 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.2527, allocations: 143.9 kB / 342.1 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.2539, allocations: 0.8779 MB / 343 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.847e-05/0.2539, allocations: 23.98 kB / 343 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2539, allocations: 4 kB / 343 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.2539, allocations: 3.984 kB / 343 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/0.2582, allocations: 2.823 MB / 345.8 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.2582, allocations: 4 kB / 345.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004865/0.2587, allocations: 211.7 kB / 346.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002429/0.259, allocations: 175 kB / 346.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005355/0.2595, allocations: 280.2 kB / 346.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/0.2596, allocations: 31.98 kB / 346.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/0.2616, allocations: 3.102 MB / 349.6 MB, free: 8.852 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2616, allocations: 4 kB / 349.6 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.263, allocations: 1.263 MB / 350.9 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.2632, allocations: 24 kB / 350.9 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.2636, allocations: 35.98 kB / 351 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.2637, allocations: 88.83 kB / 351 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/0.2638, allocations: 39.92 kB / 351.1 MB, free: 7.348 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006377/0.2644, allocations: 0.6482 MB / 351.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2644, allocations: 0 / 351.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002032/0.2664, allocations: 0.7148 MB / 352.5 MB, free: 6.035 MB / 330.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.0002412/0.2667, allocations: 149 kB / 352.6 MB, free: 5.887 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002167/0.2688, allocations: 1.976 MB / 354.6 MB, free: 3.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001149/0.2689, allocations: 64.66 kB / 354.6 MB, free: 3.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006368/0.2696, allocations: 0.6952 MB / 355.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008096/0.2704, allocations: 429.8 kB / 355.7 MB, free: 2.758 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.2808, allocations: 6.136 MB / 361.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009684/0.2818, allocations: 0.9897 MB / 362.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009158/0.2827, allocations: 311.2 kB / 363.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004854/0.2832, allocations: 373.2 kB / 363.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.673e-06/0.2832, allocations: 0 / 363.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of Templates: time 0.03818/0.3214, allocations: 24.92 MB / 388.5 MB, free: 2.324 MB / 362.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.198086808435619]