Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.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.2 kB / 20.19 MB, free: 4.355 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.001455/0.001455, allocations: 169 kB / 23.49 MB, free: 1.055 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.9833/0.9833, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.03073/0.03073, allocations: 7.184 MB / 267.5 MB, free: 6.117 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.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") translateModel(PlanarMechanics.Examples.KinematicLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.KinematicLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 338.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.243e-05, allocations: 4.562 kB / 338.9 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.006675/0.006698, allocations: 10.17 MB / 349 MB, free: 348 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005423/0.01212, allocations: 2.982 MB / 352 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008249/0.01295, allocations: 47.81 kB / 352.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007699/0.01371, allocations: 468.6 kB / 352.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002529/0.01624, allocations: 1.699 MB / 354.2 MB, free: 11.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004239/0.01667, allocations: 227.4 kB / 354.5 MB, free: 10.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002707/0.01937, allocations: 3.106 MB / 357.6 MB, free: 7.797 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00132/0.02069, allocations: 1.027 MB / 358.6 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001658/0.02235, allocations: 1.695 MB / 360.3 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001359/0.02371, allocations: 1.527 MB / 361.8 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002705/0.02398, allocations: 280 kB / 362.1 MB, free: 3.234 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009931/0.02498, allocations: 0.8698 MB / 363 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000864/0.02584, allocations: 1.464 MB / 364.4 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000932/0.02677, allocations: 1.008 MB / 365.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.02976, allocations: 3.778 MB / 369.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.02976, allocations: 4 kB / 369.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.02976, allocations: 0 / 369.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.895e-05/0.02982, allocations: 0 / 369.2 MB, free: 12.09 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: 1376 * Number of variables: 1376 Notification: Performance of Generate backend data structure: time 0.008209/0.03803, allocations: 6.118 MB / 375.3 MB, free: 5.906 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.03807, allocations: 8.625 kB / 375.3 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004324/0.04239, allocations: 2.327 MB / 377.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.04407, allocations: 1.437 MB / 379.1 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.04417, allocations: 192.8 kB / 379.3 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.04448, allocations: 243.8 kB / 379.5 MB, free: 1.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005793/0.05027, allocations: 5.03 MB / 384.6 MB, free: 11.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.912e-05/0.05033, allocations: 31.75 kB / 384.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.05056, allocations: 119.8 kB / 384.7 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001861/0.05242, allocations: 2.075 MB / 386.8 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005706/0.05813, allocations: 2.902 MB / 389.7 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1549/0.213, allocations: 31.76 MB / 421.4 MB, free: 51.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005675/0.2187, allocations: 1.618 MB / 423.1 MB, free: 51.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009592/0.2197, allocations: 490 kB / 423.5 MB, free: 51.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004795/0.2245, allocations: 3.07 MB / 426.6 MB, free: 50.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.2245, allocations: 52.08 kB / 426.7 MB, free: 50.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=184): time 4.579e-06/0.2245, allocations: 0 / 426.7 MB, free: 50.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.01476/0.2393, allocations: 5.869 MB / 432.5 MB, free: 49.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.2393, allocations: 76.75 kB / 432.6 MB, free: 49.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.2419, allocations: 2.273 MB / 434.9 MB, free: 49.45 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.335e-05/0.2419, allocations: 56.86 kB / 434.9 MB, free: 49.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001084/0.243, allocations: 2.646 MB / 437.6 MB, free: 47.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005357/0.2436, allocations: 0.9184 MB / 438.5 MB, free: 46.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/0.2446, allocations: 1.064 MB / 439.6 MB, free: 45.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.119e-05/0.2447, allocations: 0.5236 MB / 440.1 MB, free: 45.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.2458, allocations: 0.5592 MB / 440.6 MB, free: 45.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002341/0.2482, allocations: 4.412 MB / 445.1 MB, free: 38.94 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003921/0.2521, allocations: 5.522 MB / 450.6 MB, free: 31.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/0.2521, allocations: 24 kB / 450.6 MB, free: 31.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=667) (initialization): time 0.006443/0.2586, allocations: 4.429 MB / 455 MB, free: 27.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.152e-05/0.2586, allocations: 47.94 kB / 455.1 MB, free: 27.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.072e-05/0.2587, allocations: 96.16 kB / 455.2 MB, free: 27.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.2601, allocations: 0.5464 MB / 455.7 MB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/0.2624, allocations: 1.061 MB / 456.8 MB, free: 25.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007051/0.2694, allocations: 10.86 MB / 467.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002362/0.2718, allocations: 263.4 kB / 467.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002958/0.2721, allocations: 288 kB / 468.2 MB, free: 13.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (591): * Single equations (assignments): 582 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,17,100.0%), (2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001025/0.2731, allocations: 0.5526 MB / 468.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.2735, allocations: 310.4 kB / 469 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/0.2761, allocations: 1.712 MB / 470.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.825e-05/0.2762, allocations: 39.92 kB / 470.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.2762, allocations: 8 kB / 470.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.2762, allocations: 11.95 kB / 470.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006413/0.2826, allocations: 5.521 MB / 476.3 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.2826, allocations: 4 kB / 476.3 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006272/0.2832, allocations: 307.5 kB / 476.6 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008657/0.2841, allocations: 443.4 kB / 477.1 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.092e-05/0.2842, allocations: 51.58 kB / 477.1 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005051/0.2892, allocations: 9.238 MB / 486.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.2892, allocations: 11.94 kB / 486.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003208/0.2924, allocations: 2.425 MB / 488.8 MB, free: 8.289 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004/0.2928, allocations: 231.2 kB / 489 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.293, allocations: 43.36 kB / 489.1 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/0.2936, allocations: 103.9 kB / 489.2 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.2938, allocations: 173.5 kB / 489.3 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.82e-05/0.2939, allocations: 63.98 kB / 489.4 MB, free: 7.688 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001156/0.2951, allocations: 1.002 MB / 490.4 MB, free: 6.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2951, allocations: 0 / 490.4 MB, free: 6.668 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002554/0.2976, allocations: 0.8867 MB / 491.3 MB, free: 5.781 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (revolute1.phi,revolute1.w,revolute4.phi,revolute4.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 (175): * Single equations (assignments): 166 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,6,100.0%), (2,15,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003137/0.2979, allocations: 178.3 kB / 491.4 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004255/0.3022, allocations: 3.305 MB / 494.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3022, allocations: 4 kB / 494.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.3036, allocations: 1.544 MB / 496.3 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.3048, allocations: 352 kB / 496.6 MB, free: 284 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009473/0.3142, allocations: 6.684 MB / 0.4915 GB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000976/0.3152, allocations: 1.087 MB / 0.4926 GB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001724/0.3169, allocations: 1.152 MB / 0.4937 GB, free: 7.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/0.3173, allocations: 184.5 kB / 0.4939 GB, free: 7 MB / 362.7 MB Notification: Performance of SimCode: time 1.884e-06/0.3173, allocations: 0 / 0.4939 GB, free: 7 MB / 362.7 MB Notification: Performance of Templates: time 0.03954/0.3568, allocations: 26.95 MB / 0.5202 GB, free: 12.49 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.sim & ./PlanarMechanics_PlanarMechanics.Examples.KinematicLoop -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9784390430431813]