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.0006928/0.0006928, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000964/0.001657, 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.0007077/0.0007077, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000969/0.001677, 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.8621/0.8621, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.082/0.9441, 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.03215/0.03215, allocations: 7.177 MB / 251.3 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009586/0.04173, allocations: 2.557 MB / 253.9 MB, free: 5.211 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.292e-06/1.292e-06, allocations: 0 / 255.2 MB, free: 3.922 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.588e-05, allocations: 2.312 kB / 255.2 MB, free: 3.918 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.01237/0.01239, allocations: 6.861 MB / 262 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006777/0.01917, allocations: 2.44 MB / 264.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004748/0.01964, allocations: 31.88 kB / 264.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005314/0.02017, allocations: 345.9 kB / 264.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.02224, allocations: 1.346 MB / 266.2 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.02245, allocations: 79.83 kB / 266.3 MB, free: 8.773 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001989/0.02444, allocations: 2.229 MB / 268.5 MB, free: 6.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008164/0.02525, allocations: 0.6347 MB / 269.1 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.02687, allocations: 1.215 MB / 270.3 MB, free: 4.668 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.02833, allocations: 1.106 MB / 271.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.02865, allocations: 204 kB / 271.6 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.02977, allocations: 0.7956 MB / 272.4 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000714/0.03049, allocations: 1.005 MB / 273.4 MB, free: 1.555 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000607/0.03109, allocations: 0.5957 MB / 274 MB, free: 0.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1088/0.1399, allocations: 2.745 MB / 276.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.212e-05/0.1399, allocations: 1.031 kB / 276.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1399, allocations: 0 / 276.8 MB, free: 5.695 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.47e-05/0.14, allocations: 0.75 kB / 276.8 MB, free: 5.695 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: 1025 * Number of variables: 1025 Notification: Performance of Generate backend data structure: time 0.004448/0.1444, allocations: 3.48 MB / 280.3 MB, free: 4.395 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1445, allocations: 10.73 kB / 280.3 MB, free: 4.395 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.1472, allocations: 0.9459 MB / 281.2 MB, free: 4.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.1483, allocations: 0.8837 MB / 282.1 MB, free: 4.055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/0.1483, allocations: 128.3 kB / 282.2 MB, free: 4.051 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.1486, allocations: 157.3 kB / 282.4 MB, free: 4.051 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.1518, allocations: 2.963 MB / 285.3 MB, free: 3.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.172e-05/0.1518, allocations: 17.92 kB / 285.4 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.152, allocations: 75.7 kB / 285.4 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001297/0.1533, allocations: 1.47 MB / 286.9 MB, free: 3.145 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/0.1561, allocations: 1.694 MB / 288.6 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.1667, allocations: 15.45 MB / 304 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.1681, allocations: 0.7834 MB / 304.8 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.1684, allocations: 178.2 kB / 305 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00188/0.1702, allocations: 1.645 MB / 306.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.1703, allocations: 44.06 kB / 306.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=111): time 2.424e-06/0.1703, allocations: 0.75 kB / 306.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=125): time 0.004524/0.1748, allocations: 2.972 MB / 309.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.1748, allocations: 64.41 kB / 309.7 MB, free: 3.285 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000865/0.1757, allocations: 1.364 MB / 311.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.1757, allocations: 42.55 kB / 311.1 MB, free: 2.125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006508/0.1764, allocations: 1.881 MB / 313 MB, free: 324 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.1766, allocations: 487.3 kB / 313.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005004/0.1771, allocations: 0.6351 MB / 314.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.1772, allocations: 346.3 kB / 314.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.1776, allocations: 352.2 kB / 314.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.1787, allocations: 2.143 MB / 317 MB, free: 11.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.1809, allocations: 3.161 MB / 320.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/0.181, allocations: 20 kB / 320.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=439) (initialization): time 0.002279/0.1832, allocations: 2.238 MB / 322.4 MB, free: 5.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.1833, allocations: 32 kB / 322.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.444e-05/0.1833, allocations: 75.98 kB / 322.5 MB, free: 5.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.1836, allocations: 166.1 kB / 322.6 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.1848, allocations: 0.8071 MB / 323.4 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.186, allocations: 1.93 MB / 325.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008681/0.1869, allocations: 132 kB / 325.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.187, allocations: 168 kB / 325.7 MB, free: 2.211 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 299 * 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 (404): * Single equations (assignments): 399 * 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.0006199/0.1877, allocations: 381.4 kB / 326 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.1878, allocations: 111.9 kB / 326.2 MB, free: 1.715 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007294/0.1885, allocations: 0.6223 MB / 326.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/0.1886, allocations: 12 kB / 326.8 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1886, allocations: 4.625 kB / 326.8 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.1886, allocations: 11.91 kB / 326.8 MB, free: 1.055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/0.1912, allocations: 2.298 MB / 329.1 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/0.1912, allocations: 10.34 kB / 329.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.1916, allocations: 175.9 kB / 329.3 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.1917, allocations: 142.8 kB / 329.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/0.1919, allocations: 143.5 kB / 329.6 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.192, allocations: 27.98 kB / 329.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.1931, allocations: 1.416 MB / 331 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.942e-06/0.1931, allocations: 8 kB / 331 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001291/0.1944, allocations: 1.01 MB / 332 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/0.1945, allocations: 20 kB / 332 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.1949, allocations: 31.92 kB / 332.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.195, allocations: 72.02 kB / 332.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.1951, allocations: 35.98 kB / 332.2 MB, free: 11.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005736/0.1956, allocations: 0.5269 MB / 332.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1956, allocations: 4 kB / 332.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001875/0.1975, allocations: 0.5584 MB / 333.3 MB, free: 10.62 MB / 314.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.000246/0.1978, allocations: 131.3 kB / 333.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.1995, allocations: 1.484 MB / 334.9 MB, free: 9.148 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001219/0.1996, allocations: 55.92 kB / 334.9 MB, free: 9.086 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005836/0.2002, allocations: 475.2 kB / 335.4 MB, free: 8.629 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.2016, allocations: 1.585 MB / 337 MB, free: 6.848 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008671/0.2103, allocations: 4.893 MB / 341.9 MB, free: 1.883 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009175/0.2112, allocations: 0.7964 MB / 342.7 MB, free: 1.059 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007287/0.212, allocations: 248.2 kB / 342.9 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004506/0.2124, allocations: 297.3 kB / 343.2 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2124, allocations: 0 / 343.2 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of Templates: time 0.03027/0.2427, allocations: 16.12 MB / 359.3 MB, free: 0.6172 MB / 330.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: 2.870709152892232]