Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.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.0008263/0.0008263, 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.0009343/0.0009343, 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.9398/0.9398, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.02987/0.02987, allocations: 7.193 MB / 267.4 MB, free: 5.926 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.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") translateModel(PlanarMechanics.Examples.WheelBasedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 286 MB, free: 3.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.609e-05, allocations: 2.312 kB / 286 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.WheelBasedCraneCrab): time 0.1196/0.1196, allocations: 7.843 MB / 293.9 MB, free: 17.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004622/0.1242, allocations: 2.613 MB / 296.5 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007411/0.1249, allocations: 41.56 kB / 296.5 MB, free: 16.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007167/0.1257, allocations: 374.6 kB / 296.9 MB, free: 16.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.1286, allocations: 1.507 MB / 298.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.1289, allocations: 102.9 kB / 298.5 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002567/0.1314, allocations: 2.493 MB / 301 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009057/0.1323, allocations: 0.7486 MB / 301.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.1341, allocations: 1.339 MB / 303.1 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001365/0.1354, allocations: 1.23 MB / 304.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004753/0.1359, allocations: 223.1 kB / 304.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.1371, allocations: 0.8011 MB / 305.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007322/0.1379, allocations: 1.259 MB / 306.6 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008595/0.1387, allocations: 0.7965 MB / 307.4 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00254/0.1413, allocations: 3.262 MB / 310.7 MB, free: 7.414 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1413, allocations: 0 / 310.7 MB, free: 7.414 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1413, allocations: 0 / 310.7 MB, free: 7.414 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.827e-05/0.1413, allocations: 0 / 310.7 MB, free: 7.414 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: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.004438/0.1458, allocations: 3.777 MB / 314.4 MB, free: 3.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1458, allocations: 17.06 kB / 314.4 MB, free: 3.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002506/0.1483, allocations: 0.9861 MB / 315.4 MB, free: 2.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.1498, allocations: 0.9682 MB / 316.4 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/0.1498, allocations: 152.5 kB / 316.6 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/0.1501, allocations: 192.2 kB / 316.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004461/0.1545, allocations: 3.658 MB / 320.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.307e-05/0.1546, allocations: 27.95 kB / 320.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.1548, allocations: 100.4 kB / 320.5 MB, free: 13.05 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001562/0.1563, allocations: 1.743 MB / 322.3 MB, free: 11.31 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004011/0.1603, allocations: 2.104 MB / 324.4 MB, free: 9.188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01713/0.1775, allocations: 19.76 MB / 344.1 MB, free: 4.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/0.1806, allocations: 1.284 MB / 345.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003334/0.1809, allocations: 263.1 kB / 345.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003033/0.1839, allocations: 2.506 MB / 348.2 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.184, allocations: 43.56 kB / 348.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=146): time 3.386e-06/0.184, allocations: 4 kB / 348.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of matching and sorting (n=161): time 0.006652/0.1906, allocations: 3.753 MB / 352 MB, free: 12.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.1907, allocations: 64.72 kB / 352 MB, free: 12.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.1919, allocations: 1.648 MB / 353.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.1919, allocations: 57.62 kB / 353.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008908/0.1928, allocations: 2.188 MB / 355.9 MB, free: 8.941 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003245/0.1931, allocations: 0.6199 MB / 356.6 MB, free: 8.316 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006523/0.1938, allocations: 0.8067 MB / 357.4 MB, free: 7.496 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.1939, allocations: 337.9 kB / 357.7 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/0.1944, allocations: 434.5 kB / 358.1 MB, free: 6.727 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001516/0.1959, allocations: 2.752 MB / 360.9 MB, free: 2.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.1988, allocations: 3.741 MB / 364.6 MB, free: 13.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-05/0.1988, allocations: 27 kB / 364.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=559) (initialization): time 0.004182/0.203, allocations: 2.825 MB / 367.5 MB, free: 10.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.2031, allocations: 42.66 kB / 367.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-05/0.2032, allocations: 84.98 kB / 367.6 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004799/0.2037, allocations: 231.4 kB / 367.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/0.2058, allocations: 0.9163 MB / 368.7 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/0.2079, allocations: 2.178 MB / 370.9 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.2096, allocations: 164 kB / 371.1 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/0.2099, allocations: 224 kB / 371.3 MB, free: 7.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 385 * Number of states: 0 () * Number of discrete variables: 12 (body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (519): * Single equations (assignments): 514 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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.0009417/0.2109, allocations: 453 kB / 371.7 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002405/0.2111, allocations: 151.9 kB / 371.9 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001275/0.2124, allocations: 0.7827 MB / 372.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.819e-05/0.2124, allocations: 24 kB / 372.7 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2124, allocations: 0 / 372.7 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.2124, allocations: 7.969 kB / 372.7 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004757/0.2172, allocations: 2.945 MB / 375.6 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.2172, allocations: 8.062 kB / 375.6 MB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006216/0.2178, allocations: 203.7 kB / 375.8 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004252/0.2183, allocations: 201.2 kB / 376 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.2183, allocations: 31.98 kB / 376.1 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001439/0.2198, allocations: 1.633 MB / 377.7 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.2198, allocations: 11.94 kB / 377.7 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.2215, allocations: 1.322 MB / 379 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.2217, allocations: 170.6 kB / 379.2 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.2219, allocations: 43.92 kB / 379.2 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004583/0.2224, allocations: 31.98 kB / 379.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.2225, allocations: 104.6 kB / 379.4 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/0.2226, allocations: 43.98 kB / 379.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007156/0.2233, allocations: 0.6371 MB / 380.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2233, allocations: 0 / 380.1 MB, free: 13.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002646/0.226, allocations: 0.6757 MB / 380.7 MB, free: 13.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 5 (idealRolling.w,body.r[1],body.phi,revolute.phi,revolute.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 (123): * Single equations (assignments): 118 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002866/0.2263, allocations: 148 kB / 380.9 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.2288, allocations: 1.83 MB / 382.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000116/0.2289, allocations: 51.94 kB / 382.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006718/0.2296, allocations: 0.5134 MB / 383.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.2306, allocations: 298.1 kB / 383.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008532/0.2391, allocations: 5.611 MB / 389.2 MB, free: 4.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.2401, allocations: 0.9047 MB / 390.1 MB, free: 3.613 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00102/0.2412, allocations: 312.6 kB / 390.4 MB, free: 3.309 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008407/0.242, allocations: 373.3 kB / 390.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.242, allocations: 0 / 390.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of Templates: time 0.0353/0.2773, allocations: 20.27 MB / 411 MB, free: 15.02 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.WheelBasedCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3484704913571477]