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.001854/0.001854, allocations: 81.5 kB / 19.44 MB, free: 344 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.002053/0.002053, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.593/1.593, allocations: 177.1 MB / 203.1 MB, free: 5.551 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.05382/0.05382, allocations: 7.182 MB / 266.7 MB, free: 6.113 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.493e-06/1.493e-06, allocations: 0 / 338.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.21e-05/2.359e-05, allocations: 2.312 kB / 338.1 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.KinematicLoop): time 0.008483/0.008506, allocations: 10.13 MB / 348.3 MB, free: 428 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008023/0.01653, allocations: 2.984 MB / 351.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.01804, allocations: 51.81 kB / 351.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.01932, allocations: 472.6 kB / 351.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005143/0.02447, allocations: 1.695 MB / 353.5 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008316/0.0253, allocations: 219.5 kB / 353.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005098/0.03039, allocations: 3.104 MB / 356.8 MB, free: 7.883 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002145/0.03254, allocations: 1.043 MB / 357.8 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003753/0.03629, allocations: 1.691 MB / 359.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003232/0.03952, allocations: 1.519 MB / 361 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009591/0.04048, allocations: 280 kB / 361.3 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.04276, allocations: 0.8776 MB / 362.2 MB, free: 2.438 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001844/0.04461, allocations: 1.468 MB / 363.6 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.04641, allocations: 1.012 MB / 364.7 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00899/0.0554, allocations: 5.696 MB / 370.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.05541, allocations: 0 / 370.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.05541, allocations: 0 / 370.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001908/0.0556, allocations: 0 / 370.3 MB, free: 10.23 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.0177/0.07331, allocations: 6.676 MB / 377 MB, free: 3.496 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.07335, allocations: 12.62 kB / 377 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008602/0.08196, allocations: 2.327 MB / 379.4 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004726/0.08668, allocations: 1.444 MB / 380.8 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002427/0.08692, allocations: 200.8 kB / 381 MB, free: 15.47 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008707/0.0878, allocations: 243.8 kB / 381.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01507/0.1029, allocations: 5.662 MB / 386.9 MB, free: 8.918 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.103, allocations: 27.77 kB / 386.9 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004388/0.1034, allocations: 123.8 kB / 387.1 MB, free: 8.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004034/0.1074, allocations: 2.079 MB / 389.1 MB, free: 6.688 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.1221, allocations: 3.571 MB / 392.7 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.203/0.3251, allocations: 44.1 MB / 436.8 MB, free: 46.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006671/0.3318, allocations: 1.801 MB / 438.6 MB, free: 46.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.3331, allocations: 0.5995 MB / 439.2 MB, free: 46.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007093/0.3402, allocations: 3.257 MB / 442.5 MB, free: 44.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3402, allocations: 53.27 kB / 442.5 MB, free: 44.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=184): time 1.292e-05/0.3402, allocations: 0 / 442.5 MB, free: 44.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=238): time 0.01781/0.358, allocations: 6.256 MB / 448.8 MB, free: 42.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.358, allocations: 72.28 kB / 448.8 MB, free: 42.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00337/0.3614, allocations: 3.013 MB / 451.9 MB, free: 40.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001818/0.3616, allocations: 57.7 kB / 451.9 MB, free: 40.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.3629, allocations: 2.808 MB / 454.7 MB, free: 37.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007365/0.3636, allocations: 0.9869 MB / 455.7 MB, free: 36.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001279/0.3649, allocations: 1.28 MB / 457 MB, free: 35.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.365, allocations: 0.5588 MB / 457.5 MB, free: 34.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.3665, allocations: 0.7166 MB / 458.3 MB, free: 34.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002684/0.3692, allocations: 4.769 MB / 463 MB, free: 27.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004992/0.3742, allocations: 6.038 MB / 469.1 MB, free: 19.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-05/0.3743, allocations: 28 kB / 469.1 MB, free: 19.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=667) (initialization): time 0.008367/0.3827, allocations: 4.788 MB / 473.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.176e-05/0.3827, allocations: 44 kB / 473.9 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.689e-05/0.3828, allocations: 92 kB / 474 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.3846, allocations: 0.609 MB / 474.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003047/0.3877, allocations: 1.064 MB / 475.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009184/0.3969, allocations: 11.56 MB / 487.3 MB, free: 1.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/0.4003, allocations: 263.9 kB / 487.5 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006038/0.4009, allocations: 292 kB / 487.8 MB, free: 0.5312 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.001849/0.4027, allocations: 0.678 MB / 488.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007446/0.4035, allocations: 321.8 kB / 488.8 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/0.4084, allocations: 1.916 MB / 490.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001252/0.4086, allocations: 35.98 kB / 490.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.4086, allocations: 4 kB / 490.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.286e-05/0.4086, allocations: 7.969 kB / 490.7 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01722/0.4258, allocations: 6.903 MB / 497.7 MB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.271e-05/0.4258, allocations: 8.125 kB / 497.7 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.4271, allocations: 299.6 kB / 498 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/0.4289, allocations: 473.6 kB / 498.4 MB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001566/0.4291, allocations: 47.98 kB / 498.5 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/0.4409, allocations: 9.556 MB / 0.4961 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.4409, allocations: 4 kB / 0.4961 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006353/0.4473, allocations: 2.784 MB / 0.4988 GB, free: 8.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008093/0.4481, allocations: 230.3 kB / 0.4991 GB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000341/0.4485, allocations: 43.91 kB / 0.4991 GB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.4497, allocations: 95.89 kB / 0.4992 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004295/0.4502, allocations: 165.6 kB / 0.4993 GB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.4503, allocations: 64 kB / 0.4994 GB, free: 8.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002557/0.4529, allocations: 1.267 MB / 0.5006 GB, free: 6.855 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4529, allocations: 4 kB / 0.5006 GB, free: 6.852 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004895/0.4578, allocations: 0.8828 MB / 0.5015 GB, free: 5.969 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.000514/0.4583, allocations: 186.1 kB / 0.5017 GB, free: 5.781 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008328/0.4666, allocations: 3.781 MB / 0.5054 GB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.611e-05/0.4666, allocations: 4 kB / 0.5054 GB, free: 1.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002941/0.4696, allocations: 1.698 MB / 0.507 GB, free: 168 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.4717, allocations: 355.4 kB / 0.5074 GB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.4856, allocations: 6.865 MB / 0.5141 GB, free: 8.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003358/0.489, allocations: 2.167 MB / 0.5162 GB, free: 6.617 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003199/0.4922, allocations: 1.152 MB / 0.5173 GB, free: 5.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005267/0.4927, allocations: 192.5 kB / 0.5175 GB, free: 5.273 MB / 378.7 MB Notification: Performance of SimCode: time 1.342e-06/0.4927, allocations: 4 kB / 0.5175 GB, free: 5.27 MB / 378.7 MB Notification: Performance of Templates: time 0.06223/0.5549, allocations: 26.93 MB / 0.5438 GB, free: 10.78 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.KinematicLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.588843147968873]