Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.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.0009068/0.0009068, allocations: 80.94 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.0009929/0.0009929, 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.9913/0.9913, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.04076/0.04076, allocations: 7.183 MB / 267.4 MB, free: 5.961 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.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") translateModel(PlanarMechanics.Examples.ControlledCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 286.1 MB, free: 3.316 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013e-05/1.119e-05, allocations: 2.312 kB / 286.1 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.1112/0.1112, allocations: 8.481 MB / 294.6 MB, free: 17.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004314/0.1155, allocations: 2.781 MB / 297.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006875/0.1162, allocations: 44.75 kB / 297.4 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006795/0.1169, allocations: 390.5 kB / 297.8 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002324/0.1192, allocations: 1.526 MB / 299.3 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.1195, allocations: 180.2 kB / 299.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.1218, allocations: 2.68 MB / 302.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008822/0.1226, allocations: 0.8848 MB / 303 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.124, allocations: 1.434 MB / 304.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.1253, allocations: 1.301 MB / 305.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003222/0.1256, allocations: 242.3 kB / 306 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009435/0.1265, allocations: 0.86 MB / 306.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005367/0.1271, allocations: 1.288 MB / 308.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000476/0.1275, allocations: 0.8564 MB / 309 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.1293, allocations: 3.352 MB / 312.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1293, allocations: 0 / 312.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1293, allocations: 0 / 312.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.325e-05/0.1293, allocations: 3.875 kB / 312.4 MB, free: 5.707 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: 1173 * Number of variables: 1173 Notification: Performance of Generate backend data structure: time 0.003209/0.1326, allocations: 3.479 MB / 315.8 MB, free: 2.188 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.1326, allocations: 12.62 kB / 315.9 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002508/0.1351, allocations: 1.03 MB / 316.9 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009253/0.136, allocations: 1.028 MB / 317.9 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/0.1361, allocations: 156.2 kB / 318.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002472/0.1364, allocations: 204.2 kB / 318.3 MB, free: 15.74 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/0.1399, allocations: 3.451 MB / 321.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.845e-05/0.1399, allocations: 23.8 kB / 321.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.1401, allocations: 99.86 kB / 321.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001455/0.1415, allocations: 1.661 MB / 323.5 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002907/0.1445, allocations: 1.912 MB / 325.4 MB, free: 8.203 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.1574, allocations: 18.06 MB / 343.5 MB, free: 5.664 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.1594, allocations: 1.023 MB / 344.5 MB, free: 4.633 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.1597, allocations: 240.4 kB / 344.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002736/0.1624, allocations: 2.307 MB / 347 MB, free: 2.066 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.1624, allocations: 51.5 kB / 347.1 MB, free: 2.004 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 2.144e-06/0.1624, allocations: 0 / 347.1 MB, free: 2.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=153): time 0.00545/0.1679, allocations: 3.538 MB / 350.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.1679, allocations: 68.72 kB / 350.7 MB, free: 14.35 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.1692, allocations: 1.805 MB / 352.5 MB, free: 12.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.1692, allocations: 45.7 kB / 352.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007946/0.17, allocations: 2.165 MB / 354.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/0.1703, allocations: 0.5889 MB / 355.3 MB, free: 9.652 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000616/0.1709, allocations: 0.7591 MB / 356.1 MB, free: 8.883 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.171, allocations: 361.8 kB / 356.4 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.1715, allocations: 413.6 kB / 356.8 MB, free: 8.113 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.1729, allocations: 2.481 MB / 359.3 MB, free: 4.566 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.1751, allocations: 3.383 MB / 362.7 MB, free: 112 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/0.1751, allocations: 27.94 kB / 362.7 MB, free: 84 kB / 314.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.002687/0.1778, allocations: 2.636 MB / 365.3 MB, free: 13.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.1778, allocations: 41.72 kB / 365.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.152e-05/0.1778, allocations: 76 kB / 365.5 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004671/0.1783, allocations: 265.2 kB / 365.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.1798, allocations: 0.889 MB / 366.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.1817, allocations: 2.331 MB / 368.9 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.1827, allocations: 152 kB / 369.1 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/0.1829, allocations: 200 kB / 369.3 MB, free: 9.391 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 16 (revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],PID.I.local_reset,body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (482): * Single equations (assignments): 477 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007411/0.1837, allocations: 426.3 kB / 369.7 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.1839, allocations: 155.8 kB / 369.8 MB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.1852, allocations: 0.7913 MB / 370.6 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.222e-05/0.1852, allocations: 19.94 kB / 370.7 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1852, allocations: 4 kB / 370.7 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/0.1852, allocations: 7.969 kB / 370.7 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004561/0.1898, allocations: 3.013 MB / 373.7 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.1898, allocations: 11.47 kB / 373.7 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.1904, allocations: 191.7 kB / 373.9 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005506/0.191, allocations: 238.2 kB / 374.1 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.626e-05/0.191, allocations: 24 kB / 374.1 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.1926, allocations: 1.739 MB / 375.9 MB, free: 2.578 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1926, allocations: 4 kB / 375.9 MB, free: 2.574 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.1942, allocations: 1.156 MB / 377 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003776/0.1945, allocations: 254.6 kB / 377.3 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.1947, allocations: 27.98 kB / 377.3 MB, free: 1.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.1951, allocations: 24 kB / 377.3 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.1953, allocations: 92.7 kB / 377.4 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/0.1953, allocations: 35.98 kB / 377.5 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007147/0.1961, allocations: 0.6614 MB / 378.1 MB, free: 244 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1961, allocations: 0 / 378.1 MB, free: 244 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.002088/0.1982, allocations: 0.6757 MB / 378.8 MB, free: 15.56 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (PID.I.y,PID.D.x,prismatic.s,prismatic.v,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 (113): * Single equations (assignments): 108 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002419/0.1984, allocations: 136.1 kB / 378.9 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.2007, allocations: 1.722 MB / 380.7 MB, free: 13.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001138/0.2009, allocations: 52.69 kB / 380.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006137/0.2015, allocations: 0.5074 MB / 381.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009676/0.2024, allocations: 305 kB / 381.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007493/0.2099, allocations: 5.568 MB / 387.1 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009659/0.2109, allocations: 0.8986 MB / 388 MB, free: 6.238 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001222/0.2121, allocations: 306 kB / 388.3 MB, free: 5.941 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006485/0.2128, allocations: 373.2 kB / 388.6 MB, free: 5.578 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2128, allocations: 0 / 388.6 MB, free: 5.578 MB / 346.7 MB Notification: Performance of Templates: time 0.03486/0.2476, allocations: 22.88 MB / 411.5 MB, free: 15.05 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0814584642648697]