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.0009768/0.0009768, allocations: 80.94 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.001006/0.001006, allocations: 177 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.007/1.007, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.02956/0.02956, allocations: 7.191 MB / 267.4 MB, free: 5.941 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.192e-06/1.192e-06, allocations: 0 / 286.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.73e-05, allocations: 2.312 kB / 286.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.125/0.125, allocations: 8.133 MB / 294.2 MB, free: 17.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004524/0.1295, allocations: 2.704 MB / 296.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007412/0.1302, allocations: 39.19 kB / 297 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007307/0.131, allocations: 385.7 kB / 297.3 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002541/0.1335, allocations: 1.525 MB / 298.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.1338, allocations: 129 kB / 299 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.136, allocations: 2.607 MB / 301.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008917/0.1369, allocations: 0.8213 MB / 302.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.1382, allocations: 1.408 MB / 303.8 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.1394, allocations: 1.273 MB / 305.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003032/0.1397, allocations: 235.9 kB / 305.3 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.1408, allocations: 0.8351 MB / 306.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005741/0.1414, allocations: 1.294 MB / 307.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005478/0.1419, allocations: 0.8358 MB / 308.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.1437, allocations: 3.328 MB / 311.6 MB, free: 6.434 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1438, allocations: 0 / 311.6 MB, free: 6.434 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1438, allocations: 3 kB / 311.6 MB, free: 6.434 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.295e-05/0.1438, allocations: 0 / 311.6 MB, free: 6.434 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.003521/0.1473, allocations: 3.646 MB / 315.3 MB, free: 2.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1473, allocations: 8.625 kB / 315.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002696/0.15, allocations: 1.009 MB / 316.3 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009951/0.151, allocations: 1.003 MB / 317.3 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.1511, allocations: 152.1 kB / 317.4 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/0.1513, allocations: 200.2 kB / 317.6 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/0.155, allocations: 3.591 MB / 321.2 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.155, allocations: 27.75 kB / 321.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.1552, allocations: 99.86 kB / 321.3 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001466/0.1567, allocations: 1.712 MB / 323.1 MB, free: 10.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002964/0.1596, allocations: 2.023 MB / 325.1 MB, free: 8.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01336/0.173, allocations: 19.08 MB / 344.2 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/0.1756, allocations: 1.231 MB / 345.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.1759, allocations: 280.1 kB / 345.7 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00252/0.1784, allocations: 2.305 MB / 348 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1785, allocations: 47.88 kB / 348 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of pre-optimization done (n=153): time 2.725e-06/0.1785, allocations: 0 / 348 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of matching and sorting (n=181): time 0.005258/0.1837, allocations: 2.934 MB / 350.9 MB, free: 14.07 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1838, allocations: 72.72 kB / 351 MB, free: 13.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.1848, allocations: 1.607 MB / 352.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/0.1849, allocations: 49.7 kB / 352.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000782/0.1857, allocations: 2.138 MB / 354.8 MB, free: 10.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003186/0.186, allocations: 0.6858 MB / 355.5 MB, free: 9.477 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006407/0.1866, allocations: 0.7988 MB / 356.3 MB, free: 8.664 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.1867, allocations: 349.9 kB / 356.6 MB, free: 8.316 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005329/0.1873, allocations: 442.4 kB / 357.1 MB, free: 7.875 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.1887, allocations: 2.616 MB / 359.7 MB, free: 4.129 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/0.191, allocations: 3.62 MB / 363.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.46e-05/0.191, allocations: 24 kB / 363.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=555) (initialization): time 0.002872/0.1939, allocations: 2.821 MB / 366.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.382e-05/0.1939, allocations: 41 kB / 366.2 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.891e-05/0.194, allocations: 83.94 kB / 366.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000475/0.1945, allocations: 278.4 kB / 366.5 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.196, allocations: 0.9359 MB / 367.5 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.198, allocations: 2.502 MB / 370 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.1991, allocations: 167.9 kB / 370.1 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.1993, allocations: 208 kB / 370.3 MB, free: 8.195 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.0006414/0.1999, allocations: 450 kB / 370.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.2001, allocations: 159.8 kB / 370.9 MB, free: 7.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.2013, allocations: 0.9165 MB / 371.9 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.475e-05/0.2013, allocations: 28 kB / 371.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2013, allocations: 7.188 kB / 371.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.2013, allocations: 7.969 kB / 371.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003647/0.205, allocations: 3.039 MB / 374.9 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.205, allocations: 4 kB / 374.9 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005216/0.2055, allocations: 235.7 kB / 375.2 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/0.2059, allocations: 244.6 kB / 375.4 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/0.206, allocations: 32 kB / 375.4 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001481/0.2075, allocations: 1.88 MB / 377.3 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/0.2075, allocations: 7.938 kB / 377.3 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.2089, allocations: 1.416 MB / 378.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.2091, allocations: 178.6 kB / 378.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.2093, allocations: 32 kB / 379 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003271/0.2096, allocations: 31.98 kB / 379 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.2097, allocations: 117 kB / 379.1 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/0.2098, allocations: 36 kB / 379.1 MB, free: 15.06 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005647/0.2103, allocations: 0.636 MB / 379.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2103, allocations: 0 / 379.8 MB, free: 14.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001731/0.2121, allocations: 0.707 MB / 380.5 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.0002292/0.2123, allocations: 148 kB / 380.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.2142, allocations: 1.874 MB / 382.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.961e-05/0.2143, allocations: 55.94 kB / 382.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005526/0.2148, allocations: 0.584 MB / 383.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/0.2156, allocations: 284.5 kB / 383.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006045/0.2217, allocations: 5.706 MB / 389.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007612/0.2224, allocations: 0.9223 MB / 390 MB, free: 3.977 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000696/0.2231, allocations: 314.5 kB / 390.3 MB, free: 3.672 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005016/0.2236, allocations: 381.2 kB / 390.7 MB, free: 3.297 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2236, allocations: 0 / 390.7 MB, free: 3.297 MB / 346.7 MB Notification: Performance of Templates: time 0.03177/0.2554, allocations: 22.27 MB / 413 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.271530145779252]