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.0008759/0.0008759, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002116/0.002992, allocations: 435.8 kB / 10.33 MB, free: 368 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.001121/0.001121, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001299/0.00242, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.022/1.022, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/1.127, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.03685/0.03685, allocations: 7.181 MB / 251.1 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005994/0.04284, allocations: 2.553 MB / 253.7 MB, free: 5.309 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.694e-06/1.694e-06, allocations: 3.938 kB / 255 MB, free: 4.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.629e-05/2.798e-05, allocations: 2.312 kB / 255 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.007974/0.008002, allocations: 8.088 MB / 263 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00541/0.01341, allocations: 2.693 MB / 265.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.01453, allocations: 35.88 kB / 265.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006947/0.01522, allocations: 409.4 kB / 266.2 MB, free: 8.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.01812, allocations: 1.47 MB / 267.6 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.01839, allocations: 135.7 kB / 267.8 MB, free: 7.168 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.02069, allocations: 2.568 MB / 270.3 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009018/0.02159, allocations: 0.8024 MB / 271.1 MB, free: 3.762 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.02317, allocations: 1.427 MB / 272.6 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.02494, allocations: 1.254 MB / 273.8 MB, free: 1.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003706/0.02531, allocations: 232 kB / 274.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.0266, allocations: 0.8425 MB / 274.9 MB, free: 0 / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1541/0.1807, allocations: 1.122 MB / 276 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.1823, allocations: 0.6839 MB / 276.7 MB, free: 4.891 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004779/0.1871, allocations: 3.058 MB / 279.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-05/0.1871, allocations: 1.891 kB / 279.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.1871, allocations: 0 / 279.8 MB, free: 4.613 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002072/0.1873, allocations: 0 / 279.8 MB, free: 4.613 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.008419/0.1957, allocations: 4.013 MB / 283.8 MB, free: 3.148 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1958, allocations: 15.83 kB / 283.8 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002997/0.1988, allocations: 1.004 MB / 284.8 MB, free: 3.125 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.2005, allocations: 0.9941 MB / 285.8 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.2006, allocations: 148.6 kB / 285.9 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003927/0.201, allocations: 194.4 kB / 286.1 MB, free: 2.766 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004405/0.2054, allocations: 3.378 MB / 289.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.447e-05/0.2055, allocations: 24.34 kB / 289.5 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.2056, allocations: 95.67 kB / 289.6 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001502/0.2072, allocations: 1.672 MB / 291.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.2102, allocations: 1.899 MB / 293.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01519/0.2254, allocations: 17.71 MB / 310.9 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.2274, allocations: 0.9926 MB / 311.9 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.2277, allocations: 235.8 kB / 312.1 MB, free: 1.023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003024/0.2307, allocations: 2.247 MB / 314.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.2307, allocations: 39.56 kB / 314.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=127): time 3.317e-06/0.2307, allocations: 0 / 314.4 MB, free: 14.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=149): time 0.006794/0.2375, allocations: 3.563 MB / 318 MB, free: 11.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.2376, allocations: 64.41 kB / 318 MB, free: 11.2 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.2393, allocations: 1.722 MB / 319.8 MB, free: 9.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.2393, allocations: 45.7 kB / 319.8 MB, free: 9.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.2403, allocations: 2.115 MB / 321.9 MB, free: 7.695 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/0.2407, allocations: 0.575 MB / 322.5 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006689/0.2414, allocations: 0.7431 MB / 323.2 MB, free: 6.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.2415, allocations: 351.5 kB / 323.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.242, allocations: 411.6 kB / 324 MB, free: 5.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.2436, allocations: 2.422 MB / 326.4 MB, free: 2.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/0.2464, allocations: 3.32 MB / 329.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.368e-05/0.2464, allocations: 24 kB / 329.7 MB, free: 14.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.002856/0.2492, allocations: 2.589 MB / 332.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.2493, allocations: 36.19 kB / 332.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.951e-05/0.2493, allocations: 79.94 kB / 332.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/0.2498, allocations: 265.8 kB / 332.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.2513, allocations: 0.9242 MB / 333.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.2531, allocations: 2.33 MB / 336 MB, free: 7.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.2543, allocations: 152 kB / 336.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.2545, allocations: 192 kB / 336.3 MB, free: 7.602 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.001161/0.2557, allocations: 425.7 kB / 336.7 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.2559, allocations: 139.9 kB / 336.8 MB, free: 7.039 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009407/0.2568, allocations: 0.7702 MB / 337.6 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.476e-05/0.2569, allocations: 20.06 kB / 337.6 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.2569, allocations: 8 kB / 337.6 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.2569, allocations: 3.984 kB / 337.6 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003519/0.2604, allocations: 2.941 MB / 340.6 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.2604, allocations: 0 / 340.6 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004338/0.2608, allocations: 200 kB / 340.8 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.261, allocations: 174.7 kB / 341 MB, free: 3.273 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.2614, allocations: 235.9 kB / 341.2 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.074e-05/0.2615, allocations: 31.03 kB / 341.2 MB, free: 3.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.2627, allocations: 1.745 MB / 343 MB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2627, allocations: 4 kB / 343 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.2639, allocations: 1.112 MB / 344.1 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.264, allocations: 24 kB / 344.1 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003102/0.2643, allocations: 26.3 kB / 344.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.2644, allocations: 92.58 kB / 344.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/0.2645, allocations: 38.8 kB / 344.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00054/0.265, allocations: 0.6177 MB / 344.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.265, allocations: 0 / 344.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001853/0.2669, allocations: 0.6671 MB / 345.5 MB, free: 14.67 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.0002585/0.2671, allocations: 136 kB / 345.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.269, allocations: 1.68 MB / 347.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001042/0.2691, allocations: 55.94 kB / 347.4 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.2697, allocations: 0.5051 MB / 347.9 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008065/0.2705, allocations: 418.2 kB / 348.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008656/0.2791, allocations: 5.53 MB / 353.8 MB, free: 6.281 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/0.2799, allocations: 0.8925 MB / 354.7 MB, free: 5.363 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007256/0.2806, allocations: 294.3 kB / 355 MB, free: 5.078 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.2811, allocations: 369.2 kB / 355.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2811, allocations: 0 / 355.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of Templates: time 0.03333/0.3144, allocations: 22.45 MB / 377.8 MB, free: 14.6 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: 3.4330355813726783]