Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.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.001431/0.001431, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00182/0.00182, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9667/0.9667, allocations: 177.1 MB / 204.5 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.08325/0.08325, allocations: 7.183 MB / 268.2 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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 340.1 MB, free: 9.949 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.835e-05, allocations: 2.312 kB / 340.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.006297/0.006325, allocations: 6.744 MB / 346.8 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.009474, allocations: 2.343 MB / 349.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006249/0.0101, allocations: 31.94 kB / 349.2 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000563/0.01066, allocations: 333.8 kB / 349.5 MB, free: 460 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.01277, allocations: 1.365 MB / 350.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.01298, allocations: 75.83 kB / 351 MB, free: 15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002425/0.01541, allocations: 2.232 MB / 353.2 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008414/0.01625, allocations: 0.6224 MB / 353.8 MB, free: 12.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.01753, allocations: 1.177 MB / 355 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.01891, allocations: 1.165 MB / 356.2 MB, free: 9.781 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000283/0.0192, allocations: 204 kB / 356.4 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.0203, allocations: 0.7917 MB / 357.2 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007867/0.02109, allocations: 1.118 MB / 358.3 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006958/0.02179, allocations: 0.7046 MB / 359 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003074/0.02486, allocations: 2.953 MB / 361.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.02487, allocations: 0 / 361.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.02487, allocations: 0 / 361.9 MB, free: 3.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.458e-05/0.02492, allocations: 0 / 361.9 MB, free: 3.996 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1025 * Number of variables: 1025 Notification: Performance of Generate backend data structure: time 0.00603/0.03095, allocations: 3.618 MB / 365.6 MB, free: 332 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.03099, allocations: 8.625 kB / 365.6 MB, free: 324 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003989/0.03498, allocations: 1.177 MB / 366.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.03655, allocations: 1.044 MB / 367.8 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.892e-05/0.03665, allocations: 127.4 kB / 367.9 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/0.03693, allocations: 160.2 kB / 368.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004571/0.0415, allocations: 3.19 MB / 371.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.986e-05/0.04155, allocations: 20.02 kB / 371.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.04176, allocations: 79.81 kB / 371.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001953/0.04372, allocations: 1.539 MB / 372.9 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003936/0.04765, allocations: 1.66 MB / 374.6 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02068/0.06833, allocations: 21.26 MB / 395.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.07059, allocations: 0.7594 MB / 396.6 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.07093, allocations: 210.4 kB / 396.8 MB, free: 56 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002676/0.0736, allocations: 1.761 MB / 398.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.07363, allocations: 46.33 kB / 398.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 3.146e-06/0.07364, allocations: 0 / 398.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=125): time 0.005934/0.07957, allocations: 2.823 MB / 401.4 MB, free: 11.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.0796, allocations: 72.28 kB / 401.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.08117, allocations: 1.67 MB / 403.1 MB, free: 9.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.08122, allocations: 41.7 kB / 403.2 MB, free: 9.504 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/0.08227, allocations: 2.039 MB / 405.2 MB, free: 7.441 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003509/0.08262, allocations: 0.5078 MB / 405.7 MB, free: 6.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006794/0.0833, allocations: 0.7449 MB / 406.5 MB, free: 6.172 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.08344, allocations: 0.5081 MB / 407 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.08388, allocations: 274.4 kB / 407.3 MB, free: 5.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.08569, allocations: 3.059 MB / 410.3 MB, free: 1.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1371/0.2228, allocations: 3.711 MB / 414 MB, free: 65.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.174e-05/0.2229, allocations: 18.19 kB / 414 MB, free: 65.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.003492/0.2264, allocations: 2.585 MB / 416.6 MB, free: 64.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.2264, allocations: 33.78 kB / 416.7 MB, free: 64.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.441e-05/0.2265, allocations: 68.23 kB / 416.7 MB, free: 64.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/0.2269, allocations: 164.9 kB / 416.9 MB, free: 64.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/0.2282, allocations: 0.7227 MB / 417.6 MB, free: 64.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.2296, allocations: 2.501 MB / 420.1 MB, free: 62.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.2308, allocations: 130.4 kB / 420.2 MB, free: 62.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/0.231, allocations: 175.9 kB / 420.4 MB, free: 62.85 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 299 * Number of states: 0 () * Number of discrete variables: 9 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (404): * Single equations (assignments): 399 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007369/0.2317, allocations: 423 kB / 420.8 MB, free: 62.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.2319, allocations: 194.8 kB / 421 MB, free: 62.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.2329, allocations: 0.7275 MB / 421.7 MB, free: 62.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.317e-05/0.233, allocations: 16.66 kB / 421.8 MB, free: 62.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.233, allocations: 12.91 kB / 421.8 MB, free: 62.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.233, allocations: 5.5 kB / 421.8 MB, free: 62.52 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/0.2366, allocations: 2.582 MB / 424.4 MB, free: 61.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.2366, allocations: 4.078 kB / 424.4 MB, free: 61.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.2369, allocations: 152.6 kB / 424.5 MB, free: 61.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001893/0.2371, allocations: 80.2 kB / 424.6 MB, free: 61.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.2372, allocations: 27.84 kB / 424.6 MB, free: 61.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008876/0.2381, allocations: 1.976 MB / 426.6 MB, free: 60.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.2381, allocations: 8.281 kB / 426.6 MB, free: 60.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.2392, allocations: 1.193 MB / 427.8 MB, free: 59.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.2393, allocations: 155.1 kB / 427.9 MB, free: 59.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.2394, allocations: 24.23 kB / 428 MB, free: 59.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.2397, allocations: 27.03 kB / 428 MB, free: 59.61 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2398, allocations: 79.88 kB / 428.1 MB, free: 59.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.2399, allocations: 33.92 kB / 428.1 MB, free: 59.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005385/0.2404, allocations: 0.7041 MB / 428.8 MB, free: 59.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2404, allocations: 0 / 428.8 MB, free: 59.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001709/0.2421, allocations: 0.5576 MB / 429.4 MB, free: 59.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (revolute.phi,revolute.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 (93): * Single equations (assignments): 88 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002155/0.2423, allocations: 148.1 kB / 429.5 MB, free: 59.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.2439, allocations: 1.567 MB / 431.1 MB, free: 58.64 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2439, allocations: 4 kB / 431.1 MB, free: 58.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.2443, allocations: 0.4904 MB / 431.6 MB, free: 58.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006745/0.245, allocations: 242.5 kB / 431.8 MB, free: 58.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.2499, allocations: 4.683 MB / 436.5 MB, free: 53.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/0.2505, allocations: 0.8064 MB / 437.3 MB, free: 53.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006222/0.2511, allocations: 252.9 kB / 437.5 MB, free: 53.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.2515, allocations: 339.8 kB / 437.9 MB, free: 52.72 MB / 330.7 MB Notification: Performance of SimCode: time 1.403e-06/0.2515, allocations: 0 / 437.9 MB, free: 52.72 MB / 330.7 MB Notification: Performance of Templates: time 0.02676/0.2782, allocations: 18.69 MB / 456.6 MB, free: 35.03 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.Pendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.Pendulum -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5588809149339795]