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.001115/0.001115, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001875/0.00299, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001092/0.001092, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.002532, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9951/0.9951, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08839/1.084, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.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.0344/0.0344, allocations: 7.172 MB / 251.3 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00448/0.03888, allocations: 2.569 MB / 253.9 MB, free: 5.191 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.202e-06/1.202e-06, allocations: 0 / 255.2 MB, free: 3.91 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.271e-05, allocations: 6.312 kB / 255.2 MB, free: 3.902 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.ControlledCraneCrab): time 0.006308/0.00633, allocations: 8.531 MB / 263.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004202/0.01053, allocations: 2.786 MB / 266.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.01113, allocations: 43.81 kB / 266.5 MB, free: 8.492 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005833/0.01172, allocations: 421.2 kB / 266.9 MB, free: 8.078 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.0138, allocations: 1.508 MB / 268.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.0141, allocations: 167.7 kB / 268.6 MB, free: 6.398 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.01624, allocations: 2.701 MB / 271.3 MB, free: 3.691 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008682/0.01711, allocations: 0.8784 MB / 272.2 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.01853, allocations: 1.517 MB / 273.7 MB, free: 1.262 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1184/0.1369, allocations: 1.285 MB / 275 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008482/0.1377, allocations: 241.6 kB / 275.2 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.1393, allocations: 0.8467 MB / 276.1 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008948/0.1402, allocations: 1.153 MB / 277.2 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.1412, allocations: 0.7113 MB / 277.9 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003764/0.145, allocations: 3.122 MB / 281.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.145, allocations: 0.75 kB / 281.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.145, allocations: 0 / 281.1 MB, free: 3.492 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001528/0.1452, allocations: 0 / 281.1 MB, free: 3.492 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.006501/0.1517, allocations: 4.14 MB / 285.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1517, allocations: 11.42 kB / 285.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/0.1545, allocations: 1.026 MB / 286.2 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.1558, allocations: 1.038 MB / 287.3 MB, free: 1.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.327e-05/0.1559, allocations: 156.4 kB / 287.4 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.1561, allocations: 203.5 kB / 287.6 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003656/0.1598, allocations: 3.447 MB / 291.1 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.92e-05/0.1598, allocations: 26.62 kB / 291.1 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.1601, allocations: 100.5 kB / 291.2 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001625/0.1617, allocations: 1.568 MB / 292.8 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003231/0.1649, allocations: 1.926 MB / 294.7 MB, free: 412 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01943/0.1843, allocations: 18.23 MB / 312.9 MB, free: 15.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.1866, allocations: 1.003 MB / 313.9 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.1869, allocations: 241.2 kB / 314.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003231/0.1901, allocations: 2.285 MB / 316.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.1901, allocations: 43.56 kB / 316.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of pre-optimization done (n=131): time 3.807e-06/0.1901, allocations: 0 / 316.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=153): time 0.006471/0.1966, allocations: 3.778 MB / 320.3 MB, free: 8.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.1966, allocations: 64.72 kB / 320.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.1983, allocations: 1.807 MB / 322.1 MB, free: 6.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.982e-05/0.1983, allocations: 45.7 kB / 322.2 MB, free: 6.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008752/0.1992, allocations: 2.159 MB / 324.3 MB, free: 4.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/0.1995, allocations: 0.5899 MB / 324.9 MB, free: 4.297 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006511/0.2002, allocations: 0.7598 MB / 325.7 MB, free: 3.617 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.2003, allocations: 357.4 kB / 326 MB, free: 3.285 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.2008, allocations: 413.6 kB / 326.4 MB, free: 2.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.2022, allocations: 2.482 MB / 328.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002747/0.205, allocations: 3.657 MB / 332.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.658e-05/0.205, allocations: 20 kB / 332.6 MB, free: 10.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=526) (initialization): time 0.003027/0.208, allocations: 2.644 MB / 335.3 MB, free: 8.277 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.2081, allocations: 37 kB / 335.3 MB, free: 8.242 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.08e-05/0.2082, allocations: 84 kB / 335.4 MB, free: 8.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/0.2087, allocations: 269.6 kB / 335.6 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.2103, allocations: 0.9516 MB / 336.6 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.2122, allocations: 2.316 MB / 338.9 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.2136, allocations: 163.1 kB / 339.1 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002094/0.2138, allocations: 200 kB / 339.3 MB, free: 4.207 MB / 314.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.001246/0.215, allocations: 428 kB / 339.7 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/0.2153, allocations: 145.8 kB / 339.8 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.2163, allocations: 0.7821 MB / 340.6 MB, free: 2.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-05/0.2164, allocations: 16.06 kB / 340.6 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2164, allocations: 12 kB / 340.6 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.2164, allocations: 8.578 kB / 340.6 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004224/0.2206, allocations: 3.029 MB / 343.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.2206, allocations: 8 kB / 343.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.2211, allocations: 211.7 kB / 343.9 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004127/0.2215, allocations: 250.9 kB / 344.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/0.222, allocations: 243 kB / 344.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.2221, allocations: 24 kB / 344.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.2234, allocations: 1.749 MB / 346.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.2234, allocations: 0 / 346.1 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.2246, allocations: 1.156 MB / 347.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.2248, allocations: 27.98 kB / 347.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.2251, allocations: 24 kB / 347.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.2252, allocations: 100.6 kB / 347.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.2253, allocations: 35.98 kB / 347.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006174/0.2259, allocations: 0.6497 MB / 348.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2259, allocations: 0 / 348.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002085/0.228, allocations: 0.6796 MB / 348.8 MB, free: 10.46 MB / 330.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.00027/0.2283, allocations: 145.5 kB / 348.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.2303, allocations: 1.787 MB / 350.7 MB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001132/0.2304, allocations: 62.66 kB / 350.8 MB, free: 8.465 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006323/0.231, allocations: 0.5806 MB / 351.4 MB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.2325, allocations: 2.039 MB / 353.4 MB, free: 5.543 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.2427, allocations: 5.677 MB / 359.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008073/0.2435, allocations: 0.9031 MB / 360 MB, free: 14.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008591/0.2444, allocations: 287.8 kB / 360.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/0.2448, allocations: 365.2 kB / 360.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.332e-06/0.2448, allocations: 0 / 360.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of Templates: time 0.03126/0.2761, allocations: 20.55 MB / 381.2 MB, free: 9.855 MB / 362.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.0071795182302594]