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.001775/0.001775, allocations: 85.48 kB / 19.44 MB, free: 336 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.001947/0.001947, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.547/1.547, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.05457/0.05457, allocations: 7.174 MB / 266.7 MB, free: 6.09 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.853e-06/1.853e-06, allocations: 3.938 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.111e-05, allocations: 6.312 kB / 338.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.007046/0.007077, allocations: 8.179 MB / 346.3 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005003/0.01208, allocations: 2.61 MB / 348.9 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009027/0.01298, allocations: 39.88 kB / 349 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.01411, allocations: 385.3 kB / 349.3 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004109/0.01822, allocations: 1.524 MB / 350.9 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.01869, allocations: 135.7 kB / 351 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003727/0.02242, allocations: 2.599 MB / 353.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.02366, allocations: 0.8046 MB / 354.4 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.02566, allocations: 1.403 MB / 355.8 MB, free: 8.785 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002088/0.02775, allocations: 1.332 MB / 357.1 MB, free: 7.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004166/0.02816, allocations: 236 kB / 357.4 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.02979, allocations: 0.8152 MB / 358.2 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.03116, allocations: 1.289 MB / 359.5 MB, free: 5.109 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.03237, allocations: 0.837 MB / 360.3 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006792/0.03916, allocations: 5.042 MB / 365.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.03916, allocations: 0 / 365.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.03917, allocations: 4 kB / 365.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001213/0.03929, allocations: 0 / 365.4 MB, free: 15.21 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: 1187 * Number of variables: 1187 Notification: Performance of Generate backend data structure: time 0.01285/0.05214, allocations: 5.124 MB / 370.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.05219, allocations: 8.625 kB / 370.5 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008077/0.06026, allocations: 2.206 MB / 372.7 MB, free: 7.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/0.06357, allocations: 1.256 MB / 373.9 MB, free: 6.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.06374, allocations: 156.1 kB / 374.1 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004661/0.06421, allocations: 204.2 kB / 374.3 MB, free: 6.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.07515, allocations: 4.799 MB / 379.1 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.281e-05/0.07523, allocations: 27.77 kB / 379.1 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.07554, allocations: 95.86 kB / 379.2 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00357/0.07911, allocations: 1.907 MB / 381.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.09009, allocations: 3.045 MB / 384.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2009/0.291, allocations: 38.51 MB / 422.7 MB, free: 52.86 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005639/0.2966, allocations: 1.432 MB / 424.1 MB, free: 52.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.2976, allocations: 451.4 kB / 424.6 MB, free: 52.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006334/0.304, allocations: 2.716 MB / 427.3 MB, free: 52.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.304, allocations: 46.27 kB / 427.3 MB, free: 52.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=153): time 3.436e-06/0.304, allocations: 0 / 427.3 MB, free: 52.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01026/0.3142, allocations: 4.01 MB / 431.3 MB, free: 51.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3143, allocations: 67.06 kB / 431.4 MB, free: 51.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003195/0.3175, allocations: 2.723 MB / 434.1 MB, free: 50.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000102/0.3176, allocations: 49.14 kB / 434.2 MB, free: 50.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.3188, allocations: 2.446 MB / 436.6 MB, free: 48.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005283/0.3193, allocations: 0.7531 MB / 437.4 MB, free: 48.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.3205, allocations: 1.088 MB / 438.5 MB, free: 47.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3206, allocations: 0.5391 MB / 439 MB, free: 47.16 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.3219, allocations: 0.5663 MB / 439.6 MB, free: 47.03 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/0.3245, allocations: 4.059 MB / 443.6 MB, free: 42.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004208/0.3287, allocations: 5.066 MB / 448.7 MB, free: 36.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.2e-05/0.3287, allocations: 24 kB / 448.7 MB, free: 36.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=553) (initialization): time 0.00613/0.3348, allocations: 3.778 MB / 452.5 MB, free: 32.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.3349, allocations: 40 kB / 452.5 MB, free: 32.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.41e-05/0.3349, allocations: 83.92 kB / 452.6 MB, free: 32.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008905/0.3358, allocations: 308.9 kB / 452.9 MB, free: 32.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/0.3382, allocations: 0.9279 MB / 453.8 MB, free: 31.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/0.3419, allocations: 3.579 MB / 457.4 MB, free: 27.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/0.3445, allocations: 201.9 kB / 457.6 MB, free: 27.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002995/0.3448, allocations: 248 kB / 457.9 MB, free: 27.47 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.001351/0.3461, allocations: 0.589 MB / 458.4 MB, free: 26.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003179/0.3464, allocations: 262.6 kB / 458.7 MB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.3488, allocations: 1.311 MB / 460 MB, free: 25.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-05/0.3489, allocations: 27.98 kB / 460 MB, free: 25.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3489, allocations: 4 kB / 460 MB, free: 25.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.349, allocations: 7.969 kB / 460 MB, free: 25.24 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009008/0.358, allocations: 5.521 MB / 465.6 MB, free: 19.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.358, allocations: 8 kB / 465.6 MB, free: 19.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000867/0.3588, allocations: 247.7 kB / 465.8 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000626/0.3595, allocations: 194.6 kB / 466 MB, free: 19.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.408e-05/0.3595, allocations: 39.94 kB / 466 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.3621, allocations: 2.78 MB / 468.8 MB, free: 16.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.3621, allocations: 7.938 kB / 468.8 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003196/0.3653, allocations: 2.06 MB / 470.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004304/0.3657, allocations: 186.6 kB / 471.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.3659, allocations: 41.31 kB / 471.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007342/0.3667, allocations: 79.91 kB / 471.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/0.3668, allocations: 117 kB / 471.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.254e-05/0.3669, allocations: 60.31 kB / 471.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001482/0.3684, allocations: 1.103 MB / 472.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3684, allocations: 0 / 472.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003331/0.3717, allocations: 0.7051 MB / 473.2 MB, free: 11.8 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.0003314/0.3721, allocations: 170.4 kB / 473.3 MB, free: 11.63 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004092/0.3762, allocations: 2.532 MB / 475.9 MB, free: 9.082 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3762, allocations: 0 / 475.9 MB, free: 9.082 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001107/0.3773, allocations: 0.8599 MB / 476.7 MB, free: 8.203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.3787, allocations: 293.1 kB / 477 MB, free: 7.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007966/0.3866, allocations: 5.787 MB / 482.8 MB, free: 2.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/0.3885, allocations: 1.86 MB / 484.7 MB, free: 128 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002743/0.3913, allocations: 1.069 MB / 485.7 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/0.3917, allocations: 156.4 kB / 485.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of SimCode: time 1.453e-06/0.3917, allocations: 0 / 485.9 MB, free: 14.89 MB / 346.7 MB Notification: Performance of Templates: time 0.04635/0.438, allocations: 20.36 MB / 0.4944 GB, free: 10.88 MB / 362.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: 5.857230557012372]