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.001795/0.001795, allocations: 88.72 kB / 19.44 MB, free: 356 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.002291/0.002291, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.454/1.454, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.05001/0.05001, allocations: 7.174 MB / 266.7 MB, free: 6.078 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.293e-06/1.293e-06, allocations: 0 / 338.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.224e-05, allocations: 6.25 kB / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.005303/0.005325, allocations: 6.289 MB / 344.4 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003444/0.008769, allocations: 2.291 MB / 346.7 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000502/0.009271, allocations: 35.81 kB / 346.7 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.009851, allocations: 321.9 kB / 347.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.01194, allocations: 1.361 MB / 348.4 MB, free: 236 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.01214, allocations: 79.75 kB / 348.5 MB, free: 156 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.01483, allocations: 2.221 MB / 350.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009609/0.01579, allocations: 0.6263 MB / 351.3 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.01738, allocations: 1.177 MB / 352.5 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.01909, allocations: 1.157 MB / 353.7 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003167/0.0194, allocations: 204 kB / 353.9 MB, free: 10.75 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.02092, allocations: 0.7879 MB / 354.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.0221, allocations: 1.114 MB / 355.8 MB, free: 8.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009554/0.02306, allocations: 0.7007 MB / 356.5 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005815/0.02888, allocations: 4.501 MB / 361 MB, free: 3.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.02888, allocations: 0 / 361 MB, free: 3.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.02888, allocations: 0 / 361 MB, free: 3.621 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.239e-05/0.02896, allocations: 0 / 361 MB, free: 3.621 MB / 282.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.008203/0.03717, allocations: 3.374 MB / 364.4 MB, free: 204 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.03721, allocations: 8.625 kB / 364.4 MB, free: 196 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007581/0.04479, allocations: 2.191 MB / 366.6 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.04744, allocations: 1.16 MB / 367.7 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.04758, allocations: 127.4 kB / 367.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004162/0.048, allocations: 160.2 kB / 368 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/0.06017, allocations: 7.211 MB / 375.2 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-05/0.06023, allocations: 23.95 kB / 375.2 MB, free: 4.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000279/0.06051, allocations: 79.81 kB / 375.3 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003365/0.06388, allocations: 1.742 MB / 377 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.07743, allocations: 6.541 MB / 383.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03139/0.1088, allocations: 19.25 MB / 402.8 MB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004217/0.113, allocations: 1.606 MB / 404.4 MB, free: 7.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.1143, allocations: 0.6401 MB / 405.1 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004436/0.1187, allocations: 2.069 MB / 407.2 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.1188, allocations: 39.56 kB / 407.2 MB, free: 4.52 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 2.595e-06/0.1188, allocations: 0 / 407.2 MB, free: 4.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=125): time 0.1182/0.237, allocations: 5.615 MB / 412.8 MB, free: 77.83 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.2371, allocations: 62.59 kB / 412.9 MB, free: 77.77 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.2393, allocations: 1.912 MB / 414.8 MB, free: 77.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.124e-05/0.2394, allocations: 41.83 kB / 414.8 MB, free: 77.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008218/0.2402, allocations: 1.929 MB / 416.7 MB, free: 75.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.2405, allocations: 489.2 kB / 417.2 MB, free: 75.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008057/0.2413, allocations: 0.6756 MB / 417.9 MB, free: 75.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.2414, allocations: 336.4 kB / 418.2 MB, free: 74.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001647/0.2431, allocations: 1.113 MB / 419.3 MB, free: 74.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002227/0.2453, allocations: 2.975 MB / 422.3 MB, free: 71.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/0.2487, allocations: 4.404 MB / 426.7 MB, free: 67.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.492e-05/0.2487, allocations: 15.38 kB / 426.7 MB, free: 67.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=438) (initialization): time 0.005501/0.2542, allocations: 4.313 MB / 431.1 MB, free: 66.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.2543, allocations: 32 kB / 431.1 MB, free: 66.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.075e-05/0.2543, allocations: 68.84 kB / 431.1 MB, free: 65.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005007/0.2548, allocations: 217.6 kB / 431.4 MB, free: 65.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.2567, allocations: 0.7334 MB / 432.1 MB, free: 65.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.259, allocations: 2.576 MB / 434.7 MB, free: 62.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.261, allocations: 173.2 kB / 434.8 MB, free: 62.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002113/0.2612, allocations: 199.7 kB / 435 MB, free: 62.36 MB / 330.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.001548/0.2627, allocations: 1.428 MB / 436.5 MB, free: 61.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.263, allocations: 198.9 kB / 436.7 MB, free: 60.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.2653, allocations: 1.62 MB / 438.3 MB, free: 59.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001024/0.2654, allocations: 23.98 kB / 438.3 MB, free: 59.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2654, allocations: 0 / 438.3 MB, free: 59.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.2654, allocations: 7.969 kB / 438.3 MB, free: 59.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006504/0.2719, allocations: 4.125 MB / 442.4 MB, free: 55.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.2719, allocations: 4 kB / 442.4 MB, free: 55.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.2725, allocations: 167.7 kB / 442.6 MB, free: 55.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003292/0.2729, allocations: 136 kB / 442.7 MB, free: 54.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-05/0.2729, allocations: 24 kB / 442.8 MB, free: 54.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.2745, allocations: 2.038 MB / 444.8 MB, free: 52.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2745, allocations: 4 kB / 444.8 MB, free: 52.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002966/0.2774, allocations: 2.652 MB / 447.5 MB, free: 50.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.2777, allocations: 158.8 kB / 447.6 MB, free: 49.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/0.2779, allocations: 20 kB / 447.6 MB, free: 49.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006239/0.2786, allocations: 60.86 kB / 447.7 MB, free: 49.81 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.2787, allocations: 82.94 kB / 447.8 MB, free: 49.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.2788, allocations: 36 kB / 447.8 MB, free: 49.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001334/0.2801, allocations: 1.123 MB / 448.9 MB, free: 48.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2801, allocations: 0 / 448.9 MB, free: 48.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002445/0.2825, allocations: 0.5584 MB / 449.5 MB, free: 48.02 MB / 330.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.0002678/0.2828, allocations: 150.9 kB / 449.6 MB, free: 47.87 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003292/0.2861, allocations: 2.596 MB / 452.2 MB, free: 45.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2861, allocations: 0 / 452.2 MB, free: 45.28 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009092/0.287, allocations: 0.7942 MB / 453 MB, free: 44.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.2881, allocations: 247.5 kB / 453.3 MB, free: 44.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007093/0.2952, allocations: 5.686 MB / 458.9 MB, free: 38.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/0.297, allocations: 1.796 MB / 460.7 MB, free: 36.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001862/0.2989, allocations: 0.999 MB / 461.7 MB, free: 35.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.2991, allocations: 134.5 kB / 461.9 MB, free: 35.52 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.2991, allocations: 0 / 461.9 MB, free: 35.52 MB / 330.7 MB Notification: Performance of Templates: time 0.02555/0.3247, allocations: 17.05 MB / 478.9 MB, free: 18.75 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.011709425947629]