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.001319/0.001319, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001024/0.001024, allocations: 173 kB / 23.36 MB, free: 1.129 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.9647/0.9647, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.02924/0.02924, allocations: 7.185 MB / 267.4 MB, free: 5.934 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.533e-06/1.533e-06, allocations: 0 / 286 MB, free: 3.344 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.37e-05, allocations: 2.312 kB / 286 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.1216/0.1216, allocations: 10.01 MB / 296 MB, free: 16.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006283/0.1279, allocations: 3.089 MB / 299.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.1294, allocations: 51.44 kB / 299.2 MB, free: 14.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009806/0.1303, allocations: 473.8 kB / 299.6 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003414/0.1338, allocations: 1.711 MB / 301.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.1343, allocations: 221 kB / 301.6 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003035/0.1373, allocations: 3.106 MB / 304.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.1386, allocations: 1.053 MB / 305.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.141, allocations: 1.703 MB / 307.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.143, allocations: 1.471 MB / 308.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006528/0.1437, allocations: 277.5 kB / 309.2 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.1449, allocations: 0.8649 MB / 310 MB, free: 8.074 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000779/0.1457, allocations: 1.464 MB / 311.5 MB, free: 6.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009986/0.1467, allocations: 1.008 MB / 312.5 MB, free: 5.594 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002903/0.1496, allocations: 3.77 MB / 316.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1496, allocations: 3.844 kB / 316.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1496, allocations: 0 / 316.3 MB, free: 1.809 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001434/0.1498, allocations: 0 / 316.3 MB, free: 1.809 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.006709/0.1565, allocations: 4.512 MB / 320.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1565, allocations: 12.62 kB / 320.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002887/0.1594, allocations: 1.093 MB / 321.9 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.1611, allocations: 1.156 MB / 323 MB, free: 10.95 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.1612, allocations: 190.8 kB / 323.2 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.1615, allocations: 243.8 kB / 323.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005249/0.1667, allocations: 4.235 MB / 327.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.305e-05/0.1668, allocations: 31.77 kB / 327.7 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/0.167, allocations: 119.8 kB / 327.9 MB, free: 5.652 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001751/0.1688, allocations: 1.884 MB / 329.7 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0047/0.1735, allocations: 2.363 MB / 332.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02146/0.1949, allocations: 22.73 MB / 354.8 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/0.1985, allocations: 1.537 MB / 356.4 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/0.1992, allocations: 381.1 kB / 356.7 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003575/0.2028, allocations: 2.753 MB / 359.5 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.2028, allocations: 47.81 kB / 359.5 MB, free: 5.285 MB / 314.7 MB Notification: Performance of pre-optimization done (n=184): time 3.887e-06/0.2028, allocations: 0 / 359.5 MB, free: 5.285 MB / 314.7 MB Notification: Performance of matching and sorting (n=238): time 0.009506/0.2123, allocations: 4.658 MB / 364.2 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.2124, allocations: 73.41 kB / 364.3 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.2141, allocations: 2.053 MB / 366.3 MB, free: 14.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.191e-05/0.2141, allocations: 57.7 kB / 366.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.2152, allocations: 2.462 MB / 368.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004852/0.2157, allocations: 0.8871 MB / 369.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000809/0.2165, allocations: 0.954 MB / 370.7 MB, free: 10.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003926/0.2169, allocations: 361.8 kB / 371 MB, free: 9.668 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006567/0.2175, allocations: 0.5209 MB / 371.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.2192, allocations: 3.07 MB / 374.6 MB, free: 4.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/0.2226, allocations: 4.305 MB / 378.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.475e-05/0.2227, allocations: 28 kB / 379 MB, free: 15.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=672) (initialization): time 0.004188/0.2269, allocations: 3.515 MB / 382.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.393e-05/0.2269, allocations: 44.19 kB / 382.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.449e-05/0.227, allocations: 96 kB / 382.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.2282, allocations: 0.508 MB / 383.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001782/0.23, allocations: 1.041 MB / 384.2 MB, free: 9.855 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005979/0.236, allocations: 8.025 MB / 392.2 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.238, allocations: 192 kB / 392.4 MB, free: 1.258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002764/0.2382, allocations: 252 kB / 392.6 MB, free: 1.012 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.001204/0.2395, allocations: 0.5022 MB / 393.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/0.2398, allocations: 199.8 kB / 393.3 MB, free: 308 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.2415, allocations: 1.31 MB / 394.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.277e-05/0.2415, allocations: 24 kB / 394.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.2415, allocations: 8 kB / 394.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.6e-05/0.2415, allocations: 11.95 kB / 394.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005398/0.2469, allocations: 3.977 MB / 398.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.2469, allocations: 4 kB / 398.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.2475, allocations: 287.5 kB / 398.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008478/0.2484, allocations: 471.2 kB / 399.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/0.2485, allocations: 51.92 kB / 399.4 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004266/0.2527, allocations: 6.629 MB / 406.1 MB, free: 2.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2527, allocations: 8.047 kB / 406.1 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.2549, allocations: 1.869 MB / 407.9 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.2553, allocations: 210.3 kB / 408.2 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.2555, allocations: 40 kB / 408.2 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.2559, allocations: 44 kB / 408.2 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.2561, allocations: 165.6 kB / 408.4 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.54e-05/0.2562, allocations: 55.92 kB / 408.5 MB, free: 432 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008665/0.2571, allocations: 0.744 MB / 409.2 MB, free: 15.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2571, allocations: 0 / 409.2 MB, free: 15.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002917/0.26, allocations: 0.8906 MB / 410.1 MB, free: 14.77 MB / 378.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.000307/0.2603, allocations: 173 kB / 410.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003172/0.2635, allocations: 2.743 MB / 413 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.496e-05/0.2636, allocations: 55.94 kB / 413.1 MB, free: 11.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.2646, allocations: 1.168 MB / 414.2 MB, free: 10.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009316/0.2655, allocations: 351.1 kB / 414.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009073/0.2746, allocations: 6.74 MB / 421.3 MB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.2758, allocations: 1.08 MB / 422.4 MB, free: 2.191 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00125/0.277, allocations: 373.2 kB / 422.7 MB, free: 1.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006379/0.2777, allocations: 449.2 kB / 423.2 MB, free: 1.379 MB / 378.7 MB Notification: Performance of SimCode: time 1.964e-06/0.2777, allocations: 0 / 423.2 MB, free: 1.379 MB / 378.7 MB Notification: Performance of Templates: time 0.1494/0.4271, allocations: 29.64 MB / 452.8 MB, free: 120.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.678533741272986]