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.001407/0.001407, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00117/0.00117, allocations: 173 kB / 23.49 MB, free: 1.062 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.9899/0.9899, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.05901/0.05901, allocations: 7.186 MB / 267.5 MB, free: 6.133 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 2.064e-06/2.064e-06, allocations: 0 / 338.9 MB, free: 11.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.402e-05, allocations: 2.312 kB / 338.9 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.009864/0.009888, allocations: 8.561 MB / 347.4 MB, free: 2.992 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005272/0.01516, allocations: 2.687 MB / 350.1 MB, free: 304 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009862/0.01615, allocations: 43.81 kB / 350.2 MB, free: 260 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009073/0.01705, allocations: 385.4 kB / 350.5 MB, free: 15.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.02013, allocations: 1.536 MB / 352.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.02055, allocations: 171.6 kB / 352.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002867/0.02342, allocations: 2.694 MB / 354.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.02454, allocations: 0.8641 MB / 355.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.02629, allocations: 1.442 MB / 357.2 MB, free: 9.129 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001817/0.0281, allocations: 1.348 MB / 358.6 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003997/0.0285, allocations: 248 kB / 358.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.03003, allocations: 0.8424 MB / 359.7 MB, free: 6.691 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.03107, allocations: 1.289 MB / 361 MB, free: 5.398 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.03209, allocations: 0.8486 MB / 361.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004257/0.03635, allocations: 3.354 MB / 365.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.03635, allocations: 0 / 365.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.03635, allocations: 0 / 365.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.779e-05/0.03642, allocations: 4 kB / 365.2 MB, free: 1.176 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.006576/0.043, allocations: 4.265 MB / 369.4 MB, free: 12.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.04304, allocations: 12.56 kB / 369.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004001/0.04704, allocations: 2.222 MB / 371.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.04861, allocations: 1.289 MB / 373 MB, free: 9.293 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.0487, allocations: 156.2 kB / 373.1 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/0.04897, allocations: 212.2 kB / 373.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005121/0.05409, allocations: 4.064 MB / 377.4 MB, free: 4.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.032e-05/0.05414, allocations: 27.75 kB / 377.4 MB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.05434, allocations: 95.86 kB / 377.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001699/0.05604, allocations: 1.852 MB / 379.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004894/0.06093, allocations: 2.363 MB / 381.7 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01873/0.07966, allocations: 25.07 MB / 406.8 MB, free: 6.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.08222, allocations: 1.07 MB / 407.9 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004701/0.08269, allocations: 320.3 kB / 408.2 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003683/0.08637, allocations: 2.635 MB / 410.8 MB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.08641, allocations: 54.33 kB / 410.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of pre-optimization done (n=131): time 3.607e-06/0.08641, allocations: 0 / 410.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=153): time 0.007281/0.09369, allocations: 4.255 MB / 415.1 MB, free: 13.92 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.09373, allocations: 64.72 kB / 415.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.09596, allocations: 2.02 MB / 417.2 MB, free: 11.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.742e-05/0.09601, allocations: 45.7 kB / 417.2 MB, free: 11.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009943/0.09701, allocations: 2.327 MB / 419.6 MB, free: 9.367 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.09735, allocations: 0.6125 MB / 420.2 MB, free: 8.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007454/0.0981, allocations: 0.8537 MB / 421 MB, free: 7.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.09825, allocations: 0.5276 MB / 421.6 MB, free: 7.348 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000731/0.09898, allocations: 435.7 kB / 422 MB, free: 6.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/0.1013, allocations: 3.579 MB / 425.6 MB, free: 1.887 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/0.1048, allocations: 4.41 MB / 430 MB, free: 12.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.341e-05/0.1048, allocations: 20 kB / 430 MB, free: 12.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=524) (initialization): time 0.004294/0.1091, allocations: 3.317 MB / 433.3 MB, free: 8.707 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.1092, allocations: 39.19 kB / 433.4 MB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.534e-05/0.1092, allocations: 80 kB / 433.4 MB, free: 8.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/0.1098, allocations: 295.4 kB / 433.7 MB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.1114, allocations: 0.8656 MB / 434.6 MB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00276/0.1141, allocations: 3.077 MB / 437.7 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.1156, allocations: 203.9 kB / 437.9 MB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.1158, allocations: 239.9 kB / 438.1 MB, free: 3.801 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (480): * Single equations (assignments): 475 * 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.001074/0.1169, allocations: 462.4 kB / 438.6 MB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/0.1172, allocations: 242.6 kB / 438.8 MB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.119, allocations: 1.037 MB / 439.8 MB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.821e-05/0.1191, allocations: 27.98 kB / 439.9 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1191, allocations: 0 / 439.9 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.1191, allocations: 7.922 kB / 439.9 MB, free: 2.008 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1453/0.2645, allocations: 3.802 MB / 443.7 MB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.2645, allocations: 3.25 kB / 443.7 MB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004798/0.265, allocations: 202.3 kB / 443.9 MB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/0.2654, allocations: 194.4 kB / 444.1 MB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/0.2655, allocations: 30.64 kB / 444.1 MB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001476/0.2669, allocations: 2.445 MB / 446.5 MB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2669, allocations: 5.281 kB / 446.5 MB, free: 128.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.2688, allocations: 1.512 MB / 448 MB, free: 127.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004806/0.2693, allocations: 323.7 kB / 448.4 MB, free: 127.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.2694, allocations: 28.5 kB / 448.4 MB, free: 127.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.2698, allocations: 64.25 kB / 448.5 MB, free: 127.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.2699, allocations: 92.58 kB / 448.5 MB, free: 127.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.865e-05/0.27, allocations: 45.62 kB / 448.6 MB, free: 127.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009643/0.271, allocations: 0.9083 MB / 449.5 MB, free: 127.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.271, allocations: 3.25 kB / 449.5 MB, free: 127.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002034/0.273, allocations: 0.6732 MB / 450.2 MB, free: 127.7 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.0002669/0.2733, allocations: 157.2 kB / 450.3 MB, free: 127.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002457/0.2757, allocations: 2.007 MB / 452.3 MB, free: 127.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2757, allocations: 0 / 452.3 MB, free: 127.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006496/0.2764, allocations: 0.6574 MB / 453 MB, free: 126.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008531/0.2772, allocations: 306.3 kB / 453.3 MB, free: 126.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006496/0.2837, allocations: 5.499 MB / 458.8 MB, free: 124.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007474/0.2845, allocations: 0.9153 MB / 459.7 MB, free: 124 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001364/0.2858, allocations: 0.9833 MB / 460.7 MB, free: 123.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.2861, allocations: 151.8 kB / 460.8 MB, free: 123.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.2861, allocations: 0 / 460.8 MB, free: 123.9 MB / 410.7 MB Notification: Performance of Templates: time 0.02906/0.3152, allocations: 21.29 MB / 482.1 MB, free: 120.8 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.60663930606097]