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.001393/0.001393, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.001546/0.001546, allocations: 169 kB / 24.05 MB, free: 452 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 1.028/1.028, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.03012/0.03012, allocations: 7.177 MB / 268.2 MB, free: 5.887 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 1.633e-06/1.633e-06, allocations: 3.984 kB / 340.1 MB, free: 9.918 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.238e-05, allocations: 6.25 kB / 340.1 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.005318/0.00534, allocations: 8.185 MB / 348.3 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003786/0.009126, allocations: 2.608 MB / 350.9 MB, free: 15.06 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007766/0.009903, allocations: 35.88 kB / 350.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007265/0.01063, allocations: 381.4 kB / 351.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002542/0.01317, allocations: 1.485 MB / 352.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.0135, allocations: 155.7 kB / 352.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002499/0.016, allocations: 2.602 MB / 355.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.01727, allocations: 0.8709 MB / 356.4 MB, free: 9.496 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.01925, allocations: 1.426 MB / 357.8 MB, free: 8.066 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.02102, allocations: 1.344 MB / 359.2 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005667/0.02159, allocations: 244 kB / 359.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.0228, allocations: 0.8269 MB / 360.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000964/0.02376, allocations: 1.293 MB / 361.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001126/0.02489, allocations: 0.8409 MB / 362.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00366/0.02855, allocations: 3.358 MB / 365.7 MB, free: 144 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.02855, allocations: 0 / 365.7 MB, free: 144 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.02856, allocations: 0 / 365.7 MB, free: 144 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001493/0.0287, allocations: 0 / 365.7 MB, free: 144 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.006811/0.03552, allocations: 4.569 MB / 370.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.03556, allocations: 16.61 kB / 370.3 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003151/0.03871, allocations: 1.275 MB / 371.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/0.04052, allocations: 1.218 MB / 372.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.662e-05/0.04061, allocations: 148.1 kB / 373 MB, free: 8.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.04087, allocations: 204.2 kB / 373.2 MB, free: 8.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004636/0.0455, allocations: 3.732 MB / 376.9 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/0.04556, allocations: 20 kB / 376.9 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.04575, allocations: 103.8 kB / 377 MB, free: 4.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001543/0.0473, allocations: 1.728 MB / 378.7 MB, free: 2.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004199/0.0515, allocations: 1.971 MB / 380.7 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0213/0.0728, allocations: 25.22 MB / 405.9 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/0.07514, allocations: 1.019 MB / 406.9 MB, free: 5.668 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/0.07549, allocations: 267.7 kB / 407.2 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002734/0.07822, allocations: 2.19 MB / 409.4 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.07825, allocations: 46.39 kB / 409.4 MB, free: 3.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=135): time 2.976e-06/0.07825, allocations: 0 / 409.4 MB, free: 3.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=149): time 0.005238/0.08349, allocations: 2.595 MB / 412 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.08353, allocations: 72.33 kB / 412.1 MB, free: 468 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1389/0.2224, allocations: 1.878 MB / 414 MB, free: 71.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002513/0.2226, allocations: 48.06 kB / 414 MB, free: 71.96 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008732/0.2235, allocations: 2.287 MB / 416.3 MB, free: 70.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/0.2239, allocations: 0.5943 MB / 416.9 MB, free: 70.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007681/0.2247, allocations: 0.8276 MB / 417.7 MB, free: 70.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.104e-05/0.2248, allocations: 0.5287 MB / 418.3 MB, free: 70.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005839/0.2254, allocations: 316.1 kB / 418.6 MB, free: 70.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001569/0.2269, allocations: 3.376 MB / 422 MB, free: 66.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/0.2295, allocations: 4.149 MB / 426.1 MB, free: 62.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.703e-05/0.2296, allocations: 21.34 kB / 426.1 MB, free: 62.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.00393/0.2335, allocations: 2.91 MB / 429 MB, free: 61.51 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.2335, allocations: 38.12 kB / 429.1 MB, free: 61.51 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.569e-05/0.2336, allocations: 70.62 kB / 429.1 MB, free: 61.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003842/0.234, allocations: 194.1 kB / 429.3 MB, free: 61.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.2353, allocations: 0.8064 MB / 430.1 MB, free: 61.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.2367, allocations: 2.609 MB / 432.7 MB, free: 59.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.2382, allocations: 150.3 kB / 432.9 MB, free: 59.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.2384, allocations: 191.7 kB / 433.1 MB, free: 59.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 330 * 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 (454): * Single equations (assignments): 449 * 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.0008002/0.2392, allocations: 458.1 kB / 433.5 MB, free: 59.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.2394, allocations: 239.1 kB / 433.8 MB, free: 58.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009879/0.2403, allocations: 0.8777 MB / 434.6 MB, free: 58.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-05/0.2404, allocations: 19.16 kB / 434.7 MB, free: 58.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2404, allocations: 3.062 kB / 434.7 MB, free: 58.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.2404, allocations: 3.516 kB / 434.7 MB, free: 58.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/0.2441, allocations: 3.094 MB / 437.8 MB, free: 57.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2441, allocations: 4.594 kB / 437.8 MB, free: 57.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.2445, allocations: 194.9 kB / 437.9 MB, free: 56.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.2447, allocations: 92.59 kB / 438 MB, free: 56.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.2448, allocations: 27.84 kB / 438.1 MB, free: 56.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.2458, allocations: 2.333 MB / 440.4 MB, free: 54.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2458, allocations: 4 kB / 440.4 MB, free: 54.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.247, allocations: 1.398 MB / 441.8 MB, free: 53.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.2472, allocations: 173.9 kB / 442 MB, free: 53.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.2473, allocations: 24 kB / 442 MB, free: 53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.2476, allocations: 31.61 kB / 442 MB, free: 52.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.2477, allocations: 97.14 kB / 442.1 MB, free: 52.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.2478, allocations: 47.36 kB / 442.2 MB, free: 52.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005584/0.2483, allocations: 0.7791 MB / 442.9 MB, free: 52.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2483, allocations: 0 / 442.9 MB, free: 52.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002013/0.2504, allocations: 0.6517 MB / 443.6 MB, free: 51.68 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.0003016/0.2507, allocations: 161 kB / 443.8 MB, free: 51.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00281/0.2535, allocations: 1.771 MB / 445.5 MB, free: 49.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.2535, allocations: 1.625 kB / 445.5 MB, free: 49.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005832/0.2541, allocations: 0.5638 MB / 446.1 MB, free: 49.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.2552, allocations: 301.3 kB / 446.4 MB, free: 49.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007509/0.2627, allocations: 5.443 MB / 451.8 MB, free: 44.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000853/0.2635, allocations: 0.9165 MB / 452.7 MB, free: 43.17 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009402/0.2645, allocations: 286.8 kB / 453 MB, free: 42.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005485/0.265, allocations: 390.1 kB / 453.4 MB, free: 42.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.265, allocations: 0 / 453.4 MB, free: 42.51 MB / 330.7 MB Notification: Performance of Templates: time 0.0347/0.2997, allocations: 21.58 MB / 475 MB, free: 21.21 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.6132415789179504]