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.0009278/0.0009278, allocations: 93.06 kB / 19.65 MB, free: 284 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.001562/0.001562, allocations: 165 kB / 23.02 MB, free: 1.555 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.9851/0.9851, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.05158/0.05158, allocations: 7.184 MB / 267.1 MB, free: 6.059 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.483e-06/1.483e-06, allocations: 0 / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.779e-05, allocations: 6.312 kB / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.006114/0.006132, allocations: 10.2 MB / 349.1 MB, free: 15.97 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004284/0.01042, allocations: 2.978 MB / 352 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007392/0.01115, allocations: 47.81 kB / 352.1 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007488/0.0119, allocations: 472.6 kB / 352.5 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.01423, allocations: 1.71 MB / 354.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.01459, allocations: 219.4 kB / 354.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002362/0.01695, allocations: 3.109 MB / 357.6 MB, free: 7.426 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.01808, allocations: 1.027 MB / 358.6 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.01955, allocations: 1.699 MB / 360.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.02091, allocations: 1.515 MB / 361.8 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003388/0.02125, allocations: 284 kB / 362.1 MB, free: 2.867 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.02226, allocations: 0.8737 MB / 363 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009652/0.02322, allocations: 1.464 MB / 364.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006533/0.02388, allocations: 1.012 MB / 365.5 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.02665, allocations: 3.778 MB / 369.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.02665, allocations: 0 / 369.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.02665, allocations: 0 / 369.2 MB, free: 11.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.542e-05/0.02668, allocations: 0 / 369.2 MB, free: 11.71 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.007473/0.03415, allocations: 6.114 MB / 375.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.03419, allocations: 12.62 kB / 375.4 MB, free: 5.527 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/0.03847, allocations: 2.335 MB / 377.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.04014, allocations: 1.437 MB / 379.1 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.04024, allocations: 196.8 kB / 379.3 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.04053, allocations: 243.8 kB / 379.6 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005892/0.04643, allocations: 5.026 MB / 384.6 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.186e-05/0.04648, allocations: 27.77 kB / 384.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/0.04669, allocations: 127.8 kB / 384.7 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001762/0.04845, allocations: 2.072 MB / 386.8 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005427/0.05388, allocations: 2.902 MB / 389.7 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1685/0.2224, allocations: 31.75 MB / 421.5 MB, free: 46.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004652/0.2271, allocations: 1.609 MB / 423.1 MB, free: 46.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009091/0.228, allocations: 0.4887 MB / 423.6 MB, free: 46.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004375/0.2323, allocations: 3.066 MB / 426.6 MB, free: 45.97 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.2324, allocations: 55.77 kB / 426.7 MB, free: 45.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=184): time 3.727e-06/0.2324, allocations: 0 / 426.7 MB, free: 45.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.01008/0.2425, allocations: 5.871 MB / 432.5 MB, free: 45.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.2425, allocations: 71.47 kB / 432.6 MB, free: 44.97 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.2444, allocations: 2.274 MB / 434.9 MB, free: 44.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.499e-05/0.2445, allocations: 59.61 kB / 434.9 MB, free: 44.51 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008083/0.2453, allocations: 2.649 MB / 437.6 MB, free: 42.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004101/0.2457, allocations: 0.9139 MB / 438.5 MB, free: 42.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008299/0.2466, allocations: 1.067 MB / 439.6 MB, free: 42.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.77e-05/0.2466, allocations: 0.53 MB / 440.1 MB, free: 41.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008972/0.2475, allocations: 0.5603 MB / 440.7 MB, free: 41.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/0.2493, allocations: 4.413 MB / 445.1 MB, free: 35.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003269/0.2526, allocations: 5.529 MB / 450.6 MB, free: 29.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.522e-05/0.2526, allocations: 24 kB / 450.6 MB, free: 29.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=667) (initialization): time 0.004842/0.2574, allocations: 4.429 MB / 455.1 MB, free: 25.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.2575, allocations: 47.98 kB / 455.1 MB, free: 25.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.916e-05/0.2575, allocations: 92 kB / 455.2 MB, free: 24.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.2586, allocations: 0.5433 MB / 455.7 MB, free: 24.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.2602, allocations: 1.064 MB / 456.8 MB, free: 23.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005735/0.266, allocations: 10.86 MB / 467.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/0.2676, allocations: 255.8 kB / 467.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002246/0.2679, allocations: 292 kB / 468.2 MB, free: 11.47 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.000991/0.2688, allocations: 0.5417 MB / 468.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/0.2691, allocations: 322.3 kB / 469.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.2711, allocations: 1.709 MB / 470.8 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.268e-05/0.2712, allocations: 39.98 kB / 470.8 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2712, allocations: 8 kB / 470.8 MB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.2712, allocations: 12.66 kB / 470.8 MB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006135/0.2773, allocations: 5.513 MB / 476.3 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.2773, allocations: 7.938 kB / 476.4 MB, free: 3.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.2779, allocations: 315.5 kB / 476.7 MB, free: 2.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008082/0.2787, allocations: 450.1 kB / 477.1 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-05/0.2788, allocations: 43.98 kB / 477.1 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00501/0.2838, allocations: 9.232 MB / 486.4 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.2838, allocations: 11.94 kB / 486.4 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.2869, allocations: 2.42 MB / 488.8 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002717/0.2872, allocations: 230.3 kB / 489 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.2874, allocations: 50.64 kB / 489.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.2879, allocations: 91.89 kB / 489.2 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002046/0.2881, allocations: 169.5 kB / 489.3 MB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/0.2881, allocations: 67.98 kB / 489.4 MB, free: 5.496 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.2892, allocations: 0.9977 MB / 490.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2892, allocations: 0 / 490.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002627/0.2918, allocations: 0.897 MB / 491.3 MB, free: 3.586 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.0003082/0.2921, allocations: 178.1 kB / 491.5 MB, free: 3.406 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003637/0.2958, allocations: 3.289 MB / 494.8 MB, free: 48 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2958, allocations: 3.828 kB / 494.8 MB, free: 48 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.2973, allocations: 1.539 MB / 496.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.2984, allocations: 359.7 kB / 496.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.3104, allocations: 6.702 MB / 0.4916 GB, free: 7.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009747/0.3114, allocations: 1.087 MB / 0.4926 GB, free: 6.141 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00169/0.3131, allocations: 1.152 MB / 0.4937 GB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/0.3134, allocations: 184.5 kB / 0.4939 GB, free: 4.805 MB / 362.7 MB Notification: Performance of SimCode: time 1.994e-06/0.3134, allocations: 0 / 0.4939 GB, free: 4.805 MB / 362.7 MB Notification: Performance of Templates: time 0.0381/0.3515, allocations: 26.95 MB / 0.5202 GB, free: 10.32 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.899725719820708]