Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.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.001381/0.001381, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 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.001599/0.001599, allocations: 169 kB / 23.02 MB, free: 1.551 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.9259/0.9259, allocations: 177.1 MB / 203.4 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.029/0.029, allocations: 7.185 MB / 267.1 MB, free: 6.07 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.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") translateModel(PlanarMechanics.Examples.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 338.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/3.007e-05, allocations: 6.312 kB / 338.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.01348/0.01351, allocations: 13.32 MB / 352.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008084/0.02159, allocations: 4.05 MB / 356.2 MB, free: 8.758 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.02262, allocations: 59.75 kB / 356.3 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006071/0.02323, allocations: 404.7 kB / 356.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.02458, allocations: 0.9627 MB / 357.6 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009863/0.02557, allocations: 0.9825 MB / 358.6 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.0269, allocations: 2.283 MB / 360.9 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.02835, allocations: 2.061 MB / 363 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009786/0.02933, allocations: 1.606 MB / 364.6 MB, free: 316 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009613/0.03029, allocations: 1.099 MB / 365.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003098/0.0306, allocations: 308 kB / 366 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006822/0.03128, allocations: 0.7335 MB / 366.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000517/0.0318, allocations: 1.013 MB / 367.7 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007654/0.03256, allocations: 0.9742 MB / 368.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.03462, allocations: 2.565 MB / 371.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.03463, allocations: 0 / 371.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.03463, allocations: 0 / 371.3 MB, free: 9.605 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.902e-05/0.0347, allocations: 0 / 371.3 MB, free: 9.605 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 869 * Number of variables: 869 Notification: Performance of Generate backend data structure: time 0.005516/0.04022, allocations: 4.374 MB / 375.6 MB, free: 5.176 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.04025, allocations: 16.62 kB / 375.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005544/0.04081, allocations: 0.5341 MB / 376.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.04187, allocations: 1.053 MB / 377.2 MB, free: 3.539 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.04198, allocations: 214 kB / 377.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002438/0.04223, allocations: 288.3 kB / 377.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003891/0.04612, allocations: 3.686 MB / 381.4 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.035e-05/0.04619, allocations: 39.64 kB / 381.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.04635, allocations: 132 kB / 381.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003167/0.04667, allocations: 432.2 kB / 382 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.04952, allocations: 1.703 MB / 383.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.06156, allocations: 25.63 MB / 409.3 MB, free: 1.902 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.06412, allocations: 1.044 MB / 410.4 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.06456, allocations: 354.5 kB / 410.7 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1152/0.1797, allocations: 2.744 MB / 413.5 MB, free: 75.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.1797, allocations: 46.23 kB / 413.5 MB, free: 75.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=102): time 2.144e-06/0.1797, allocations: 7.141 kB / 413.5 MB, free: 75.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.01057/0.1903, allocations: 6.553 MB / 420.1 MB, free: 74.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.1903, allocations: 71.38 kB / 420.2 MB, free: 74.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.1914, allocations: 1.665 MB / 421.8 MB, free: 73.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.1915, allocations: 47.17 kB / 421.9 MB, free: 73.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/0.1919, allocations: 1.877 MB / 423.7 MB, free: 72.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.1922, allocations: 0.563 MB / 424.3 MB, free: 72.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004748/0.1926, allocations: 0.7705 MB / 425.1 MB, free: 71.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.608e-05/0.1927, allocations: 0.5147 MB / 425.6 MB, free: 71.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/0.1933, allocations: 0.5187 MB / 426.1 MB, free: 71.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001251/0.1945, allocations: 3.733 MB / 429.8 MB, free: 66.78 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.1971, allocations: 4.76 MB / 434.6 MB, free: 60.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.64e-05/0.1971, allocations: 20 kB / 434.6 MB, free: 60.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.003285/0.2004, allocations: 3.549 MB / 438.2 MB, free: 57.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.2004, allocations: 40.97 kB / 438.2 MB, free: 57.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.283e-05/0.2004, allocations: 76 kB / 438.3 MB, free: 57.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004938/0.2009, allocations: 293.7 kB / 438.6 MB, free: 57.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.2022, allocations: 0.9006 MB / 439.5 MB, free: 56.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.2043, allocations: 3.341 MB / 442.8 MB, free: 52.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.2054, allocations: 215.8 kB / 443 MB, free: 52.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.2055, allocations: 228 kB / 443.2 MB, free: 52.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * Number of states: 0 () * Number of discrete variables: 18 (revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[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 (466): * Single equations (assignments): 465 * Array equations: 0 * 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,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005136/0.206, allocations: 472.4 kB / 443.7 MB, free: 51.96 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.2062, allocations: 230.7 kB / 443.9 MB, free: 51.74 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.2077, allocations: 1.418 MB / 445.4 MB, free: 50.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.2077, allocations: 12 kB / 445.4 MB, free: 50.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2077, allocations: 7.938 kB / 445.4 MB, free: 50.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.2077, allocations: 7.969 kB / 445.4 MB, free: 50.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/0.2117, allocations: 4.212 MB / 449.6 MB, free: 45.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2117, allocations: 4 kB / 449.6 MB, free: 45.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.2122, allocations: 275.2 kB / 449.9 MB, free: 45.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003266/0.2126, allocations: 175.9 kB / 450 MB, free: 45.54 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/0.2126, allocations: 35.98 kB / 450.1 MB, free: 45.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.214, allocations: 2.626 MB / 452.7 MB, free: 42.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.214, allocations: 4 kB / 452.7 MB, free: 42.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.2158, allocations: 1.976 MB / 454.7 MB, free: 40.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.2159, allocations: 158.8 kB / 454.8 MB, free: 40.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.216, allocations: 28 kB / 454.9 MB, free: 40.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.2164, allocations: 107.8 kB / 455 MB, free: 40.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.2165, allocations: 100.8 kB / 455.1 MB, free: 40.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.2165, allocations: 35.94 kB / 455.1 MB, free: 40.28 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005162/0.217, allocations: 0.7566 MB / 455.9 MB, free: 39.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.217, allocations: 0 / 455.9 MB, free: 39.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001301/0.2183, allocations: 0.6289 MB / 456.5 MB, free: 38.9 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (121): * Single equations (assignments): 120 * Array equations: 0 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001516/0.2185, allocations: 137.5 kB / 456.6 MB, free: 38.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001928/0.2204, allocations: 2.228 MB / 458.8 MB, free: 36.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2204, allocations: 0 / 458.8 MB, free: 36.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000594/0.221, allocations: 0.8179 MB / 459.7 MB, free: 35.69 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/0.2219, allocations: 401 kB / 460.1 MB, free: 35.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.2256, allocations: 4.285 MB / 464.3 MB, free: 30.94 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.2259, allocations: 0.5587 MB / 464.9 MB, free: 30.35 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000896/0.2268, allocations: 0.704 MB / 465.6 MB, free: 29.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.2271, allocations: 152.5 kB / 465.7 MB, free: 29.5 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2271, allocations: 4 kB / 465.8 MB, free: 29.49 MB / 330.7 MB Notification: Performance of Templates: time 0.02471/0.2518, allocations: 26.96 MB / 492.7 MB, free: 2.777 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.MeasureDemo -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.304361751768738]