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.001213/0.001213, allocations: 81.95 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.001122/0.001122, allocations: 169.7 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.072/1.072, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.03001/0.03001, allocations: 7.184 MB / 267.4 MB, free: 5.918 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.783e-06/1.783e-06, allocations: 0 / 339.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.777e-05/1.956e-05, allocations: 2.312 kB / 339.3 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.VehicleComponents.Examples.TestIdealWheel): time 0.008286/0.008305, allocations: 8.946 MB / 348.2 MB, free: 2.008 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006426/0.01473, allocations: 2.73 MB / 351 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.01575, allocations: 43.88 kB / 351 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005681/0.01631, allocations: 401.2 kB / 351.4 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.01846, allocations: 1.477 MB / 352.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.01867, allocations: 131.6 kB / 353 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.02065, allocations: 2.7 MB / 355.7 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007304/0.02138, allocations: 0.7964 MB / 356.5 MB, free: 9.695 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001172/0.02255, allocations: 1.457 MB / 358 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/0.02432, allocations: 1.41 MB / 359.4 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.02456, allocations: 252 kB / 359.6 MB, free: 6.574 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008387/0.0254, allocations: 0.7527 MB / 360.4 MB, free: 5.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007879/0.02618, allocations: 1.367 MB / 361.7 MB, free: 4.449 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006304/0.02681, allocations: 0.8797 MB / 362.6 MB, free: 3.566 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003166/0.02998, allocations: 3.486 MB / 366.1 MB, free: 68 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.02998, allocations: 0 / 366.1 MB, free: 68 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02998, allocations: 0 / 366.1 MB, free: 68 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.803e-05/0.03002, allocations: 0 / 366.1 MB, free: 68 kB / 330.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.004315/0.03434, allocations: 4.24 MB / 370.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.03437, allocations: 8.625 kB / 370.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002963/0.03734, allocations: 1.325 MB / 371.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00175/0.03909, allocations: 1.26 MB / 372.9 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/0.03918, allocations: 164.3 kB / 373.1 MB, free: 8.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.03945, allocations: 220.1 kB / 373.3 MB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003768/0.04321, allocations: 3.727 MB / 377 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/0.04326, allocations: 19.81 kB / 377.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/0.04344, allocations: 99.84 kB / 377.2 MB, free: 4.445 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001596/0.04504, allocations: 1.857 MB / 379 MB, free: 2.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003317/0.04835, allocations: 2.011 MB / 381 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01901/0.06737, allocations: 24.87 MB / 405.9 MB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.06889, allocations: 0.8544 MB / 406.8 MB, free: 6.141 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.06919, allocations: 266.5 kB / 407 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002729/0.07192, allocations: 2.336 MB / 409.3 MB, free: 3.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.07195, allocations: 54.31 kB / 409.4 MB, free: 3.438 MB / 378.7 MB Notification: Performance of pre-optimization done (n=131): time 1.854e-06/0.07195, allocations: 0 / 409.4 MB, free: 3.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=156): time 0.005077/0.07703, allocations: 3.338 MB / 412.7 MB, free: 60 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.07709, allocations: 72.66 kB / 412.8 MB, free: 15.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.07884, allocations: 2.018 MB / 414.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.697e-05/0.0789, allocations: 45.7 kB / 414.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.08046, allocations: 2.502 MB / 417.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003655/0.08082, allocations: 0.6279 MB / 418 MB, free: 10.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007883/0.08161, allocations: 0.9088 MB / 418.9 MB, free: 9.762 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.0818, allocations: 0.5198 MB / 419.4 MB, free: 9.234 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004692/0.08227, allocations: 355.9 kB / 419.8 MB, free: 8.879 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.08511, allocations: 3.744 MB / 423.5 MB, free: 3.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/0.0894, allocations: 4.582 MB / 428.1 MB, free: 13.44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/0.08942, allocations: 24 kB / 428.1 MB, free: 13.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.003585/0.09301, allocations: 3.309 MB / 431.4 MB, free: 10.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.302e-05/0.09305, allocations: 36 kB / 431.5 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.927e-05/0.09311, allocations: 84 kB / 431.6 MB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006125/0.09372, allocations: 338.1 kB / 431.9 MB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.09511, allocations: 0.8734 MB / 432.8 MB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.09883, allocations: 5.045 MB / 437.8 MB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.1001, allocations: 156 kB / 438 MB, free: 3.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002144/0.1003, allocations: 216.2 kB / 438.2 MB, free: 3.133 MB / 410.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.001014/0.1013, allocations: 484.5 kB / 438.6 MB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.1015, allocations: 242.9 kB / 438.9 MB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.1029, allocations: 1.049 MB / 439.9 MB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/0.1029, allocations: 20 kB / 439.9 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1029, allocations: 8 kB / 440 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.1029, allocations: 11.91 kB / 440 MB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2125/0.3154, allocations: 3.183 MB / 443.1 MB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.3154, allocations: 3.125 kB / 443.2 MB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000438/0.3158, allocations: 191.8 kB / 443.3 MB, free: 124.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.3163, allocations: 200.8 kB / 443.5 MB, free: 124 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.3163, allocations: 30.47 kB / 443.6 MB, free: 124 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.3184, allocations: 4.211 MB / 447.8 MB, free: 120.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.3184, allocations: 10.28 kB / 447.8 MB, free: 120.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.3202, allocations: 1.5 MB / 449.3 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.3206, allocations: 184.8 kB / 449.5 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.3207, allocations: 29.81 kB / 449.5 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.3211, allocations: 34.78 kB / 449.5 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.3212, allocations: 97.83 kB / 449.6 MB, free: 120.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.855e-05/0.3212, allocations: 34.98 kB / 449.7 MB, free: 120.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000699/0.3219, allocations: 0.8321 MB / 450.5 MB, free: 120 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3219, allocations: 3.844 kB / 450.5 MB, free: 120 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002547/0.3245, allocations: 0.7174 MB / 451.2 MB, free: 120 MB / 410.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.0003024/0.3248, allocations: 156.9 kB / 451.4 MB, free: 120 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002507/0.3273, allocations: 2.219 MB / 453.6 MB, free: 119.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3273, allocations: 0 / 453.6 MB, free: 119.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006914/0.328, allocations: 0.857 MB / 454.4 MB, free: 119.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000877/0.3289, allocations: 290.4 kB / 454.7 MB, free: 119.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007517/0.3364, allocations: 5.861 MB / 460.6 MB, free: 116.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008908/0.3373, allocations: 0.9983 MB / 461.6 MB, free: 116.5 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007853/0.3381, allocations: 310.2 kB / 461.9 MB, free: 116.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/0.3386, allocations: 406.3 kB / 462.3 MB, free: 116.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3386, allocations: 0 / 462.3 MB, free: 116.4 MB / 410.7 MB Notification: Performance of Templates: time 0.04183/0.3804, allocations: 24.5 MB / 486.8 MB, free: 112.7 MB / 410.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.918754791840911]