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.0007688/0.0007688, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009957/0.001765, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007398/0.0007398, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009285/0.001668, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.009/1.009, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1117/1.12, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.03313/0.03313, allocations: 7.17 MB / 251.1 MB, free: 7.887 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004821/0.03795, allocations: 2.565 MB / 253.7 MB, free: 5.316 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.333e-06/1.333e-06, allocations: 0 / 255 MB, free: 4.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.767e-05, allocations: 2.312 kB / 255 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.008415/0.008443, allocations: 10.11 MB / 265.1 MB, free: 9.895 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005631/0.01407, allocations: 3.102 MB / 268.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.01525, allocations: 51.81 kB / 268.2 MB, free: 6.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008161/0.01607, allocations: 496.6 kB / 268.7 MB, free: 6.242 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00286/0.01893, allocations: 1.687 MB / 270.4 MB, free: 4.547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004115/0.01934, allocations: 203.5 kB / 270.6 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00272/0.02206, allocations: 3.12 MB / 273.7 MB, free: 1.223 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.02357, allocations: 1.048 MB / 274.8 MB, free: 148 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1211/0.1447, allocations: 1.774 MB / 276.5 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.147, allocations: 1.457 MB / 278 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007282/0.1477, allocations: 279.2 kB / 278.3 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.1495, allocations: 0.8825 MB / 279.1 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001392/0.1509, allocations: 1.302 MB / 280.4 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001686/0.1526, allocations: 0.8336 MB / 281.3 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005059/0.1576, allocations: 3.534 MB / 284.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.659e-05/0.1576, allocations: 0 / 284.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1576, allocations: 0 / 284.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001883/0.1578, allocations: 4.641 kB / 284.8 MB, free: 1.977 MB / 266.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.01119/0.169, allocations: 5.273 MB / 290.1 MB, free: 284 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1691, allocations: 11.77 kB / 290.1 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003942/0.173, allocations: 1.093 MB / 291.2 MB, free: 260 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.1753, allocations: 1.147 MB / 292.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.1754, allocations: 191.3 kB / 292.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003801/0.1758, allocations: 253.1 kB / 292.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007772/0.1836, allocations: 4.234 MB / 297 MB, free: 13.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.344e-05/0.1837, allocations: 34.86 kB / 297 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.184, allocations: 120.6 kB / 297.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002477/0.1864, allocations: 1.893 MB / 299.1 MB, free: 11.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007077/0.1935, allocations: 2.371 MB / 301.4 MB, free: 9.594 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.028/0.2215, allocations: 22.68 MB / 324.1 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003858/0.2254, allocations: 1.506 MB / 325.6 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.2259, allocations: 371.7 kB / 326 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004044/0.2299, allocations: 2.743 MB / 328.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.23, allocations: 47.88 kB / 328.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=184): time 4.489e-06/0.23, allocations: 0 / 328.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=238): time 0.009483/0.2395, allocations: 4.591 MB / 333.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.2395, allocations: 73.41 kB / 333.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.2414, allocations: 2.064 MB / 335.5 MB, free: 8.434 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-05/0.2415, allocations: 60.83 kB / 335.6 MB, free: 8.371 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009527/0.2424, allocations: 2.459 MB / 338 MB, free: 6.004 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005031/0.2429, allocations: 0.8846 MB / 338.9 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008205/0.2438, allocations: 0.9536 MB / 339.9 MB, free: 4.316 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.2439, allocations: 359.6 kB / 340.2 MB, free: 3.984 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006628/0.2445, allocations: 0.5209 MB / 340.7 MB, free: 3.457 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.2462, allocations: 3.076 MB / 343.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003143/0.2493, allocations: 4.284 MB / 348.1 MB, free: 9.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.563e-05/0.2494, allocations: 28 kB / 348.1 MB, free: 9.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=672) (initialization): time 0.004157/0.2535, allocations: 3.516 MB / 351.6 MB, free: 6.316 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.2536, allocations: 46.03 kB / 351.7 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.047e-05/0.2536, allocations: 92 kB / 351.8 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/0.2547, allocations: 0.5054 MB / 352.3 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.2567, allocations: 1.174 MB / 353.4 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.2624, allocations: 8.027 MB / 361.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/0.2648, allocations: 203.3 kB / 361.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004128/0.2653, allocations: 247.9 kB / 361.9 MB, free: 11.72 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (596): * Single equations (assignments): 587 * 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.001612/0.2669, allocations: 0.5078 MB / 362.4 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003383/0.2672, allocations: 199.8 kB / 362.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.269, allocations: 1.308 MB / 363.9 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.476e-05/0.269, allocations: 35.98 kB / 364 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.269, allocations: 7.938 kB / 364 MB, free: 9.641 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.2691, allocations: 7.969 kB / 364 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005957/0.275, allocations: 3.975 MB / 367.9 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.275, allocations: 8.125 kB / 368 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006739/0.2757, allocations: 323.5 kB / 368.3 MB, free: 5.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/0.2762, allocations: 218.3 kB / 368.5 MB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009873/0.2771, allocations: 462.1 kB / 368.9 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.593e-05/0.2772, allocations: 51.98 kB / 369 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004104/0.2813, allocations: 6.652 MB / 375.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.2814, allocations: 8 kB / 375.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.2836, allocations: 1.857 MB / 377.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/0.284, allocations: 51.92 kB / 377.6 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.2845, allocations: 36 kB / 377.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.2847, allocations: 161.6 kB / 377.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.2848, allocations: 55.98 kB / 377.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009777/0.2858, allocations: 0.744 MB / 378.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2858, allocations: 0 / 378.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002912/0.2887, allocations: 0.8906 MB / 379.4 MB, free: 9.84 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.0003064/0.289, allocations: 168.3 kB / 379.6 MB, free: 9.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003309/0.2923, allocations: 2.744 MB / 382.3 MB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001461/0.2924, allocations: 70.56 kB / 382.4 MB, free: 6.805 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.2935, allocations: 1.172 MB / 383.6 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.2948, allocations: 0.5418 MB / 384.1 MB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.3104, allocations: 6.863 MB / 391 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001759/0.3122, allocations: 1.08 MB / 392.1 MB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00146/0.3136, allocations: 381.2 kB / 392.4 MB, free: 12.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007881/0.3144, allocations: 441.2 kB / 392.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.3144, allocations: 0 / 392.9 MB, free: 12.13 MB / 378.7 MB Notification: Performance of Templates: time 0.1711/0.4855, allocations: 30.16 MB / 423 MB, free: 121.4 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.850373356603086]