Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.001092/0.001092, allocations: 72.19 kB / 9.903 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001596/0.002688, allocations: 435.8 kB / 10.33 MB, free: 364 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.0007975/0.0007975, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000987/0.001784, allocations: 463.6 kB / 11.68 MB, free: 2.48 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.083/1.083, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1054/1.189, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.03044/0.03044, allocations: 7.174 MB / 251.1 MB, free: 7.883 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00524/0.03568, allocations: 2.552 MB / 253.7 MB, free: 5.328 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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 3.938 kB / 255 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.869e-05/3.093e-05, allocations: 2.312 kB / 255 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.01027/0.0103, allocations: 8.41 MB / 263.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005156/0.01545, allocations: 2.712 MB / 266.1 MB, free: 8.875 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009279/0.01638, allocations: 39.88 kB / 266.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006762/0.01706, allocations: 405.3 kB / 266.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002406/0.01946, allocations: 1.489 MB / 268 MB, free: 6.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.01976, allocations: 139.7 kB / 268.1 MB, free: 6.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002634/0.02239, allocations: 2.615 MB / 270.8 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.02344, allocations: 0.832 MB / 271.6 MB, free: 3.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.02524, allocations: 1.459 MB / 273 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.02692, allocations: 1.278 MB / 274.3 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000414/0.02734, allocations: 232 kB / 274.6 MB, free: 360 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1508/0.1782, allocations: 0.8376 MB / 275.4 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001471/0.1797, allocations: 1.14 MB / 276.5 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.1813, allocations: 0.6904 MB / 277.2 MB, free: 4.812 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004652/0.1859, allocations: 3.084 MB / 280.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.859e-05/0.1859, allocations: 0 / 280.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1859, allocations: 2.594 kB / 280.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001647/0.1861, allocations: 1.938 kB / 280.3 MB, free: 4.512 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: 1163 * Number of variables: 1163 Notification: Performance of Generate backend data structure: time 0.009567/0.1957, allocations: 4.055 MB / 284.4 MB, free: 3.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1957, allocations: 15.78 kB / 284.4 MB, free: 3.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.1999, allocations: 1.02 MB / 285.4 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002205/0.2021, allocations: 0.9968 MB / 286.4 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.2022, allocations: 157.1 kB / 286.6 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003333/0.2025, allocations: 198.7 kB / 286.7 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005948/0.2085, allocations: 3.417 MB / 290.2 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.335e-05/0.2085, allocations: 23.52 kB / 290.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.2088, allocations: 99.41 kB / 290.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001911/0.2107, allocations: 1.67 MB / 292 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004652/0.2153, allocations: 1.913 MB / 293.9 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02244/0.2378, allocations: 17.92 MB / 311.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/0.2402, allocations: 0.9885 MB / 312.8 MB, free: 320 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.2406, allocations: 238.9 kB / 313 MB, free: 88 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003984/0.2445, allocations: 2.266 MB / 315.3 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.2446, allocations: 39.56 kB / 315.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 3.286e-06/0.2446, allocations: 0 / 315.3 MB, free: 13.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=154): time 0.007293/0.2519, allocations: 3.625 MB / 318.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.2519, allocations: 64.72 kB / 319 MB, free: 10.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.2539, allocations: 1.758 MB / 320.8 MB, free: 8.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.947e-05/0.2539, allocations: 48.36 kB / 320.8 MB, free: 8.684 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009668/0.2549, allocations: 2.141 MB / 322.9 MB, free: 6.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.2553, allocations: 0.5839 MB / 323.5 MB, free: 6.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007406/0.256, allocations: 0.7656 MB / 324.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2561, allocations: 349.8 kB / 324.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/0.2567, allocations: 413.5 kB / 325 MB, free: 4.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.2582, allocations: 2.466 MB / 327.5 MB, free: 1.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002758/0.2609, allocations: 3.371 MB / 330.9 MB, free: 13.03 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.876e-05/0.261, allocations: 20 kB / 330.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=522) (initialization): time 0.003227/0.2642, allocations: 2.578 MB / 333.5 MB, free: 10.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/0.2642, allocations: 36 kB / 333.5 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.629e-05/0.2643, allocations: 76 kB / 333.6 MB, free: 10.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003434/0.2646, allocations: 171.8 kB / 333.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.2665, allocations: 0.9946 MB / 334.7 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/0.2678, allocations: 1.785 MB / 336.5 MB, free: 7.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.2695, allocations: 160 kB / 336.7 MB, free: 7.109 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002231/0.2697, allocations: 203.9 kB / 336.9 MB, free: 6.91 MB / 314.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: 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 (488): * Single equations (assignments): 483 * 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 {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001341/0.2711, allocations: 421.3 kB / 337.3 MB, free: 6.488 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002912/0.2714, allocations: 149.3 kB / 337.4 MB, free: 6.344 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.2725, allocations: 0.7272 MB / 338.2 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.519e-05/0.2725, allocations: 24 kB / 338.2 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2725, allocations: 0 / 338.2 MB, free: 5.578 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.2726, allocations: 7.969 kB / 338.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/0.277, allocations: 2.876 MB / 341.1 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.277, allocations: 3.984 kB / 341.1 MB, free: 3.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/0.2776, allocations: 239.7 kB / 341.3 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/0.2779, allocations: 166.7 kB / 341.5 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003602/0.2783, allocations: 152.4 kB / 341.6 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.722e-05/0.2784, allocations: 27.98 kB / 341.7 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.2796, allocations: 1.587 MB / 343.2 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-06/0.2796, allocations: 7.938 kB / 343.3 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.2808, allocations: 1.057 MB / 344.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.281, allocations: 24 kB / 344.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.2813, allocations: 31.98 kB / 344.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.2814, allocations: 78.33 kB / 344.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/0.2815, allocations: 35.98 kB / 344.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006583/0.2822, allocations: 0.6359 MB / 345.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.2822, allocations: 0 / 345.1 MB, free: 15.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002124/0.2843, allocations: 0.6523 MB / 345.8 MB, free: 14.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.v) * 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 (124): * Single equations (assignments): 119 * 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 {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002662/0.2845, allocations: 144.6 kB / 345.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.2866, allocations: 1.635 MB / 347.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001191/0.2867, allocations: 66.55 kB / 347.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004279/0.2871, allocations: 449.3 kB / 348 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.2879, allocations: 428.4 kB / 348.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.2981, allocations: 5.549 MB / 354 MB, free: 6.008 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008781/0.2989, allocations: 0.8936 MB / 354.9 MB, free: 5.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009482/0.2999, allocations: 294.5 kB / 355.2 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/0.3004, allocations: 373.2 kB / 355.6 MB, free: 4.438 MB / 330.7 MB Notification: Performance of SimCode: time 1.964e-06/0.3004, allocations: 0 / 355.6 MB, free: 4.438 MB / 330.7 MB Notification: Performance of Templates: time 0.03484/0.3353, allocations: 21.54 MB / 377.1 MB, free: 15.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.296406486071646]