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.00165/0.00165, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001743/0.001743, allocations: 169.7 kB / 23.27 MB, free: 1.227 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.172/1.172, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.05841/0.05841, allocations: 7.182 MB / 267.4 MB, free: 5.91 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.914e-06/1.914e-06, allocations: 0 / 339.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.617e-05, allocations: 2.312 kB / 339.3 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.00693/0.006946, allocations: 9.982 MB / 349.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004814/0.01176, allocations: 2.971 MB / 352.3 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000651/0.01241, allocations: 47.81 kB / 352.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008235/0.01323, allocations: 472.6 kB / 352.8 MB, free: 12.4 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002425/0.01566, allocations: 1.707 MB / 354.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.01604, allocations: 215.5 kB / 354.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002442/0.01848, allocations: 3.109 MB / 357.8 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009782/0.01946, allocations: 1.027 MB / 358.8 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.02093, allocations: 1.703 MB / 360.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.02239, allocations: 1.523 MB / 362.1 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002793/0.02267, allocations: 284 kB / 362.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.02377, allocations: 0.8699 MB / 363.2 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009168/0.02469, allocations: 1.464 MB / 364.7 MB, free: 460 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007418/0.02543, allocations: 1.004 MB / 365.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003441/0.02887, allocations: 3.774 MB / 369.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.02887, allocations: 0 / 369.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.02888, allocations: 0 / 369.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.942e-05/0.0289, allocations: 4 kB / 369.4 MB, free: 11.65 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.008037/0.03694, allocations: 6.043 MB / 375.5 MB, free: 5.543 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.037, allocations: 8.625 kB / 375.5 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/0.04011, allocations: 1.376 MB / 376.9 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.04197, allocations: 1.381 MB / 378.3 MB, free: 2.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.04209, allocations: 192.8 kB / 378.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002925/0.04238, allocations: 239.8 kB / 378.7 MB, free: 2.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004933/0.04731, allocations: 4.612 MB / 383.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-05/0.04737, allocations: 27.77 kB / 383.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.04758, allocations: 115.8 kB / 383.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002009/0.04959, allocations: 1.884 MB / 385.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003655/0.05324, allocations: 2.357 MB / 387.7 MB, free: 8.652 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2339/0.2871, allocations: 31.54 MB / 419.2 MB, free: 47.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.2914, allocations: 1.496 MB / 420.7 MB, free: 47.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007072/0.2921, allocations: 424.8 kB / 421.1 MB, free: 47.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004714/0.2968, allocations: 2.935 MB / 424.1 MB, free: 47.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.2968, allocations: 51.45 kB / 424.1 MB, free: 47.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=184): time 4.318e-06/0.2968, allocations: 0.625 kB / 424.1 MB, free: 47.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.009624/0.3064, allocations: 5.007 MB / 429.1 MB, free: 46.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.3065, allocations: 79.56 kB / 429.2 MB, free: 46.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.3085, allocations: 2.269 MB / 431.5 MB, free: 45.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.3086, allocations: 59.59 kB / 431.5 MB, free: 45.86 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009844/0.3096, allocations: 2.678 MB / 434.2 MB, free: 44.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004852/0.3101, allocations: 0.9225 MB / 435.1 MB, free: 43.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001021/0.3111, allocations: 1.09 MB / 436.2 MB, free: 43.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3112, allocations: 0.5347 MB / 436.7 MB, free: 43.13 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/0.3118, allocations: 447.4 kB / 437.2 MB, free: 43.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/0.3139, allocations: 4.357 MB / 441.5 MB, free: 38.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/0.3171, allocations: 5.411 MB / 447 MB, free: 31.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.652e-05/0.3171, allocations: 24 kB / 447 MB, free: 31.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=672) (initialization): time 0.004147/0.3213, allocations: 4.097 MB / 451.1 MB, free: 28.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.3213, allocations: 47.72 kB / 451.1 MB, free: 28.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.188e-05/0.3214, allocations: 99.17 kB / 451.2 MB, free: 27.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009614/0.3224, allocations: 0.5195 MB / 451.7 MB, free: 27.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.3239, allocations: 1.045 MB / 452.8 MB, free: 26.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00534/0.3292, allocations: 10.44 MB / 463.2 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.3309, allocations: 191.9 kB / 463.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/0.3311, allocations: 256 kB / 463.7 MB, free: 15.04 MB / 330.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.001103/0.3322, allocations: 0.5533 MB / 464.2 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/0.3324, allocations: 322.3 kB / 464.5 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.3342, allocations: 1.533 MB / 466.1 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.79e-05/0.3342, allocations: 28 kB / 466.1 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.3343, allocations: 4 kB / 466.1 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.3343, allocations: 11.95 kB / 466.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00561/0.3399, allocations: 4.485 MB / 470.6 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.3399, allocations: 4 kB / 470.6 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005683/0.3405, allocations: 275.6 kB / 470.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007792/0.3412, allocations: 394.5 kB / 471.2 MB, free: 7.203 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.977e-05/0.3413, allocations: 44 kB / 471.3 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004471/0.3458, allocations: 8.938 MB / 480.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.3458, allocations: 4.875 kB / 480.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.3485, allocations: 2.191 MB / 482.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.3489, allocations: 222.3 kB / 482.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001675/0.3491, allocations: 40 kB / 482.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004326/0.3495, allocations: 43.98 kB / 482.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/0.3497, allocations: 165.6 kB / 482.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.057e-05/0.3498, allocations: 55.97 kB / 482.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009992/0.3508, allocations: 0.9392 MB / 483.9 MB, free: 9.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3508, allocations: 0 / 483.9 MB, free: 9.988 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003632/0.3544, allocations: 0.8905 MB / 484.8 MB, free: 9.098 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.0003437/0.3548, allocations: 182.5 kB / 484.9 MB, free: 8.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003939/0.3587, allocations: 3.123 MB / 488.1 MB, free: 5.727 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.3587, allocations: 4 kB / 488.1 MB, free: 5.723 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/0.3599, allocations: 1.474 MB / 489.5 MB, free: 4.176 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.3613, allocations: 349.2 kB / 489.9 MB, free: 3.848 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.3725, allocations: 6.675 MB / 496.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.3737, allocations: 1.087 MB / 497.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001098/0.3748, allocations: 373.3 kB / 498 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007601/0.3756, allocations: 490.1 kB / 498.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3756, allocations: 0 / 498.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.05428/0.4298, allocations: 29.66 MB / 0.5158 GB, free: 13.8 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: 4.536052261013538]