Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrab.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.0008566/0.0008566, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003734/0.00459, 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.0008778/0.0008778, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001874/0.002751, 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.9449/0.9449, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08746/1.032, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.02774/0.02774, allocations: 7.171 MB / 251.3 MB, free: 7.762 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00409/0.03183, allocations: 2.565 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.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") translateModel(PlanarMechanics.Examples.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 255.2 MB, free: 3.91 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.086e-05, allocations: 2.312 kB / 255.2 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.009431/0.009451, allocations: 8.1 MB / 263.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004604/0.01406, allocations: 2.689 MB / 265.9 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007654/0.01482, allocations: 35.88 kB / 266 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.0154, allocations: 405.4 kB / 266.4 MB, free: 8.633 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.01765, allocations: 1.474 MB / 267.9 MB, free: 7.152 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.01793, allocations: 131.7 kB / 268 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002283/0.02021, allocations: 2.575 MB / 270.6 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00096/0.02117, allocations: 0.8023 MB / 271.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.0226, allocations: 1.427 MB / 272.8 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.024, allocations: 1.254 MB / 274 MB, free: 0.918 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004156/0.02442, allocations: 232 kB / 274.3 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1156/0.14, allocations: 0.8402 MB / 275.1 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00159/0.1416, allocations: 1.124 MB / 276.2 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002144/0.1438, allocations: 0.6835 MB / 276.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003878/0.1477, allocations: 3.054 MB / 280 MB, free: 4.59 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.1477, allocations: 3.938 kB / 280 MB, free: 4.59 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1477, allocations: 3.938 kB / 280 MB, free: 4.586 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001531/0.1478, allocations: 2.688 kB / 280 MB, free: 4.586 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: 1152 * Number of variables: 1152 Notification: Performance of Generate backend data structure: time 0.006952/0.1548, allocations: 4.007 MB / 284 MB, free: 3.125 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.1548, allocations: 9.547 kB / 284 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.1581, allocations: 1.005 MB / 285 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001678/0.1597, allocations: 0.9963 MB / 286 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.634e-05/0.1598, allocations: 148.6 kB / 286.1 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/0.1601, allocations: 194.4 kB / 286.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004248/0.1643, allocations: 3.371 MB / 289.7 MB, free: 1.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-05/0.1644, allocations: 27.17 kB / 289.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/0.1646, allocations: 99.31 kB / 289.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001385/0.166, allocations: 1.562 MB / 291.4 MB, free: 1.715 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003468/0.1695, allocations: 1.902 MB / 293.3 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01725/0.1867, allocations: 17.77 MB / 311.1 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.1889, allocations: 0.9877 MB / 312.1 MB, free: 1.074 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002914/0.1892, allocations: 239.8 kB / 312.3 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003269/0.1925, allocations: 2.241 MB / 314.5 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.1925, allocations: 46.92 kB / 314.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of pre-optimization done (n=127): time 4.499e-06/0.1925, allocations: 0.625 kB / 314.6 MB, free: 14.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=149): time 0.00696/0.1995, allocations: 3.803 MB / 318.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.1995, allocations: 66.16 kB / 318.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.2011, allocations: 1.73 MB / 320.2 MB, free: 9.359 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.2011, allocations: 45.7 kB / 320.2 MB, free: 9.309 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008814/0.202, allocations: 2.11 MB / 322.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.2023, allocations: 0.5708 MB / 322.9 MB, free: 6.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006805/0.203, allocations: 0.749 MB / 323.6 MB, free: 6.066 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.2031, allocations: 352.9 kB / 324 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005591/0.2037, allocations: 409.3 kB / 324.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.2051, allocations: 2.421 MB / 326.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/0.2079, allocations: 3.588 MB / 330.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-05/0.208, allocations: 24 kB / 330.4 MB, free: 13.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.003114/0.2111, allocations: 2.583 MB / 333 MB, free: 10.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.2111, allocations: 39.98 kB / 333 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.661e-05/0.2112, allocations: 80.84 kB / 333.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005262/0.2117, allocations: 270.7 kB / 333.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.2133, allocations: 0.932 MB / 334.3 MB, free: 9.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001914/0.2152, allocations: 2.318 MB / 336.6 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.2166, allocations: 148.5 kB / 336.8 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.2168, allocations: 196 kB / 337 MB, free: 6.914 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],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 (469): * Single equations (assignments): 464 * 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.00117/0.218, allocations: 423 kB / 337.4 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.2182, allocations: 139.9 kB / 337.5 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009786/0.2191, allocations: 0.7653 MB / 338.3 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.901e-05/0.2192, allocations: 16 kB / 338.3 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2192, allocations: 64 / 338.3 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.2192, allocations: 19.91 kB / 338.3 MB, free: 5.539 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.2232, allocations: 2.945 MB / 341.3 MB, free: 2.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/0.2232, allocations: 11.98 kB / 341.3 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.2236, allocations: 199.7 kB / 341.5 MB, free: 2.742 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.2239, allocations: 158.8 kB / 341.6 MB, free: 2.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/0.2244, allocations: 246.5 kB / 341.9 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/0.2244, allocations: 27.98 kB / 341.9 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.2258, allocations: 1.752 MB / 343.7 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2259, allocations: 0 / 343.7 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.2272, allocations: 1.121 MB / 344.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.2274, allocations: 20 kB / 344.8 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003298/0.2277, allocations: 30.72 kB / 344.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.2278, allocations: 88.94 kB / 344.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.181e-05/0.2279, allocations: 31.98 kB / 344.9 MB, free: 15.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005974/0.2285, allocations: 0.6161 MB / 345.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2285, allocations: 0 / 345.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002245/0.2307, allocations: 0.664 MB / 346.2 MB, free: 13.96 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel) * 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 (109): * Single equations (assignments): 104 * 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.0002878/0.231, allocations: 144.1 kB / 346.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.2332, allocations: 1.758 MB / 348.1 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001092/0.2333, allocations: 55.94 kB / 348.2 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008931/0.2342, allocations: 0.5771 MB / 348.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.2356, allocations: 1.896 MB / 350.6 MB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009386/0.245, allocations: 5.518 MB / 356.2 MB, free: 3.656 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/0.2457, allocations: 0.8925 MB / 357.1 MB, free: 2.742 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007684/0.2465, allocations: 279.1 kB / 357.3 MB, free: 2.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/0.2469, allocations: 349.2 kB / 357.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.2469, allocations: 0 / 357.7 MB, free: 2.121 MB / 330.7 MB Notification: Performance of Templates: time 0.0318/0.2787, allocations: 19.76 MB / 377.4 MB, free: 14.54 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9694839138537645]