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.001848/0.001848, allocations: 80.73 kB / 19.44 MB, free: 352 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.002451/0.002451, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.515/1.515, allocations: 177.1 MB / 203.1 MB, free: 5.145 MB / 186.7 MB " [Timeout remaining time 178] 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.04972/0.04972, allocations: 7.182 MB / 266.7 MB, free: 5.945 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.583e-06/1.583e-06, allocations: 0 / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.623e-05, allocations: 2.312 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.00733/0.007356, allocations: 9.235 MB / 347.4 MB, free: 1.277 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005645/0.013, allocations: 2.91 MB / 350.3 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007899/0.01379, allocations: 51.81 kB / 350.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001012/0.0148, allocations: 476.6 kB / 350.8 MB, free: 13.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.01844, allocations: 1.703 MB / 352.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.01894, allocations: 215.5 kB / 352.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003958/0.02289, allocations: 3.106 MB / 355.8 MB, free: 8.805 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.02434, allocations: 1.031 MB / 356.8 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002155/0.0265, allocations: 1.683 MB / 358.5 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.02864, allocations: 1.519 MB / 360 MB, free: 4.531 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004128/0.02906, allocations: 283.9 kB / 360.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.03057, allocations: 0.8738 MB / 361.2 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.0321, allocations: 1.453 MB / 362.6 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.03333, allocations: 1.004 MB / 363.6 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006842/0.04017, allocations: 5.696 MB / 369.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.04017, allocations: 0 / 369.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.04017, allocations: 4 kB / 369.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.801e-05/0.04026, allocations: 0 / 369.3 MB, free: 11.2 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.01437/0.05464, allocations: 5.815 MB / 375.2 MB, free: 5.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.05467, allocations: 8.625 kB / 375.2 MB, free: 5.316 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007925/0.0626, allocations: 2.401 MB / 377.6 MB, free: 2.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.0657, allocations: 1.524 MB / 379.1 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.06589, allocations: 184.8 kB / 379.3 MB, free: 1.172 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005265/0.06642, allocations: 243.8 kB / 379.5 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/0.08337, allocations: 9.328 MB / 388.8 MB, free: 7.113 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.061e-05/0.08346, allocations: 31.77 kB / 388.9 MB, free: 7.082 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000365/0.08383, allocations: 115.8 kB / 389 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003974/0.0878, allocations: 2.079 MB / 391.1 MB, free: 4.887 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01788/0.1057, allocations: 8.21 MB / 399.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.164/0.2697, allocations: 27.65 MB / 426.9 MB, free: 56.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007692/0.2774, allocations: 2.668 MB / 429.6 MB, free: 56.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.279, allocations: 1.034 MB / 430.6 MB, free: 56.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006229/0.2852, allocations: 3.416 MB / 434 MB, free: 55.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.2852, allocations: 43.69 kB / 434.1 MB, free: 55.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=184): time 4.589e-06/0.2852, allocations: 3.312 kB / 434.1 MB, free: 55.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.02126/0.3065, allocations: 8.65 MB / 442.7 MB, free: 52.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.3065, allocations: 73.41 kB / 442.8 MB, free: 52.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/0.3101, allocations: 2.592 MB / 445.4 MB, free: 49.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.3103, allocations: 61.7 kB / 445.5 MB, free: 49.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.3114, allocations: 2.542 MB / 448 MB, free: 47.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000603/0.312, allocations: 0.8881 MB / 448.9 MB, free: 46.45 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/0.3133, allocations: 0.9895 MB / 449.9 MB, free: 45.45 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.3133, allocations: 357.9 kB / 450.2 MB, free: 45.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002264/0.3156, allocations: 1.642 MB / 451.9 MB, free: 43.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003157/0.3188, allocations: 4.268 MB / 456.1 MB, free: 37.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005548/0.3243, allocations: 6.418 MB / 462.6 MB, free: 30.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-05/0.3244, allocations: 24 kB / 462.6 MB, free: 30.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=667) (initialization): time 0.009379/0.3338, allocations: 6.717 MB / 469.3 MB, free: 23.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.846e-05/0.3338, allocations: 44 kB / 469.3 MB, free: 23.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001285/0.3339, allocations: 95.98 kB / 469.4 MB, free: 23.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/0.3359, allocations: 0.77 MB / 470.2 MB, free: 22.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/0.3388, allocations: 1.064 MB / 471.3 MB, free: 21.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.349, allocations: 11.62 MB / 482.9 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/0.3523, allocations: 263 kB / 483.2 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005154/0.3528, allocations: 291.2 kB / 483.4 MB, free: 8.941 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.002331/0.3551, allocations: 1.799 MB / 485.2 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005513/0.3556, allocations: 318.2 kB / 485.6 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00448/0.3601, allocations: 3.108 MB / 488.7 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/0.3602, allocations: 39.98 kB / 488.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.3602, allocations: 4 kB / 488.7 MB, free: 3.641 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.3603, allocations: 15.89 kB / 488.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.3729, allocations: 7.214 MB / 495.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/0.3729, allocations: 7.984 kB / 495.9 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.3742, allocations: 307.5 kB / 496.2 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002071/0.3762, allocations: 0.6705 MB / 496.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.3764, allocations: 50.33 kB / 497 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/0.3888, allocations: 9.491 MB / 0.4946 GB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.3888, allocations: 7.938 kB / 0.4946 GB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008595/0.3974, allocations: 4.795 MB / 0.4993 GB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007927/0.3982, allocations: 230.4 kB / 0.4995 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/0.3985, allocations: 44 kB / 0.4995 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.3995, allocations: 107.9 kB / 0.4996 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004053/0.4, allocations: 165.6 kB / 0.4998 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.4001, allocations: 70.95 kB / 0.4999 GB, free: 11.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00255/0.4027, allocations: 1.494 MB / 0.5013 GB, free: 10.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4027, allocations: 0 / 0.5013 GB, free: 10.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004078/0.4067, allocations: 0.8867 MB / 0.5022 GB, free: 9.492 MB / 362.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.0004485/0.4072, allocations: 190.3 kB / 0.5024 GB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008443/0.4156, allocations: 4.53 MB / 0.5068 GB, free: 4.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.4156, allocations: 0 / 0.5068 GB, free: 4.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002958/0.4186, allocations: 1.842 MB / 0.5086 GB, free: 2.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.4205, allocations: 349 kB / 0.5089 GB, free: 2.512 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.435, allocations: 8.098 MB / 0.5168 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003616/0.4386, allocations: 2.382 MB / 0.5192 GB, free: 7.879 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003371/0.442, allocations: 1.324 MB / 0.5204 GB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005185/0.4425, allocations: 188.5 kB / 0.5206 GB, free: 6.367 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4425, allocations: 0 / 0.5206 GB, free: 6.367 MB / 378.7 MB Notification: Performance of Templates: time 0.05977/0.5022, allocations: 26.87 MB / 0.5469 GB, free: 11.93 MB / 410.7 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.228416454046965]