Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.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.001428/0.001428, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001581/0.001581, allocations: 173 kB / 23.49 MB, free: 1.059 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.66 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.02972/0.02972, allocations: 7.19 MB / 267.5 MB, free: 6.148 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.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") translateModel(PlanarMechanics.Examples.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 338.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.55e-05, allocations: 8.703 kB / 338.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.01225/0.01228, allocations: 8.223 MB / 347.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005323/0.0176, allocations: 2.608 MB / 349.7 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.01878, allocations: 39.88 kB / 349.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009494/0.01973, allocations: 385.4 kB / 350.1 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002992/0.02272, allocations: 1.52 MB / 351.6 MB, free: 13.75 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.02304, allocations: 139.5 kB / 351.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002869/0.0259, allocations: 2.611 MB / 354.4 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.027, allocations: 0.8008 MB / 355.2 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.02885, allocations: 1.403 MB / 356.6 MB, free: 8.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001811/0.03066, allocations: 1.328 MB / 357.9 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004833/0.03114, allocations: 236 kB / 358.1 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.03242, allocations: 0.8191 MB / 359 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001304/0.03372, allocations: 1.285 MB / 360.2 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009919/0.03471, allocations: 0.8408 MB / 361.1 MB, free: 4.238 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00397/0.03868, allocations: 3.327 MB / 364.4 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.03869, allocations: 0 / 364.4 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.03869, allocations: 0 / 364.4 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.027e-05/0.03878, allocations: 4 kB / 364.4 MB, free: 0.8945 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: 1187 * Number of variables: 1187 Notification: Performance of Generate backend data structure: time 0.008896/0.04767, allocations: 4.699 MB / 369.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.0477, allocations: 12.62 kB / 369.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004148/0.05185, allocations: 2.202 MB / 371.3 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.05325, allocations: 1.252 MB / 372.6 MB, free: 8.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.537e-05/0.05333, allocations: 156.1 kB / 372.7 MB, free: 8.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002576/0.05359, allocations: 200.2 kB / 372.9 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005172/0.05876, allocations: 4.256 MB / 377.2 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.05882, allocations: 23.77 kB / 377.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.05903, allocations: 103.9 kB / 377.3 MB, free: 3.371 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001725/0.06076, allocations: 1.907 MB / 379.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005248/0.06601, allocations: 2.483 MB / 381.7 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01772/0.08372, allocations: 26.54 MB / 408.2 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003056/0.08678, allocations: 1.282 MB / 409.5 MB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.08729, allocations: 369.7 kB / 409.9 MB, free: 2.109 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1218/0.2091, allocations: 2.578 MB / 412.5 MB, free: 76.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.2092, allocations: 49.69 kB / 412.5 MB, free: 76.58 MB / 330.7 MB Notification: Performance of pre-optimization done (n=153): time 4.278e-06/0.2092, allocations: 0 / 412.5 MB, free: 76.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.007268/0.2164, allocations: 3.768 MB / 416.3 MB, free: 76.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.2165, allocations: 67.09 kB / 416.3 MB, free: 76.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.2188, allocations: 1.968 MB / 418.3 MB, free: 75.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.327e-05/0.2188, allocations: 56.38 kB / 418.4 MB, free: 75.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009562/0.2198, allocations: 2.304 MB / 420.7 MB, free: 74.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003864/0.2202, allocations: 0.7129 MB / 421.4 MB, free: 73.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00067/0.2208, allocations: 0.8941 MB / 422.3 MB, free: 73.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.612e-05/0.2209, allocations: 0.5153 MB / 422.8 MB, free: 73.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007481/0.2217, allocations: 462.8 kB / 423.2 MB, free: 73.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.2233, allocations: 3.785 MB / 427 MB, free: 68.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002896/0.2262, allocations: 4.667 MB / 431.7 MB, free: 63.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-05/0.2262, allocations: 25.5 kB / 431.7 MB, free: 63.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=553) (initialization): time 0.004081/0.2303, allocations: 3.548 MB / 435.3 MB, free: 61.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/0.2303, allocations: 36 kB / 435.3 MB, free: 61.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.925e-05/0.2304, allocations: 80 kB / 435.4 MB, free: 61.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.231, allocations: 292.9 kB / 435.7 MB, free: 60.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.2325, allocations: 0.9255 MB / 436.6 MB, free: 59.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/0.2349, allocations: 3.334 MB / 439.9 MB, free: 56.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.2363, allocations: 201 kB / 440.1 MB, free: 56.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.2365, allocations: 243.7 kB / 440.4 MB, free: 56.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 358 * Number of states: 0 () * Number of discrete variables: 18 (revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (506): * Single equations (assignments): 501 * 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 {(2,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007652/0.2373, allocations: 484.1 kB / 440.8 MB, free: 55.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.2375, allocations: 262.5 kB / 441.1 MB, free: 55.63 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.2389, allocations: 1.21 MB / 442.3 MB, free: 54.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.479e-05/0.239, allocations: 35.64 kB / 442.3 MB, free: 54.58 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.239, allocations: 4 kB / 442.3 MB, free: 54.58 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.239, allocations: 7.406 kB / 442.3 MB, free: 54.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004703/0.2437, allocations: 4.324 MB / 446.7 MB, free: 50.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.2437, allocations: 7.828 kB / 446.7 MB, free: 50.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.2442, allocations: 255.5 kB / 446.9 MB, free: 50.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003697/0.2446, allocations: 178.7 kB / 447.1 MB, free: 49.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.017e-05/0.2447, allocations: 38.58 kB / 447.1 MB, free: 49.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/0.2462, allocations: 2.618 MB / 449.8 MB, free: 47.18 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.2462, allocations: 11.94 kB / 449.8 MB, free: 47.17 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.248, allocations: 1.835 MB / 451.6 MB, free: 45.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.2482, allocations: 194.5 kB / 451.8 MB, free: 45.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.2484, allocations: 36 kB / 451.8 MB, free: 45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.2488, allocations: 79.91 kB / 451.9 MB, free: 44.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.2489, allocations: 113 kB / 452 MB, free: 44.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.2489, allocations: 59.58 kB / 452.1 MB, free: 44.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007423/0.2497, allocations: 0.8644 MB / 452.9 MB, free: 43.9 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2497, allocations: 0 / 452.9 MB, free: 43.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001786/0.2515, allocations: 0.707 MB / 453.6 MB, free: 43.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.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 (137): * Single equations (assignments): 132 * 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 {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002502/0.2517, allocations: 169 kB / 453.8 MB, free: 43.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.2539, allocations: 2.17 MB / 456 MB, free: 40.83 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2539, allocations: 0 / 456 MB, free: 40.83 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006098/0.2545, allocations: 0.7532 MB / 456.7 MB, free: 40.06 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.2553, allocations: 290.5 kB / 457 MB, free: 39.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.261, allocations: 5.681 MB / 462.7 MB, free: 33.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/0.2616, allocations: 0.934 MB / 463.6 MB, free: 33.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001295/0.2629, allocations: 1.061 MB / 464.7 MB, free: 31.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.2631, allocations: 156.5 kB / 464.8 MB, free: 31.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2631, allocations: 0 / 464.8 MB, free: 31.81 MB / 330.7 MB Notification: Performance of Templates: time 0.02687/0.29, allocations: 20.37 MB / 485.2 MB, free: 11.78 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.DoublePendulum -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.637488238979131]