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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 105.2 kB / 16.4 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 198.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 245.1 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04793/0.04793, allocations: 9.141 MB / 306.4 MB, free: 3.727 MB / 238.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001986/0.001986, allocations: 63.91 kB / 423.4 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1261, allocations: 51.43 MB / 474.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.01068/0.1368, allocations: 8.435 MB / 483.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006789/0.1437, allocations: 2.601 MB / 485.8 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00161/0.1453, allocations: 31.94 kB / 485.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.1463, allocations: 369.5 kB / 486.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004342/0.1508, allocations: 1.42 MB / 487.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005713/0.1513, allocations: 135.8 kB / 487.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00472/0.1561, allocations: 2.549 MB / 490.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/0.1581, allocations: 0.917 MB / 491.2 MB, free: 104 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002255/0.1604, allocations: 0.9144 MB / 492.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002177/0.1626, allocations: 1.315 MB / 493.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005768/0.1632, allocations: 236 kB / 493.7 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/0.1652, allocations: 0.819 MB / 494.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001558/0.1668, allocations: 1.235 MB / 495.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001976/0.1688, allocations: 1.588 MB / 497.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008042/0.1768, allocations: 5.05 MB / 0.4906 GB, free: 4.906 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1769, allocations: 0 / 0.4906 GB, free: 4.906 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1769, allocations: 0 / 0.4906 GB, free: 4.906 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001781/0.177, allocations: 0 / 0.4906 GB, free: 4.906 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.01367/0.1907, allocations: 4.437 MB / 0.4949 GB, free: 408 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1908, allocations: 12.03 kB / 0.495 GB, free: 396 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007379/0.1982, allocations: 1.781 MB / 0.4967 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/0.2019, allocations: 1.369 MB / 0.498 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.2022, allocations: 148.1 kB / 0.4982 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/0.2033, allocations: 203.8 kB / 0.4984 GB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/0.223, allocations: 8.247 MB / 0.5064 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001612/0.2232, allocations: 31.81 kB / 0.5065 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/0.2243, allocations: 95.86 kB / 0.5065 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0037/0.228, allocations: 1.907 MB / 0.5084 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3006/0.5287, allocations: 7.415 MB / 0.5157 GB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04317/0.5719, allocations: 25.58 MB / 0.5406 GB, free: 21.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006152/0.5781, allocations: 2.621 MB / 0.5432 GB, free: 20.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.5796, allocations: 0.9137 MB / 0.5441 GB, free: 19.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006553/0.5862, allocations: 5.091 MB / 0.5491 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.5863, allocations: 47.05 kB / 0.5491 GB, free: 15.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.418e-06/0.5863, allocations: 0 / 0.5491 GB, free: 15.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=176): time 0.0126/0.5989, allocations: 5.517 MB / 0.5545 GB, free: 10.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.599, allocations: 76.72 kB / 0.5546 GB, free: 10.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004185/0.6032, allocations: 2.619 MB / 0.5571 GB, free: 7.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.6033, allocations: 49.7 kB / 0.5572 GB, free: 7.734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001455/0.6048, allocations: 2.179 MB / 0.5593 GB, free: 5.562 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000702/0.6055, allocations: 0.6761 MB / 0.56 GB, free: 4.895 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/0.607, allocations: 0.8379 MB / 0.5608 GB, free: 4.047 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.055e-05/0.607, allocations: 301.1 kB / 0.5611 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002124/0.6092, allocations: 1.374 MB / 0.5624 GB, free: 2.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004103/0.6133, allocations: 3.63 MB / 0.5659 GB, free: 13.61 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009722/0.623, allocations: 5.41 MB / 0.5712 GB, free: 7.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001309/0.6232, allocations: 24 kB / 0.5713 GB, free: 7.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.01338/0.6366, allocations: 5.241 MB / 0.5764 GB, free: 1.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000136/0.6368, allocations: 40 kB / 0.5764 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001978/0.637, allocations: 76 kB / 0.5765 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.6384, allocations: 360.9 kB / 0.5768 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/0.6422, allocations: 0.9202 MB / 0.5777 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007079/0.6493, allocations: 4.162 MB / 0.5818 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/0.6533, allocations: 207.9 kB / 0.582 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008848/0.6542, allocations: 247.6 kB / 0.5822 GB, free: 11.71 MB / 414.1 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 (498): * Single equations (assignments): 493 * 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.004272/0.6585, allocations: 1.61 MB / 0.5838 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008237/0.6593, allocations: 246.4 kB / 0.584 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005496/0.6648, allocations: 2.327 MB / 0.5863 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001302/0.665, allocations: 35.97 kB / 0.5863 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-05/0.665, allocations: 4 kB / 0.5863 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.725e-05/0.665, allocations: 3.984 kB / 0.5863 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/0.6811, allocations: 6.451 MB / 0.5926 GB, free: 0.918 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/0.6812, allocations: 4 kB / 0.5926 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.6822, allocations: 247.6 kB / 0.5929 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007731/0.683, allocations: 257 kB / 0.5931 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/0.6832, allocations: 39.66 kB / 0.5932 GB, free: 392 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00483/0.688, allocations: 3.421 MB / 0.5965 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.688, allocations: 7.938 kB / 0.5965 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006619/0.6947, allocations: 3.613 MB / 0.6 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.6957, allocations: 323.4 kB / 0.6004 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000639/0.6964, allocations: 36 kB / 0.6004 GB, free: 8.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.6977, allocations: 75.03 kB / 0.6005 GB, free: 8.699 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002887/0.698, allocations: 113 kB / 0.6006 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.6981, allocations: 44 kB / 0.6006 GB, free: 8.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003735/0.7019, allocations: 1.684 MB / 0.6023 GB, free: 6.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7019, allocations: 0 / 0.6023 GB, free: 6.844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004469/0.7063, allocations: 0.7186 MB / 0.603 GB, free: 6.125 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (132): * Single equations (assignments): 127 * 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.0006961/0.7071, allocations: 164.9 kB / 0.6031 GB, free: 5.957 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007733/0.7148, allocations: 3.45 MB / 0.6065 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.7149, allocations: 0 / 0.6065 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002349/0.7172, allocations: 1.161 MB / 0.6076 GB, free: 1.348 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/0.7203, allocations: 404.3 kB / 0.608 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/0.7343, allocations: 6.777 MB / 0.6146 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00446/0.7388, allocations: 2.615 MB / 0.6172 GB, free: 7.457 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003708/0.7426, allocations: 1.271 MB / 0.6184 GB, free: 6.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007197/0.7433, allocations: 175.4 kB / 0.6186 GB, free: 6.012 MB / 446.1 MB Notification: Performance of SimCode: time 1.223e-06/0.7434, allocations: 0 / 0.6186 GB, free: 6.012 MB / 446.1 MB Notification: Performance of Templates: time 0.05985/0.8032, allocations: 26.57 MB / 0.6445 GB, free: 11.59 MB / 478.1 MB " [Timeout remaining time 659] 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: 6.2588019566610456]