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.001376/0.001376, allocations: 88.72 kB / 19.44 MB, free: 356 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.001587/0.001587, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.461/1.461, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.0501/0.0501, allocations: 7.177 MB / 266.7 MB, free: 6.07 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.984e-06/1.984e-06, allocations: 0 / 338.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/2.038e-05, allocations: 6.25 kB / 338.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.005944/0.005965, allocations: 7.492 MB / 345.6 MB, free: 3.012 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003583/0.009548, allocations: 2.536 MB / 348.2 MB, free: 480 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/0.01003, allocations: 39.88 kB / 348.2 MB, free: 440 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006063/0.01064, allocations: 381.3 kB / 348.6 MB, free: 56 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003154/0.01379, allocations: 1.524 MB / 350.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003432/0.01414, allocations: 139.7 kB / 350.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003374/0.01751, allocations: 2.613 MB / 352.8 MB, free: 11.77 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.01868, allocations: 0.8046 MB / 353.6 MB, free: 10.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.02054, allocations: 1.399 MB / 355 MB, free: 9.535 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.0225, allocations: 1.324 MB / 356.4 MB, free: 8.207 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003645/0.02287, allocations: 236 kB / 356.6 MB, free: 7.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001443/0.02431, allocations: 0.8152 MB / 357.4 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.02564, allocations: 1.285 MB / 358.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001195/0.02683, allocations: 0.8369 MB / 359.5 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006085/0.03292, allocations: 5.038 MB / 364.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.03292, allocations: 0 / 364.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.03292, allocations: 0 / 364.6 MB, free: 15.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.069e-05/0.03299, allocations: 0 / 364.6 MB, free: 15.98 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.01126/0.04425, allocations: 4.413 MB / 369 MB, free: 11.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.04429, allocations: 8.625 kB / 369 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007827/0.05211, allocations: 2.277 MB / 371.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/0.05496, allocations: 1.327 MB / 372.6 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.05512, allocations: 152.1 kB / 372.8 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004639/0.05558, allocations: 204.2 kB / 373 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01398/0.06957, allocations: 8.264 MB / 381.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.521e-05/0.06964, allocations: 27.77 kB / 381.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003229/0.06996, allocations: 95.84 kB / 381.3 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003546/0.07351, allocations: 1.911 MB / 383.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.08851, allocations: 7.387 MB / 390.6 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1488/0.2373, allocations: 23.47 MB / 414.1 MB, free: 61.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006267/0.2436, allocations: 2.245 MB / 416.3 MB, free: 61.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.245, allocations: 0.8654 MB / 417.2 MB, free: 61.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005862/0.2509, allocations: 2.873 MB / 420.1 MB, free: 60.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.2509, allocations: 43.25 kB / 420.1 MB, free: 60.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=153): time 4.188e-06/0.2509, allocations: 3.875 kB / 420.1 MB, free: 60.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.01121/0.2621, allocations: 5.762 MB / 425.9 MB, free: 59.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.2622, allocations: 66.97 kB / 426 MB, free: 59.13 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.2645, allocations: 2.234 MB / 428.2 MB, free: 58.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.096e-05/0.2645, allocations: 48.77 kB / 428.2 MB, free: 58.25 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007158/0.2653, allocations: 2.208 MB / 430.4 MB, free: 56.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.2656, allocations: 0.6814 MB / 431.1 MB, free: 56.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008224/0.2664, allocations: 0.8343 MB / 432 MB, free: 55.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.2665, allocations: 347.8 kB / 432.3 MB, free: 55.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00171/0.2682, allocations: 1.377 MB / 433.7 MB, free: 54.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002303/0.2705, allocations: 3.639 MB / 437.3 MB, free: 50.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004112/0.2746, allocations: 5.448 MB / 442.8 MB, free: 43.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.747e-05/0.2746, allocations: 20 kB / 442.8 MB, free: 43.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=553) (initialization): time 0.006642/0.2813, allocations: 5.435 MB / 448.2 MB, free: 38.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.2813, allocations: 42.03 kB / 448.3 MB, free: 38.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.254e-05/0.2814, allocations: 80.16 kB / 448.3 MB, free: 38.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008727/0.2822, allocations: 382.8 kB / 448.7 MB, free: 37.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/0.2845, allocations: 0.9279 MB / 449.6 MB, free: 37.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/0.2885, allocations: 4.018 MB / 453.7 MB, free: 32.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.2909, allocations: 212 kB / 453.9 MB, free: 32.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002579/0.2911, allocations: 247.6 kB / 454.1 MB, free: 32.49 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.001659/0.2928, allocations: 1.61 MB / 455.7 MB, free: 30.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003371/0.2931, allocations: 258 kB / 456 MB, free: 30.62 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003157/0.2963, allocations: 2.327 MB / 458.3 MB, free: 28.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.875e-05/0.2964, allocations: 35.81 kB / 458.3 MB, free: 28.24 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.2964, allocations: 6.938 kB / 458.3 MB, free: 28.24 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.2964, allocations: 7.969 kB / 458.3 MB, free: 28.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007765/0.3042, allocations: 5.59 MB / 463.9 MB, free: 22.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.3042, allocations: 8 kB / 463.9 MB, free: 22.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008843/0.3051, allocations: 255.7 kB / 464.2 MB, free: 22.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006799/0.3057, allocations: 282 kB / 464.5 MB, free: 22.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.3058, allocations: 42.64 kB / 464.5 MB, free: 22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/0.3089, allocations: 3.271 MB / 467.8 MB, free: 18.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3089, allocations: 7.984 kB / 467.8 MB, free: 18.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/0.313, allocations: 3.709 MB / 471.5 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.3134, allocations: 186.7 kB / 471.7 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.3136, allocations: 33.39 kB / 471.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007737/0.3144, allocations: 89.66 kB / 471.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.3146, allocations: 117 kB / 471.9 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.362e-05/0.3147, allocations: 55.34 kB / 472 MB, free: 14.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001449/0.3161, allocations: 1.286 MB / 473.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3161, allocations: 0 / 473.3 MB, free: 13.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002607/0.3187, allocations: 0.7109 MB / 474 MB, free: 12.38 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.0002905/0.319, allocations: 168.8 kB / 474.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004096/0.3231, allocations: 3.34 MB / 477.5 MB, free: 8.867 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3231, allocations: 0 / 477.5 MB, free: 8.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.3244, allocations: 1.134 MB / 478.6 MB, free: 7.719 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001308/0.3257, allocations: 287.7 kB / 478.9 MB, free: 7.457 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008386/0.3341, allocations: 6.861 MB / 485.7 MB, free: 500 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/0.3369, allocations: 2.067 MB / 487.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002986/0.3399, allocations: 1.218 MB / 489 MB, free: 13.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.3403, allocations: 156.5 kB / 489.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.493e-06/0.3403, allocations: 4 kB / 489.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of Templates: time 0.04455/0.3849, allocations: 20.38 MB / 0.4976 GB, free: 8.984 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.398896412923932]