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.001307/0.001307, allocations: 80.94 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.00097/0.00097, allocations: 177 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.9026/0.9026, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.02903/0.02903, allocations: 7.192 MB / 267.4 MB, free: 5.938 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.573e-06/1.573e-06, allocations: 0 / 286 MB, free: 3.352 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.58e-05/1.737e-05, allocations: 5.547 kB / 286 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.1196/0.1196, allocations: 8.432 MB / 294.5 MB, free: 17.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004362/0.124, allocations: 2.784 MB / 297.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006005/0.1246, allocations: 41.78 kB / 297.3 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006348/0.1252, allocations: 394.4 kB / 297.7 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.1273, allocations: 1.539 MB / 299.2 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1276, allocations: 174.8 kB / 299.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002185/0.1298, allocations: 2.682 MB / 302.1 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007382/0.1306, allocations: 0.8901 MB / 303 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.1318, allocations: 1.449 MB / 304.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.133, allocations: 1.295 MB / 305.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004149/0.1334, allocations: 243.1 kB / 305.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.1346, allocations: 0.8308 MB / 306.8 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006706/0.1352, allocations: 1.285 MB / 308 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006205/0.1359, allocations: 0.8553 MB / 308.9 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.1383, allocations: 3.356 MB / 312.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1383, allocations: 0 / 312.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1383, allocations: 2.469 kB / 312.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.08e-05/0.1384, allocations: 0 / 312.3 MB, free: 5.824 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.003785/0.1422, allocations: 3.493 MB / 315.8 MB, free: 2.293 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1422, allocations: 8.625 kB / 315.8 MB, free: 2.285 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/0.1445, allocations: 1.023 MB / 316.8 MB, free: 1.262 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.1456, allocations: 1.035 MB / 317.8 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.682e-05/0.1456, allocations: 152.2 kB / 318 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/0.1459, allocations: 204.2 kB / 318.2 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003299/0.1492, allocations: 3.456 MB / 321.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.134e-05/0.1492, allocations: 27.73 kB / 321.7 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/0.1494, allocations: 95.86 kB / 321.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001466/0.1509, allocations: 1.653 MB / 323.4 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00434/0.1552, allocations: 1.914 MB / 325.3 MB, free: 8.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/0.172, allocations: 18.07 MB / 343.4 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.1746, allocations: 1.033 MB / 344.4 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/0.175, allocations: 236.4 kB / 344.6 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003665/0.1787, allocations: 2.304 MB / 347 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1787, allocations: 43.56 kB / 347 MB, free: 2.121 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 2.795e-06/0.1787, allocations: 0 / 347 MB, free: 2.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=153): time 0.01007/0.1888, allocations: 3.548 MB / 350.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.1888, allocations: 72.72 kB / 350.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.1905, allocations: 1.797 MB / 352.4 MB, free: 12.6 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.1905, allocations: 45.69 kB / 352.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.1915, allocations: 2.161 MB / 354.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/0.1919, allocations: 0.5889 MB / 355.2 MB, free: 9.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008136/0.1927, allocations: 0.763 MB / 356 MB, free: 8.996 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1928, allocations: 357.8 kB / 356.3 MB, free: 8.641 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003689/0.1965, allocations: 417.6 kB / 356.7 MB, free: 8.227 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.1983, allocations: 2.485 MB / 359.2 MB, free: 4.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005893/0.2041, allocations: 3.385 MB / 362.6 MB, free: 220 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-05/0.2042, allocations: 20 kB / 362.6 MB, free: 200 kB / 314.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.006501/0.2107, allocations: 2.645 MB / 365.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.2107, allocations: 40.03 kB / 365.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.263e-05/0.2108, allocations: 76 kB / 365.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003611/0.2144, allocations: 268.8 kB / 365.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.2162, allocations: 0.8461 MB / 366.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.218, allocations: 2.324 MB / 368.8 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009862/0.219, allocations: 160 kB / 369 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.2192, allocations: 196 kB / 369.2 MB, free: 9.535 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.00056/0.2197, allocations: 427 kB / 369.6 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.2199, allocations: 143.9 kB / 369.7 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009252/0.2208, allocations: 0.7952 MB / 370.5 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.14e-05/0.2208, allocations: 19.42 kB / 370.5 MB, free: 8.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2208, allocations: 8.062 kB / 370.5 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.2209, allocations: 3.984 kB / 370.5 MB, free: 8.125 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/0.2241, allocations: 3.028 MB / 373.6 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2241, allocations: 288 / 373.6 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/0.2245, allocations: 187.7 kB / 373.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/0.225, allocations: 231.7 kB / 374 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/0.225, allocations: 27.98 kB / 374 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.2262, allocations: 1.738 MB / 375.7 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2262, allocations: 3.938 kB / 375.7 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.2274, allocations: 1.144 MB / 376.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.2277, allocations: 262.6 kB / 377.1 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.2278, allocations: 24 kB / 377.2 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000315/0.2281, allocations: 28 kB / 377.2 MB, free: 1.211 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.2282, allocations: 88.77 kB / 377.3 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.2283, allocations: 38.75 kB / 377.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005334/0.2288, allocations: 0.6535 MB / 378 MB, free: 416 kB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2288, allocations: 4 kB / 378 MB, free: 412 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.00145/0.2303, allocations: 0.6796 MB / 378.7 MB, free: 15.72 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.0002039/0.2305, allocations: 132.1 kB / 378.8 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0016/0.2321, allocations: 1.729 MB / 380.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.842e-05/0.2322, allocations: 51.94 kB / 380.6 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.2326, allocations: 0.5081 MB / 381.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000752/0.2334, allocations: 309 kB / 381.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006059/0.2394, allocations: 5.563 MB / 386.9 MB, free: 7.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007618/0.2402, allocations: 0.9064 MB / 387.8 MB, free: 6.387 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006565/0.2409, allocations: 296 kB / 388.1 MB, free: 6.102 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/0.2414, allocations: 377.2 kB / 388.5 MB, free: 5.734 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2414, allocations: 0 / 388.5 MB, free: 5.734 MB / 346.7 MB Notification: Performance of Templates: time 0.03154/0.2729, allocations: 22.87 MB / 411.4 MB, free: 15.21 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 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.ControlledCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0757259828969836]