Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.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.001848/0.001848, allocations: 84.06 kB / 19.44 MB, free: 332 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.002005/0.002005, allocations: 165.7 kB / 22.76 MB, free: 1.656 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.614/1.614, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.05363/0.05363, allocations: 7.181 MB / 266.7 MB, free: 6.098 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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 338.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.766e-05/2.896e-05, allocations: 4.844 kB / 338.1 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.01002/0.01005, allocations: 6.842 MB / 345 MB, free: 4.895 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005396/0.01545, allocations: 2.363 MB / 347.3 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006631/0.01611, allocations: 31.94 kB / 347.4 MB, free: 2.492 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008091/0.01692, allocations: 325.9 kB / 347.7 MB, free: 2.172 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00341/0.02033, allocations: 1.365 MB / 349 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.02064, allocations: 79.77 kB / 349.1 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002994/0.02363, allocations: 2.223 MB / 351.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.02465, allocations: 0.6146 MB / 352 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001733/0.02638, allocations: 1.177 MB / 353.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002106/0.02849, allocations: 1.165 MB / 354.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003839/0.02887, allocations: 204 kB / 354.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.03036, allocations: 0.7879 MB / 355.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001196/0.03155, allocations: 1.114 MB / 356.4 MB, free: 9.418 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000998/0.03255, allocations: 0.7046 MB / 357.1 MB, free: 8.711 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005867/0.03842, allocations: 4.505 MB / 361.6 MB, free: 4.191 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.03842, allocations: 0 / 361.6 MB, free: 4.191 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.03842, allocations: 0 / 361.6 MB, free: 4.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.037e-05/0.03848, allocations: 0 / 361.6 MB, free: 4.191 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1025 * Number of variables: 1025 Notification: Performance of Generate backend data structure: time 0.008604/0.04709, allocations: 4.079 MB / 365.7 MB, free: 60 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.04713, allocations: 8.625 kB / 365.7 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007376/0.0545, allocations: 2.117 MB / 367.8 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002815/0.05732, allocations: 1.1 MB / 368.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.05751, allocations: 127.4 kB / 369 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000529/0.05804, allocations: 168.2 kB / 369.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008272/0.06631, allocations: 3.994 MB / 373.2 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.043e-05/0.06637, allocations: 20.02 kB / 373.2 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002541/0.06662, allocations: 79.81 kB / 373.3 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003234/0.06986, allocations: 1.746 MB / 375 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007859/0.07772, allocations: 2.508 MB / 377.6 MB, free: 3.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0467/0.1244, allocations: 33.34 MB / 410.9 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004533/0.1289, allocations: 0.9407 MB / 411.8 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000801/0.1297, allocations: 301.4 kB / 412.1 MB, free: 15.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005246/0.135, allocations: 1.993 MB / 414.1 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.135, allocations: 54.33 kB / 414.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=111): time 2.966e-06/0.1351, allocations: 4 kB / 414.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=125): time 0.01043/0.1455, allocations: 3.582 MB / 417.8 MB, free: 9.637 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.1455, allocations: 72.22 kB / 417.8 MB, free: 9.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003854/0.1494, allocations: 2.339 MB / 420.2 MB, free: 7.184 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.092e-05/0.1495, allocations: 41.7 kB / 420.2 MB, free: 7.137 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001921/0.1514, allocations: 2.144 MB / 422.4 MB, free: 4.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006251/0.152, allocations: 0.5352 MB / 422.9 MB, free: 4.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/0.1535, allocations: 0.8858 MB / 423.8 MB, free: 3.531 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003172/0.1538, allocations: 0.5277 MB / 424.3 MB, free: 2.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.155, allocations: 454.3 kB / 424.7 MB, free: 2.551 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004177/0.1592, allocations: 3.337 MB / 428.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006033/0.1652, allocations: 4.109 MB / 432.2 MB, free: 8.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-05/0.1653, allocations: 20 kB / 432.2 MB, free: 8.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=438) (initialization): time 0.006385/0.1717, allocations: 2.982 MB / 435.2 MB, free: 5.586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.02e-05/0.1717, allocations: 32 kB / 435.2 MB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.562e-05/0.1718, allocations: 68 kB / 435.3 MB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.1724, allocations: 188 kB / 435.5 MB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/0.1747, allocations: 0.733 MB / 436.2 MB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003679/0.1784, allocations: 2.713 MB / 438.9 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.1807, allocations: 163.9 kB / 439.1 MB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000477/0.1812, allocations: 200 kB / 439.3 MB, free: 1.371 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (403): * Single equations (assignments): 398 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00148/0.1827, allocations: 0.5027 MB / 439.8 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.1831, allocations: 194.9 kB / 440 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1438/0.3269, allocations: 0.8727 MB / 440.8 MB, free: 128.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001146/0.327, allocations: 25.27 kB / 440.9 MB, free: 128.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.327, allocations: 9.719 kB / 440.9 MB, free: 128.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.327, allocations: 9.484 kB / 440.9 MB, free: 128.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008313/0.3353, allocations: 4.309 MB / 445.2 MB, free: 128.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/0.3354, allocations: 6.094 kB / 445.2 MB, free: 128.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006478/0.336, allocations: 162.7 kB / 445.4 MB, free: 128.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003178/0.3363, allocations: 86.39 kB / 445.4 MB, free: 128.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/0.3364, allocations: 32.27 kB / 445.5 MB, free: 128.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.3378, allocations: 2.108 MB / 447.6 MB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.3378, allocations: 10.94 kB / 447.6 MB, free: 126.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.3403, allocations: 1.46 MB / 449.1 MB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/0.3408, allocations: 150.3 kB / 449.2 MB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.341, allocations: 28.62 kB / 449.2 MB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.3416, allocations: 54.48 kB / 449.3 MB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.3417, allocations: 75.52 kB / 449.4 MB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.983e-05/0.3418, allocations: 48.44 kB / 449.4 MB, free: 125.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00138/0.3432, allocations: 0.9608 MB / 450.4 MB, free: 125.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3432, allocations: 0 / 450.4 MB, free: 125.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002386/0.3456, allocations: 0.5586 MB / 450.9 MB, free: 125.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (revolute.phi,revolute.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 (93): * Single equations (assignments): 88 * 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 {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002843/0.3458, allocations: 152.5 kB / 451.1 MB, free: 125.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003255/0.3491, allocations: 1.956 MB / 453 MB, free: 124.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.3491, allocations: 6.438 kB / 453 MB, free: 124.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008433/0.3499, allocations: 0.5946 MB / 453.6 MB, free: 124.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.3512, allocations: 236.5 kB / 453.9 MB, free: 124.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008413/0.3596, allocations: 4.781 MB / 458.6 MB, free: 121.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/0.3613, allocations: 1.614 MB / 460.3 MB, free: 121.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00181/0.3631, allocations: 0.8649 MB / 461.1 MB, free: 121.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.3635, allocations: 134.4 kB / 461.3 MB, free: 121.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.254e-06/0.3635, allocations: 0 / 461.3 MB, free: 121.3 MB / 410.7 MB Notification: Performance of Templates: time 0.02977/0.3932, allocations: 17.01 MB / 478.3 MB, free: 119.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.Pendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.Pendulum -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.469806122011505]