Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.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.001029/0.001029, allocations: 93.16 kB / 19.65 MB, free: 292 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.001213/0.001213, allocations: 168.9 kB / 23.01 MB, free: 1.566 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.9773/0.9773, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.03929/0.03929, allocations: 7.18 MB / 267.1 MB, free: 6.066 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.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") translateModel(PlanarMechanics.Examples.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 338.8 MB, free: 10.24 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/3.075e-05, allocations: 10.03 kB / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.007627/0.007658, allocations: 8.361 MB / 347.2 MB, free: 1.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004138/0.0118, allocations: 2.628 MB / 349.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007222/0.01252, allocations: 39.88 kB / 349.9 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007662/0.01328, allocations: 385.3 kB / 350.3 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.01572, allocations: 1.485 MB / 351.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.01604, allocations: 155.7 kB / 351.9 MB, free: 13.13 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.01835, allocations: 2.598 MB / 354.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001056/0.01941, allocations: 0.867 MB / 355.4 MB, free: 9.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.021, allocations: 1.434 MB / 356.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.02249, allocations: 1.336 MB / 358.1 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003788/0.02287, allocations: 244 kB / 358.4 MB, free: 6.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.0239, allocations: 0.8307 MB / 359.2 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007574/0.02466, allocations: 1.289 MB / 360.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007637/0.02542, allocations: 0.8486 MB / 361.3 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.02823, allocations: 3.339 MB / 364.7 MB, free: 288 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.02823, allocations: 3.938 kB / 364.7 MB, free: 284 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.02823, allocations: 0 / 364.7 MB, free: 284 kB / 282.7 MB Notification: Performance of Transformations before backend: time 7.795e-05/0.02831, allocations: 0 / 364.7 MB, free: 284 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.005586/0.03389, allocations: 4.628 MB / 369.3 MB, free: 11.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.03393, allocations: 8.625 kB / 369.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003778/0.03771, allocations: 2.226 MB / 371.5 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.03911, allocations: 1.259 MB / 372.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.292e-05/0.03919, allocations: 156.1 kB / 373 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/0.03945, allocations: 204.2 kB / 373.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004769/0.04422, allocations: 4.1 MB / 377.3 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.245e-05/0.04426, allocations: 16.06 kB / 377.3 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001937/0.04446, allocations: 103.8 kB / 377.4 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0018/0.04626, allocations: 1.915 MB / 379.3 MB, free: 1.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004467/0.05072, allocations: 2.438 MB / 381.7 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.06777, allocations: 25.43 MB / 407.1 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.07018, allocations: 1.091 MB / 408.2 MB, free: 3.457 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004559/0.07063, allocations: 315.7 kB / 408.5 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002754/0.07339, allocations: 2.338 MB / 410.9 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.07342, allocations: 46.39 kB / 410.9 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of pre-optimization done (n=135): time 2.415e-06/0.07342, allocations: 3.938 kB / 410.9 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of matching and sorting (n=149): time 0.136/0.2094, allocations: 3.083 MB / 414 MB, free: 63.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/0.2095, allocations: 71.59 kB / 414.1 MB, free: 63.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.211, allocations: 1.879 MB / 416 MB, free: 63.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.944e-05/0.2111, allocations: 42.86 kB / 416 MB, free: 63.52 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000666/0.2118, allocations: 2.283 MB / 418.3 MB, free: 62.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.212, allocations: 0.5834 MB / 418.9 MB, free: 61.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006056/0.2126, allocations: 0.8136 MB / 419.7 MB, free: 61.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.2127, allocations: 0.5233 MB / 420.2 MB, free: 61.35 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007335/0.2134, allocations: 399.7 kB / 420.6 MB, free: 61.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/0.2151, allocations: 3.436 MB / 424 MB, free: 57.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002951/0.2181, allocations: 4.247 MB / 428.3 MB, free: 53.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.562e-05/0.2181, allocations: 20.97 kB / 428.3 MB, free: 53.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=491) (initialization): time 0.004056/0.2222, allocations: 3.104 MB / 431.4 MB, free: 53.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/0.2222, allocations: 35.59 kB / 431.4 MB, free: 53.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-05/0.2223, allocations: 70.69 kB / 431.5 MB, free: 53.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004007/0.2227, allocations: 202.8 kB / 431.7 MB, free: 53.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.224, allocations: 0.8311 MB / 432.5 MB, free: 53.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.2255, allocations: 2.718 MB / 435.3 MB, free: 51.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.2266, allocations: 182.3 kB / 435.4 MB, free: 51.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.2268, allocations: 222.4 kB / 435.7 MB, free: 51.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 329 * Number of states: 0 () * Number of discrete variables: 21 (worldForce.arrowTorque.twoHeadedArrow,worldForce.arrowTorque.headAtOrigin,worldForce.arrowForce.twoHeadedArrow,worldForce.arrowForce.headAtOrigin,cutForce.arrowForce.twoHeadedArrow,cutForce.arrowForce.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],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 (453): * Single equations (assignments): 448 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007467/0.2275, allocations: 448.1 kB / 436.1 MB, free: 50.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.2277, allocations: 231.6 kB / 436.3 MB, free: 50.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.2289, allocations: 0.964 MB / 437.3 MB, free: 50.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-05/0.229, allocations: 27.2 kB / 437.3 MB, free: 50.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.229, allocations: 3.688 kB / 437.3 MB, free: 50.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.229, allocations: 6.328 kB / 437.3 MB, free: 50.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00446/0.2334, allocations: 3.97 MB / 441.3 MB, free: 47.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.2334, allocations: 12.53 kB / 441.3 MB, free: 47.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.2339, allocations: 224 kB / 441.5 MB, free: 47.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002014/0.2341, allocations: 90.14 kB / 441.6 MB, free: 47.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.99e-05/0.2341, allocations: 33.73 kB / 441.6 MB, free: 47.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.2351, allocations: 2.418 MB / 444.1 MB, free: 45.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2352, allocations: 7.938 kB / 444.1 MB, free: 45.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.2366, allocations: 1.517 MB / 445.6 MB, free: 43.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.2368, allocations: 170.8 kB / 445.8 MB, free: 43.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.2369, allocations: 30.81 kB / 445.8 MB, free: 43.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.2372, allocations: 68.77 kB / 445.9 MB, free: 43.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.2374, allocations: 104.8 kB / 446 MB, free: 43.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.112e-05/0.2374, allocations: 54.08 kB / 446 MB, free: 43.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007197/0.2381, allocations: 0.8368 MB / 446.8 MB, free: 42.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2381, allocations: 0 / 446.8 MB, free: 42.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001762/0.2399, allocations: 0.6471 MB / 447.5 MB, free: 41.9 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (114): * Single equations (assignments): 109 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002856/0.2402, allocations: 150.8 kB / 447.6 MB, free: 41.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.2423, allocations: 1.891 MB / 449.5 MB, free: 40.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2423, allocations: 5.5 kB / 449.5 MB, free: 40.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000515/0.2428, allocations: 0.6031 MB / 450.1 MB, free: 39.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008053/0.2436, allocations: 293 kB / 450.4 MB, free: 39.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.2498, allocations: 5.458 MB / 455.9 MB, free: 34.12 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.2504, allocations: 0.9133 MB / 456.8 MB, free: 33.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001204/0.2516, allocations: 0.9519 MB / 457.7 MB, free: 32.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002578/0.2519, allocations: 148.5 kB / 457.9 MB, free: 32.34 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2519, allocations: 0 / 457.9 MB, free: 32.34 MB / 330.7 MB Notification: Performance of Templates: time 0.02431/0.2762, allocations: 19.67 MB / 477.6 MB, free: 12.98 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.sim & ./PlanarMechanics_PlanarMechanics.Examples.PendulumExcited -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3669858700595796]