Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.FreeBody.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.001641/0.001641, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001786/0.001786, allocations: 161.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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.452/1.452, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.06919/0.06919, allocations: 7.117 MB / 266.3 MB, free: 9.766 MB / 254.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.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.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") translateModel(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 3.938 kB / 392.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.751e-05, allocations: 5.375 kB / 392.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.006851/0.006879, allocations: 5.222 MB / 398.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003854/0.01073, allocations: 1.977 MB / 400.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004513/0.01118, allocations: 31.81 kB / 400.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000638/0.01182, allocations: 274.4 kB / 400.4 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.01423, allocations: 1.167 MB / 401.5 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.01436, allocations: 35.89 kB / 401.6 MB, free: 480 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.01645, allocations: 1.907 MB / 403.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.01662, allocations: 55 kB / 403.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.01784, allocations: 0.9937 MB / 404.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00152/0.01936, allocations: 1.048 MB / 405.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000266/0.01963, allocations: 179.9 kB / 405.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.02079, allocations: 0.7176 MB / 406.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008779/0.02167, allocations: 0.9854 MB / 407.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007067/0.02238, allocations: 0.6033 MB / 408.1 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004287/0.02667, allocations: 4.05 MB / 412.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.02667, allocations: 0 / 412.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.02667, allocations: 0 / 412.1 MB, free: 5.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.461e-05/0.02672, allocations: 0 / 412.1 MB, free: 5.898 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 902 * Number of variables: 902 Notification: Performance of Generate backend data structure: time 0.00494/0.03166, allocations: 2.545 MB / 414.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.03169, allocations: 12.62 kB / 414.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006896/0.03859, allocations: 1.739 MB / 416.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002173/0.04076, allocations: 1.051 MB / 417.5 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.877e-05/0.04086, allocations: 98.8 kB / 417.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/0.04118, allocations: 136.2 kB / 417.7 MB, free: 248 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.05128, allocations: 6.466 MB / 424.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/0.05133, allocations: 12.08 kB / 424.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.05156, allocations: 60.27 kB / 424.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002976/0.05453, allocations: 1.628 MB / 425.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01179/0.06632, allocations: 5.985 MB / 431.8 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02548/0.0918, allocations: 16.21 MB / 448 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.09437, allocations: 1.057 MB / 449.1 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1655/0.2598, allocations: 0.4883 MB / 449.6 MB, free: 62.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003465/0.2633, allocations: 1.535 MB / 451.1 MB, free: 61.99 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.2633, allocations: 39.86 kB / 451.2 MB, free: 61.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.276e-06/0.2633, allocations: 0 / 451.2 MB, free: 61.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=80): time 0.003164/0.2665, allocations: 1.476 MB / 452.6 MB, free: 61.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.2665, allocations: 58.69 kB / 452.7 MB, free: 61.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002292/0.2688, allocations: 1.711 MB / 454.4 MB, free: 60.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.2688, allocations: 40.12 kB / 454.4 MB, free: 60.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007793/0.2696, allocations: 1.724 MB / 456.2 MB, free: 59.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.2698, allocations: 332.1 kB / 456.5 MB, free: 59.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006937/0.2705, allocations: 0.571 MB / 457.1 MB, free: 59.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.2706, allocations: 337.6 kB / 457.4 MB, free: 58.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.2721, allocations: 0.9117 MB / 458.3 MB, free: 58.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002278/0.2744, allocations: 2.566 MB / 460.9 MB, free: 55.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003976/0.2783, allocations: 3.707 MB / 464.6 MB, free: 52.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.457e-05/0.2784, allocations: 16.53 kB / 464.6 MB, free: 52.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.005036/0.2834, allocations: 3.393 MB / 468 MB, free: 51.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/0.2835, allocations: 29.75 kB / 468 MB, free: 51.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.925e-05/0.2835, allocations: 61.33 kB / 468.1 MB, free: 51.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.172e-05/0.2836, allocations: 82.64 kB / 468.2 MB, free: 51.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.2852, allocations: 0.6117 MB / 468.8 MB, free: 51.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.204e-05/0.2853, allocations: 116.8 kB / 468.9 MB, free: 51.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.2871, allocations: 389.3 kB / 469.3 MB, free: 51.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/0.2873, allocations: 175.9 kB / 469.4 MB, free: 51.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 3 (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 (334): * Single equations (assignments): 330 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001528/0.2888, allocations: 1.312 MB / 470.7 MB, free: 50.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001654/0.289, allocations: 130.3 kB / 470.9 MB, free: 50.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.2905, allocations: 1.02 MB / 471.9 MB, free: 49.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.824e-05/0.2906, allocations: 19.98 kB / 471.9 MB, free: 49.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2906, allocations: 0 / 471.9 MB, free: 49.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.2906, allocations: 2.016 kB / 471.9 MB, free: 49.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.2947, allocations: 2.769 MB / 474.7 MB, free: 47.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.2947, allocations: 0 / 474.7 MB, free: 47.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.2952, allocations: 103.5 kB / 474.8 MB, free: 47.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.2952, allocations: 4 kB / 474.8 MB, free: 47.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.2952, allocations: 19.61 kB / 474.8 MB, free: 47.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2952, allocations: 0 / 474.8 MB, free: 47.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2952, allocations: 11.88 kB / 474.8 MB, free: 47.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.297, allocations: 1.694 MB / 476.5 MB, free: 45.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.2973, allocations: 130.8 kB / 476.6 MB, free: 45.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.2974, allocations: 11.66 kB / 476.7 MB, free: 45.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.2979, allocations: 35.12 kB / 476.7 MB, free: 45.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.298, allocations: 46.61 kB / 476.7 MB, free: 45.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/0.298, allocations: 27.7 kB / 476.8 MB, free: 45.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001151/0.2992, allocations: 1.013 MB / 477.8 MB, free: 44.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2992, allocations: 0 / 477.8 MB, free: 44.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002134/0.3013, allocations: 0.6617 MB / 478.4 MB, free: 44.15 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.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 (55): * Single equations (assignments): 51 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002803/0.3016, allocations: 137.7 kB / 478.6 MB, free: 44.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002721/0.3043, allocations: 1.919 MB / 480.5 MB, free: 42.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.3043, allocations: 4.062 kB / 480.5 MB, free: 42.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.3048, allocations: 434.7 kB / 480.9 MB, free: 41.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.3058, allocations: 195.8 kB / 481.1 MB, free: 41.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0066/0.3124, allocations: 4.764 MB / 485.9 MB, free: 36.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001543/0.314, allocations: 1.585 MB / 487.5 MB, free: 35.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001612/0.3156, allocations: 0.8547 MB / 488.3 MB, free: 34.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.3158, allocations: 108.5 kB / 488.4 MB, free: 34.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3158, allocations: 0 / 488.4 MB, free: 34.23 MB / 366.1 MB Notification: Performance of Templates: time 0.02168/0.3375, allocations: 13 MB / 0.4897 GB, free: 21.46 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.FreeBody.sim & ./PlanarMechanics_PlanarMechanics.Examples.FreeBody -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.874978434294462] Failed to read output from testmodel.py, exit status != 0: 0.3456387408077717 0.35405479999999995 0.32524650599999994 Calling exit ...