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.001051/0.001051, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009997/0.0009997, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9576/0.9576, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.02877/0.02877, allocations: 7.173 MB / 267.1 MB, free: 6.059 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.774e-06/1.774e-06, allocations: 0 / 338.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.245e-05, allocations: 4.844 kB / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.01295/0.01297, allocations: 8.243 MB / 347.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003795/0.01677, allocations: 2.62 MB / 349.7 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.01718, allocations: 35.88 kB / 349.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006417/0.01782, allocations: 385.4 kB / 350.1 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.01982, allocations: 1.524 MB / 351.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002357/0.02006, allocations: 139.6 kB / 351.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.0222, allocations: 2.614 MB / 354.4 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009784/0.02318, allocations: 0.8008 MB / 355.2 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.02437, allocations: 1.403 MB / 356.6 MB, free: 8.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.02544, allocations: 1.328 MB / 357.9 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004644/0.0259, allocations: 236 kB / 358.2 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008507/0.02675, allocations: 0.8191 MB / 359 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006727/0.02743, allocations: 1.285 MB / 360.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005659/0.02799, allocations: 0.8369 MB / 361.1 MB, free: 3.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.03028, allocations: 3.338 MB / 364.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.03028, allocations: 0 / 364.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.03028, allocations: 0 / 364.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.0303, allocations: 0 / 364.4 MB, free: 0.5039 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.005917/0.03622, allocations: 4.695 MB / 369.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.03626, allocations: 8.625 kB / 369.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003866/0.04013, allocations: 2.214 MB / 371.4 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.04189, allocations: 1.252 MB / 372.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.825e-05/0.04198, allocations: 156.1 kB / 372.8 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/0.04223, allocations: 196.2 kB / 373 MB, free: 7.895 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004954/0.04719, allocations: 4.26 MB / 377.2 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.623e-05/0.04723, allocations: 27.75 kB / 377.2 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.04742, allocations: 95.86 kB / 377.3 MB, free: 2.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00174/0.04916, allocations: 1.903 MB / 379.2 MB, free: 1.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004682/0.05384, allocations: 2.483 MB / 381.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01819/0.07204, allocations: 26.53 MB / 408.3 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/0.07512, allocations: 1.293 MB / 409.5 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004992/0.07562, allocations: 365.7 kB / 409.9 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1229/0.1985, allocations: 2.577 MB / 412.5 MB, free: 64.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.1986, allocations: 47.58 kB / 412.5 MB, free: 64.86 MB / 330.7 MB Notification: Performance of pre-optimization done (n=153): time 4.478e-06/0.1986, allocations: 0 / 412.5 MB, free: 64.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.006047/0.2046, allocations: 3.767 MB / 416.3 MB, free: 64.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.2047, allocations: 66.06 kB / 416.4 MB, free: 64.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001666/0.2063, allocations: 1.969 MB / 418.3 MB, free: 63.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.2064, allocations: 50.42 kB / 418.4 MB, free: 63.78 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008352/0.2072, allocations: 2.304 MB / 420.7 MB, free: 62.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/0.2076, allocations: 0.711 MB / 421.4 MB, free: 61.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007819/0.2083, allocations: 0.8946 MB / 422.3 MB, free: 61.77 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.2084, allocations: 0.5181 MB / 422.8 MB, free: 61.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008378/0.2093, allocations: 466.5 kB / 423.3 MB, free: 61.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.2109, allocations: 3.779 MB / 427 MB, free: 56.99 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002664/0.2136, allocations: 4.671 MB / 431.7 MB, free: 52.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-05/0.2136, allocations: 22.69 kB / 431.7 MB, free: 52.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=553) (initialization): time 0.003664/0.2173, allocations: 3.545 MB / 435.3 MB, free: 52.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.2173, allocations: 38.5 kB / 435.3 MB, free: 52.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.985e-05/0.2173, allocations: 81.78 kB / 435.4 MB, free: 52.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005213/0.2179, allocations: 291.1 kB / 435.7 MB, free: 52.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.2192, allocations: 0.9306 MB / 436.6 MB, free: 51.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.2214, allocations: 3.331 MB / 439.9 MB, free: 49.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.2226, allocations: 197.8 kB / 440.1 MB, free: 49.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/0.2227, allocations: 249.1 kB / 440.4 MB, free: 48.8 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.0006704/0.2234, allocations: 486.7 kB / 440.9 MB, free: 48.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/0.2236, allocations: 258.5 kB / 441.1 MB, free: 48.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.225, allocations: 1.203 MB / 442.3 MB, free: 47.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.106e-05/0.225, allocations: 33.62 kB / 442.3 MB, free: 47.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.225, allocations: 9.797 kB / 442.4 MB, free: 47.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.225, allocations: 11.91 kB / 442.4 MB, free: 47.01 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004504/0.2295, allocations: 4.321 MB / 446.7 MB, free: 43.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2295, allocations: 8.125 kB / 446.7 MB, free: 43.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.23, allocations: 252.9 kB / 446.9 MB, free: 42.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003527/0.2304, allocations: 180.7 kB / 447.1 MB, free: 42.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6e-05/0.2304, allocations: 39.61 kB / 447.2 MB, free: 42.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.2319, allocations: 2.618 MB / 449.8 MB, free: 40.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.2319, allocations: 8 kB / 449.8 MB, free: 40.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.2337, allocations: 1.836 MB / 451.6 MB, free: 38.45 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.2338, allocations: 190 kB / 451.8 MB, free: 38.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.234, allocations: 39.14 kB / 451.8 MB, free: 38.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.2343, allocations: 85.78 kB / 451.9 MB, free: 38.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.2345, allocations: 111.2 kB / 452 MB, free: 38.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.2345, allocations: 54.34 kB / 452.1 MB, free: 38.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007331/0.2352, allocations: 0.8712 MB / 453 MB, free: 37.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2352, allocations: 1.422 kB / 453 MB, free: 37.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001616/0.2369, allocations: 0.6992 MB / 453.7 MB, free: 36.65 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.0002445/0.2371, allocations: 175.8 kB / 453.8 MB, free: 36.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002203/0.2393, allocations: 2.179 MB / 456 MB, free: 34.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2393, allocations: 0 / 456 MB, free: 34.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005968/0.2399, allocations: 0.7545 MB / 456.8 MB, free: 33.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007658/0.2407, allocations: 282.7 kB / 457 MB, free: 33.27 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005183/0.2459, allocations: 5.68 MB / 462.7 MB, free: 27.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.2465, allocations: 0.9379 MB / 463.7 MB, free: 26.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001213/0.2477, allocations: 1.058 MB / 464.7 MB, free: 25.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.2479, allocations: 156.5 kB / 464.9 MB, free: 25.29 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.2479, allocations: 0 / 464.9 MB, free: 25.29 MB / 330.7 MB Notification: Performance of Templates: time 0.02441/0.2723, allocations: 20.37 MB / 485.2 MB, free: 5.281 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.591051299124956]