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.001199/0.001199, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001769/0.001769, allocations: 177 kB / 24.07 MB, free: 448 kB / 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.012/1.012, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.02841/0.02841, allocations: 7.181 MB / 268.2 MB, free: 5.914 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.452e-06/1.452e-06, allocations: 0 / 340.1 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.416e-05, allocations: 2.312 kB / 340.1 MB, free: 10.99 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.007198/0.007222, allocations: 8.427 MB / 348.5 MB, free: 2.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005211/0.01243, allocations: 2.667 MB / 351.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009401/0.01337, allocations: 39.88 kB / 351.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007141/0.01409, allocations: 393.2 kB / 351.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.01652, allocations: 1.54 MB / 353.1 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.01684, allocations: 179.6 kB / 353.3 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002663/0.0195, allocations: 2.687 MB / 356 MB, free: 11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.02056, allocations: 0.8603 MB / 356.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.02202, allocations: 1.442 MB / 358.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.02341, allocations: 1.356 MB / 359.7 MB, free: 7.309 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.02368, allocations: 244 kB / 359.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.02483, allocations: 0.8347 MB / 360.7 MB, free: 6.234 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000833/0.02566, allocations: 1.289 MB / 362 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009691/0.02663, allocations: 0.8525 MB / 362.9 MB, free: 4.086 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003919/0.03055, allocations: 3.358 MB / 366.2 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.03055, allocations: 0 / 366.2 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.03055, allocations: 7.938 kB / 366.2 MB, free: 0.707 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.923e-05/0.03064, allocations: 0 / 366.2 MB, free: 0.707 MB / 330.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.007891/0.03853, allocations: 4.221 MB / 370.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.03857, allocations: 8.625 kB / 370.5 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00425/0.04282, allocations: 1.275 MB / 371.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.0448, allocations: 1.241 MB / 373 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.04491, allocations: 152.2 kB / 373.1 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003453/0.04526, allocations: 204.2 kB / 373.3 MB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005954/0.05121, allocations: 3.716 MB / 377.1 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.239e-05/0.05128, allocations: 31.69 kB / 377.1 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.05152, allocations: 95.88 kB / 377.2 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00198/0.0535, allocations: 1.653 MB / 378.8 MB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004803/0.0583, allocations: 1.895 MB / 380.7 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02615/0.08445, allocations: 24.88 MB / 405.6 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/0.08785, allocations: 1.004 MB / 406.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002561/0.09042, allocations: 272.3 kB / 406.9 MB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004513/0.09493, allocations: 2.456 MB / 409.3 MB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.09497, allocations: 50.39 kB / 409.4 MB, free: 4.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=131): time 4.919e-06/0.09498, allocations: 4 kB / 409.4 MB, free: 4.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.006609/0.1016, allocations: 3.606 MB / 413 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003148/0.1019, allocations: 72.64 kB / 413.1 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.1037, allocations: 2.007 MB / 415.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.1038, allocations: 45.7 kB / 415.1 MB, free: 14.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.1048, allocations: 2.346 MB / 417.5 MB, free: 12.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/0.1052, allocations: 0.6163 MB / 418.1 MB, free: 11.46 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000763/0.1059, allocations: 0.8729 MB / 418.9 MB, free: 10.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1061, allocations: 0.5315 MB / 419.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.1066, allocations: 339.7 kB / 419.8 MB, free: 9.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002187/0.1087, allocations: 3.519 MB / 423.3 MB, free: 4.719 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003697/0.1124, allocations: 4.306 MB / 427.6 MB, free: 14.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.689e-05/0.1125, allocations: 24 kB / 427.7 MB, free: 14.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.004241/0.1167, allocations: 3.096 MB / 430.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.1168, allocations: 36.19 kB / 430.8 MB, free: 11.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.752e-05/0.1168, allocations: 80 kB / 430.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005357/0.1174, allocations: 267.4 kB / 431.1 MB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/0.1191, allocations: 0.8501 MB / 432 MB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.1215, allocations: 2.951 MB / 434.9 MB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.1235, allocations: 156 kB / 435.1 MB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/0.1237, allocations: 204 kB / 435.3 MB, free: 7.203 MB / 410.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.0009495/0.1246, allocations: 470.2 kB / 435.7 MB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.1249, allocations: 246.6 kB / 436 MB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.1261, allocations: 0.9434 MB / 436.9 MB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-05/0.1262, allocations: 20 kB / 436.9 MB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1262, allocations: 4 kB / 437 MB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.1262, allocations: 7.969 kB / 437 MB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008167/0.1344, allocations: 3.643 MB / 440.6 MB, free: 1.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/0.1344, allocations: 4 kB / 440.6 MB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000765/0.1352, allocations: 188 kB / 440.8 MB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006364/0.1358, allocations: 163.4 kB / 440.9 MB, free: 1.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.5e-05/0.1359, allocations: 24 kB / 441 MB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1392/0.2751, allocations: 2.322 MB / 443.3 MB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2751, allocations: 3 kB / 443.3 MB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.2769, allocations: 1.384 MB / 444.7 MB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.2773, allocations: 290.2 kB / 445 MB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.2775, allocations: 27.84 kB / 445 MB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003753/0.2779, allocations: 31.55 kB / 445 MB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/0.278, allocations: 88.09 kB / 445.1 MB, free: 123.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.433e-05/0.278, allocations: 41.11 kB / 445.1 MB, free: 123.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007823/0.2788, allocations: 0.8348 MB / 446 MB, free: 123.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2788, allocations: 0 / 446 MB, free: 123.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002022/0.2808, allocations: 0.6861 MB / 446.7 MB, free: 123.3 MB / 410.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.0002119/0.281, allocations: 153.7 kB / 446.8 MB, free: 123.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001853/0.2829, allocations: 1.888 MB / 448.7 MB, free: 123 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.2829, allocations: 0 / 448.7 MB, free: 123 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.2834, allocations: 0.6174 MB / 449.3 MB, free: 122.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.2841, allocations: 307.1 kB / 449.6 MB, free: 122.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005699/0.2898, allocations: 5.463 MB / 455.1 MB, free: 120.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/0.2906, allocations: 0.9151 MB / 456 MB, free: 120.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006742/0.2912, allocations: 301.9 kB / 456.3 MB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/0.2917, allocations: 412.5 kB / 456.7 MB, free: 120.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2917, allocations: 0 / 456.7 MB, free: 120.2 MB / 410.7 MB Notification: Performance of Templates: time 0.03266/0.3243, allocations: 23.34 MB / 480 MB, free: 117.5 MB / 410.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.6230825283564627]