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.0006743/0.0006743, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.001779, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006901/0.0006901, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009278/0.001618, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9426/0.9426, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08191/1.024, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.02969/0.02969, allocations: 7.171 MB / 251.3 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004411/0.0341, allocations: 2.569 MB / 253.9 MB, free: 5.199 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.813e-06/1.813e-06, allocations: 0 / 255.2 MB, free: 3.91 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.659e-05/1.841e-05, allocations: 2.312 kB / 255.2 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.008903/0.008921, allocations: 8.181 MB / 263.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005653/0.01457, allocations: 2.713 MB / 266.1 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009916/0.01557, allocations: 43.81 kB / 266.1 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008179/0.01638, allocations: 417.3 kB / 266.5 MB, free: 8.512 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.01945, allocations: 1.497 MB / 268 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.01979, allocations: 127.7 kB / 268.1 MB, free: 6.883 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003791/0.02358, allocations: 2.619 MB / 270.8 MB, free: 4.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.02484, allocations: 0.8183 MB / 271.6 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001588/0.02643, allocations: 1.47 MB / 273 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.02788, allocations: 1.27 MB / 274.3 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003717/0.02825, allocations: 236 kB / 274.5 MB, free: 432 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1199/0.1482, allocations: 0.8161 MB / 275.4 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001259/0.1494, allocations: 1.155 MB / 276.5 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001374/0.1508, allocations: 0.6956 MB / 277.2 MB, free: 4.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003605/0.1544, allocations: 3.107 MB / 280.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.1544, allocations: 2.688 kB / 280.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1544, allocations: 3 kB / 280.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001495/0.1546, allocations: 0 / 280.3 MB, free: 4.527 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.007567/0.1622, allocations: 4.29 MB / 284.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1622, allocations: 10.91 kB / 284.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/0.1651, allocations: 1.012 MB / 285.6 MB, free: 3.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.1668, allocations: 0.9905 MB / 286.6 MB, free: 2.664 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.061e-05/0.1668, allocations: 156.6 kB / 286.8 MB, free: 2.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002735/0.1671, allocations: 205.3 kB / 287 MB, free: 2.652 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004767/0.1719, allocations: 3.589 MB / 290.6 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.409e-05/0.172, allocations: 33.06 kB / 290.6 MB, free: 1.531 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.1722, allocations: 97.91 kB / 290.7 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001413/0.1736, allocations: 1.618 MB / 292.3 MB, free: 1.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004098/0.1777, allocations: 2.038 MB / 294.4 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01745/0.1951, allocations: 19.05 MB / 313.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002729/0.1979, allocations: 1.198 MB / 314.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.1982, allocations: 279 kB / 314.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002992/0.2012, allocations: 2.306 MB / 317.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2012, allocations: 43.88 kB / 317.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=153): time 3.296e-06/0.2012, allocations: 0.9688 kB / 317.2 MB, free: 11.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=181): time 0.005721/0.2069, allocations: 3.149 MB / 320.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.207, allocations: 72.66 kB / 320.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.2082, allocations: 1.615 MB / 322.1 MB, free: 7.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.455e-05/0.2083, allocations: 49.64 kB / 322.1 MB, free: 7.324 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008051/0.2091, allocations: 2.14 MB / 324.2 MB, free: 5.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.2095, allocations: 0.6833 MB / 324.9 MB, free: 4.621 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006641/0.2101, allocations: 0.7958 MB / 325.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.2102, allocations: 348.8 kB / 326.1 MB, free: 3.578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005725/0.2108, allocations: 438.4 kB / 326.5 MB, free: 3.141 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.2122, allocations: 2.623 MB / 329.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/0.2151, allocations: 3.882 MB / 333 MB, free: 10.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.704e-05/0.2151, allocations: 20 kB / 333 MB, free: 10.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=555) (initialization): time 0.003512/0.2186, allocations: 2.824 MB / 335.8 MB, free: 7.867 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.2187, allocations: 40 kB / 335.9 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-05/0.2188, allocations: 84 kB / 336 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006298/0.2194, allocations: 289.5 kB / 336.2 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/0.2217, allocations: 1.007 MB / 337.3 MB, free: 6.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.2242, allocations: 2.497 MB / 339.7 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/0.2262, allocations: 171.9 kB / 339.9 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002733/0.2265, allocations: 208 kB / 340.1 MB, free: 3.527 MB / 314.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.001445/0.2279, allocations: 450.7 kB / 340.6 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.2282, allocations: 155.9 kB / 340.7 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.2296, allocations: 0.9152 MB / 341.6 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.533e-05/0.2297, allocations: 31.98 kB / 341.7 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.2297, allocations: 4 kB / 341.7 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.2297, allocations: 7.969 kB / 341.7 MB, free: 1.957 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00493/0.2346, allocations: 3.033 MB / 344.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/0.2347, allocations: 12 kB / 344.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/0.2354, allocations: 255.6 kB / 345 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.2356, allocations: 182.3 kB / 345.1 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005546/0.2362, allocations: 239.2 kB / 345.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.593e-05/0.2362, allocations: 36 kB / 345.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001787/0.238, allocations: 1.886 MB / 347.3 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.238, allocations: 8 kB / 347.3 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001831/0.2399, allocations: 1.42 MB / 348.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.24, allocations: 28 kB / 348.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004677/0.2405, allocations: 35.98 kB / 348.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001809/0.2407, allocations: 117.5 kB / 348.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/0.2408, allocations: 36 kB / 348.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006931/0.2415, allocations: 0.6335 MB / 349.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2415, allocations: 4 kB / 349.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002432/0.2439, allocations: 0.7047 MB / 350.3 MB, free: 9.426 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.0002801/0.2442, allocations: 150.9 kB / 350.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002404/0.2466, allocations: 1.933 MB / 352.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001313/0.2467, allocations: 66.84 kB / 352.4 MB, free: 7.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000844/0.2476, allocations: 0.6799 MB / 353.1 MB, free: 6.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.2493, allocations: 1.904 MB / 355 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.2602, allocations: 5.84 MB / 360.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.2613, allocations: 0.9185 MB / 361.8 MB, free: 13.63 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009469/0.2622, allocations: 304.9 kB / 362.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005711/0.2628, allocations: 365.2 kB / 362.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of SimCode: time 1.143e-06/0.2628, allocations: 4 kB / 362.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of Templates: time 0.03554/0.2983, allocations: 21.31 MB / 383.7 MB, free: 7.867 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.885226053185761]