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.0009466/0.0009466, allocations: 92.2 kB / 20.19 MB, free: 4.352 MB / 18.57 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.001026/0.001026, allocations: 169 kB / 23.49 MB, free: 1.051 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 1.003/1.003, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.02989/0.02989, allocations: 7.188 MB / 267.5 MB, free: 6.113 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.144e-06/2.144e-06, allocations: 0 / 338.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.841e-05/3.056e-05, allocations: 4.422 kB / 338.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.01339/0.01342, allocations: 13.27 MB / 352.1 MB, free: 13.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.0242, allocations: 4.05 MB / 356.2 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003133/0.02733, allocations: 59.75 kB / 356.3 MB, free: 9.102 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.02871, allocations: 396.7 kB / 356.6 MB, free: 8.711 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.03203, allocations: 0.9627 MB / 357.6 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.03401, allocations: 0.9903 MB / 358.6 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003442/0.03746, allocations: 2.279 MB / 360.9 MB, free: 4.461 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002883/0.04034, allocations: 2.057 MB / 362.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.04248, allocations: 1.614 MB / 364.5 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.04415, allocations: 1.083 MB / 365.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005436/0.0447, allocations: 312 kB / 365.9 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.04619, allocations: 0.7335 MB / 366.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000835/0.04703, allocations: 1.013 MB / 367.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001219/0.04824, allocations: 0.9781 MB / 368.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.05142, allocations: 2.569 MB / 371.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.05143, allocations: 0 / 371.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.05143, allocations: 0 / 371.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.613e-05/0.05148, allocations: 3.938 kB / 371.2 MB, free: 10.01 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.009838/0.06131, allocations: 4.37 MB / 375.6 MB, free: 5.582 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.06136, allocations: 8.625 kB / 375.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008994/0.06226, allocations: 0.538 MB / 376.1 MB, free: 5.035 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.06407, allocations: 1.049 MB / 377.2 MB, free: 3.953 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.06425, allocations: 214 kB / 377.4 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004239/0.06468, allocations: 292.3 kB / 377.7 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006811/0.07149, allocations: 3.686 MB / 381.4 MB, free: 15.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001085/0.0716, allocations: 35.66 kB / 381.4 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.07187, allocations: 128 kB / 381.5 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005525/0.07242, allocations: 436.2 kB / 382 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004914/0.07733, allocations: 1.707 MB / 383.7 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02029/0.09762, allocations: 25.63 MB / 409.3 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004707/0.1023, allocations: 1.043 MB / 410.3 MB, free: 1.258 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.103, allocations: 353.7 kB / 410.7 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1494/0.2525, allocations: 2.747 MB / 413.4 MB, free: 61.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2525, allocations: 47.75 kB / 413.5 MB, free: 61.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=102): time 4.398e-06/0.2525, allocations: 2.297 kB / 413.5 MB, free: 61.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=140): time 0.01335/0.2659, allocations: 6.554 MB / 420 MB, free: 60.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.2659, allocations: 67.34 kB / 420.1 MB, free: 60.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/0.2678, allocations: 1.661 MB / 421.8 MB, free: 60.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.242e-05/0.2679, allocations: 49.83 kB / 421.8 MB, free: 60.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000828/0.2687, allocations: 1.877 MB / 423.7 MB, free: 59.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/0.2691, allocations: 0.557 MB / 424.2 MB, free: 58.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006889/0.2698, allocations: 0.7744 MB / 425 MB, free: 58.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.2699, allocations: 0.5141 MB / 425.5 MB, free: 58.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007441/0.2706, allocations: 0.5163 MB / 426 MB, free: 58.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.2721, allocations: 3.718 MB / 429.8 MB, free: 54.09 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.275, allocations: 4.731 MB / 434.5 MB, free: 49.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.061e-05/0.2751, allocations: 21.62 kB / 434.5 MB, free: 49.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=485) (initialization): time 0.004168/0.2793, allocations: 3.536 MB / 438.1 MB, free: 48.55 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.948e-05/0.2793, allocations: 36 kB / 438.1 MB, free: 48.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.371e-05/0.2794, allocations: 84.59 kB / 438.2 MB, free: 48.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006252/0.28, allocations: 285.3 kB / 438.4 MB, free: 48.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.2815, allocations: 0.9019 MB / 439.4 MB, free: 47.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.2841, allocations: 3.33 MB / 442.7 MB, free: 44.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/0.2857, allocations: 212.8 kB / 442.9 MB, free: 44.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.2859, allocations: 231.3 kB / 443.1 MB, free: 43.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 352 * 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 (464): * Single equations (assignments): 463 * 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.0006981/0.2866, allocations: 468.8 kB / 443.6 MB, free: 43.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.2868, allocations: 236.8 kB / 443.8 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.2885, allocations: 1.412 MB / 445.2 MB, free: 42.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2885, allocations: 19.94 kB / 445.2 MB, free: 42.13 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.2885, allocations: 4 kB / 445.2 MB, free: 42.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.2885, allocations: 9.562 kB / 445.2 MB, free: 42.12 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004943/0.2935, allocations: 4.213 MB / 449.5 MB, free: 38.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.2935, allocations: 6.078 kB / 449.5 MB, free: 38.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005527/0.294, allocations: 270.9 kB / 449.7 MB, free: 37.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003793/0.2944, allocations: 180.8 kB / 449.9 MB, free: 37.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.876e-05/0.2945, allocations: 28 kB / 449.9 MB, free: 37.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.296, allocations: 2.622 MB / 452.6 MB, free: 34.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.296, allocations: 6.625 kB / 452.6 MB, free: 34.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/0.298, allocations: 1.967 MB / 454.5 MB, free: 32.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000251/0.2982, allocations: 162.8 kB / 454.7 MB, free: 32.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.2984, allocations: 32 kB / 454.7 MB, free: 32.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004034/0.2988, allocations: 103.8 kB / 454.8 MB, free: 32.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.2989, allocations: 101.6 kB / 454.9 MB, free: 32.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.299, allocations: 36 kB / 455 MB, free: 32.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006426/0.2996, allocations: 0.7525 MB / 455.7 MB, free: 31.62 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2996, allocations: 0 / 455.7 MB, free: 31.62 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001934/0.3015, allocations: 0.6289 MB / 456.3 MB, free: 30.99 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.0001928/0.3017, allocations: 137.7 kB / 456.5 MB, free: 30.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002627/0.3044, allocations: 2.224 MB / 458.7 MB, free: 28.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.3044, allocations: 0 / 458.7 MB, free: 28.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007016/0.3051, allocations: 0.8136 MB / 459.5 MB, free: 27.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3061, allocations: 419.2 kB / 459.9 MB, free: 27.42 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.3107, allocations: 4.277 MB / 464.2 MB, free: 23.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.3111, allocations: 0.5548 MB / 464.8 MB, free: 22.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001088/0.3122, allocations: 0.7036 MB / 465.5 MB, free: 21.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003345/0.3125, allocations: 152.5 kB / 465.6 MB, free: 21.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.443e-06/0.3125, allocations: 0 / 465.6 MB, free: 21.59 MB / 330.7 MB Notification: Performance of Templates: time 0.02967/0.3422, allocations: 26.08 MB / 491.7 MB, free: 11.75 MB / 346.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.564474789891392]