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.001448/0.001448, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001837/0.001837, allocations: 181 kB / 23.36 MB, free: 1.133 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.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.02944/0.02944, allocations: 7.19 MB / 267.4 MB, free: 5.93 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.362e-06/1.362e-06, allocations: 0 / 286 MB, free: 3.344 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.221e-05, allocations: 6.312 kB / 286 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.1149/0.1149, allocations: 8.072 MB / 294.1 MB, free: 16.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004033/0.1189, allocations: 2.703 MB / 296.8 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004887/0.1194, allocations: 38.47 kB / 296.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006425/0.12, allocations: 392.6 kB / 297.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.1222, allocations: 1.536 MB / 298.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.1224, allocations: 128.1 kB / 298.9 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001869/0.1243, allocations: 2.614 MB / 301.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007451/0.125, allocations: 0.8238 MB / 302.3 MB, free: 13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.1261, allocations: 1.41 MB / 303.7 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.1271, allocations: 1.271 MB / 305 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002806/0.1274, allocations: 234.2 kB / 305.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008685/0.1283, allocations: 0.8227 MB / 306.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005486/0.1288, allocations: 1.292 MB / 307.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005314/0.1293, allocations: 0.8412 MB / 308.2 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001637/0.131, allocations: 3.315 MB / 311.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.131, allocations: 0.6562 kB / 311.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.131, allocations: 1 kB / 311.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.131, allocations: 0 / 311.5 MB, free: 6.379 MB / 266.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.003339/0.1343, allocations: 3.66 MB / 315.2 MB, free: 2.684 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.877e-05/0.1344, allocations: 8.625 kB / 315.2 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/0.1367, allocations: 1.008 MB / 316.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008993/0.1376, allocations: 0.9954 MB / 317.2 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.597e-05/0.1377, allocations: 152.1 kB / 317.3 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.1379, allocations: 196.2 kB / 317.5 MB, free: 312 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003571/0.1414, allocations: 3.599 MB / 321.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/0.1415, allocations: 19.83 kB / 321.1 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001891/0.1417, allocations: 99.86 kB / 321.2 MB, free: 12.19 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001498/0.1432, allocations: 1.722 MB / 323 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00305/0.1462, allocations: 2.017 MB / 325 MB, free: 8.43 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.1601, allocations: 19.08 MB / 344.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002518/0.1626, allocations: 1.224 MB / 345.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.163, allocations: 279.3 kB / 345.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0026/0.1656, allocations: 2.304 MB / 347.9 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1656, allocations: 47.86 kB / 347.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of pre-optimization done (n=153): time 2.585e-06/0.1656, allocations: 0 / 347.9 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of matching and sorting (n=181): time 0.005028/0.1706, allocations: 2.939 MB / 350.9 MB, free: 14.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1707, allocations: 64.72 kB / 350.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.1718, allocations: 1.611 MB / 352.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.087e-05/0.1718, allocations: 53.7 kB / 352.6 MB, free: 12.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008547/0.1727, allocations: 2.142 MB / 354.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003505/0.173, allocations: 0.6858 MB / 355.4 MB, free: 9.414 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006894/0.1737, allocations: 0.7911 MB / 356.2 MB, free: 8.609 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.1738, allocations: 345.9 kB / 356.5 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.1744, allocations: 442.4 kB / 357 MB, free: 7.824 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.1758, allocations: 2.62 MB / 359.6 MB, free: 4.074 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002552/0.1784, allocations: 3.621 MB / 363.2 MB, free: 15.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.38e-05/0.1784, allocations: 20 kB / 363.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=555) (initialization): time 0.002888/0.1813, allocations: 2.833 MB / 366.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.1813, allocations: 40 kB / 366.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.187e-05/0.1814, allocations: 84.12 kB / 366.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004586/0.1819, allocations: 275.2 kB / 366.5 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.1833, allocations: 0.9007 MB / 367.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002047/0.1853, allocations: 2.5 MB / 369.9 MB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.1863, allocations: 163.9 kB / 370 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/0.1865, allocations: 208 kB / 370.2 MB, free: 8.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 360 * 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 (508): * Single equations (assignments): 503 * 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.0006747/0.1872, allocations: 448.6 kB / 370.7 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002006/0.1874, allocations: 159.8 kB / 370.8 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.1885, allocations: 0.9177 MB / 371.7 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-05/0.1886, allocations: 24 kB / 371.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1886, allocations: 4.062 kB / 371.8 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.1886, allocations: 11.97 kB / 371.8 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/0.1922, allocations: 3.04 MB / 374.8 MB, free: 3.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.1922, allocations: 4 kB / 374.8 MB, free: 3.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/0.1927, allocations: 224.3 kB / 375 MB, free: 3.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004028/0.1931, allocations: 238.3 kB / 375.3 MB, free: 2.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/0.1932, allocations: 39.98 kB / 375.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.1946, allocations: 1.879 MB / 377.2 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1946, allocations: 8 kB / 377.2 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.196, allocations: 1.409 MB / 378.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.1962, allocations: 178.6 kB / 378.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.1963, allocations: 32 kB / 378.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.1967, allocations: 35.98 kB / 378.8 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.1968, allocations: 113 kB / 379 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.1968, allocations: 44 kB / 379 MB, free: 15.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005093/0.1974, allocations: 0.632 MB / 379.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1974, allocations: 0 / 379.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001555/0.1989, allocations: 0.707 MB / 380.3 MB, free: 13.72 MB / 346.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.0002259/0.1991, allocations: 144.1 kB / 380.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.2009, allocations: 1.868 MB / 382.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.662e-05/0.2009, allocations: 55.94 kB / 382.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.2015, allocations: 0.588 MB / 383 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/0.2023, allocations: 286.2 kB / 383.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00593/0.2082, allocations: 5.705 MB / 389 MB, free: 4.926 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007663/0.2089, allocations: 0.9302 MB / 389.9 MB, free: 3.969 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000697/0.2096, allocations: 308.3 kB / 390.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/0.2101, allocations: 381.2 kB / 390.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/0.2101, allocations: 0 / 390.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of Templates: time 0.03082/0.241, allocations: 22.27 MB / 412.8 MB, free: 13.4 MB / 378.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.283209138084203]