Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.FreeBody.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.0009653/0.0009653, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.00163/0.00163, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9723/0.9723, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.0578/0.0578, allocations: 7.182 MB / 268.2 MB, free: 5.906 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.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") translateModel(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 340.1 MB, free: 11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.26e-05, allocations: 4.609 kB / 340.1 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.006851/0.006874, allocations: 5.656 MB / 345.7 MB, free: 5.309 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003919/0.01079, allocations: 2.06 MB / 347.8 MB, free: 3.238 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006727/0.01146, allocations: 23.94 kB / 347.8 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006827/0.01215, allocations: 274.3 kB / 348.1 MB, free: 2.945 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.01457, allocations: 1.186 MB / 349.3 MB, free: 1.754 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.0147, allocations: 39.89 kB / 349.3 MB, free: 1.715 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002088/0.01679, allocations: 1.937 MB / 351.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.01702, allocations: 55.05 kB / 351.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001511/0.01853, allocations: 1.005 MB / 352.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00158/0.02011, allocations: 1.056 MB / 353.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003466/0.02046, allocations: 180 kB / 353.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008304/0.02129, allocations: 0.7254 MB / 354.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005867/0.02187, allocations: 0.9894 MB / 355.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000493/0.02237, allocations: 0.615 MB / 355.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.02441, allocations: 2.646 MB / 358.5 MB, free: 8.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.02442, allocations: 0 / 358.5 MB, free: 8.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02442, allocations: 0 / 358.5 MB, free: 8.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.979e-05/0.02446, allocations: 0 / 358.5 MB, free: 8.48 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: 910 * Number of variables: 910 Notification: Performance of Generate backend data structure: time 0.003169/0.02763, allocations: 2.816 MB / 361.3 MB, free: 5.613 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.02766, allocations: 8.625 kB / 361.3 MB, free: 5.605 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002827/0.03049, allocations: 1.103 MB / 362.5 MB, free: 4.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.03155, allocations: 0.9486 MB / 363.4 MB, free: 3.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/0.03162, allocations: 110.8 kB / 363.5 MB, free: 3.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.03182, allocations: 128.3 kB / 363.6 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002992/0.03481, allocations: 2.714 MB / 366.3 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.03485, allocations: 16.02 kB / 366.4 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.035, allocations: 68.25 kB / 366.4 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001347/0.03634, allocations: 1.433 MB / 367.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003062/0.03941, allocations: 1.396 MB / 369.3 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01419/0.0536, allocations: 17.2 MB / 386.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.05474, allocations: 0.4923 MB / 387 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.05495, allocations: 150.2 kB / 387.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002052/0.057, allocations: 1.333 MB / 388.4 MB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.05703, allocations: 37.89 kB / 388.5 MB, free: 9.633 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 2.946e-06/0.05703, allocations: 0 / 388.5 MB, free: 9.633 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.001661/0.05869, allocations: 0.6873 MB / 389.2 MB, free: 8.941 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.529e-05/0.05879, allocations: 59.91 kB / 389.2 MB, free: 8.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.06038, allocations: 1.491 MB / 390.7 MB, free: 7.371 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.06042, allocations: 37.7 kB / 390.7 MB, free: 7.328 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.0616, allocations: 1.836 MB / 392.6 MB, free: 5.473 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002888/0.06189, allocations: 369.2 kB / 392.9 MB, free: 5.109 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007029/0.06259, allocations: 0.6371 MB / 393.6 MB, free: 4.457 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.06274, allocations: 0.508 MB / 394.1 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/0.06317, allocations: 225.3 kB / 394.3 MB, free: 3.719 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.06519, allocations: 2.68 MB / 397 MB, free: 15.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/0.06807, allocations: 3.233 MB / 400.2 MB, free: 11.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.89e-05/0.06811, allocations: 20 kB / 400.2 MB, free: 11.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=368) (initialization): time 0.003101/0.07121, allocations: 2.139 MB / 402.4 MB, free: 9.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.232e-05/0.07125, allocations: 32 kB / 402.4 MB, free: 9.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-05/0.07131, allocations: 56 kB / 402.5 MB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.687e-05/0.07138, allocations: 76.69 kB / 402.5 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.07273, allocations: 0.6082 MB / 403.1 MB, free: 8.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.374e-05/0.07282, allocations: 123.5 kB / 403.3 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.07419, allocations: 373.2 kB / 403.6 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001825/0.07437, allocations: 152.1 kB / 403.8 MB, free: 7.984 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 3 (body.sphereColor[1],body.sphereColor[2],body.sphereColor[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (342): * Single equations (assignments): 338 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007266/0.0751, allocations: 371.1 kB / 404.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.07529, allocations: 151.1 kB / 404.3 MB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007487/0.07603, allocations: 492.8 kB / 404.8 MB, free: 6.973 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.383e-05/0.0761, allocations: 15.98 kB / 404.8 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.0761, allocations: 0 / 404.8 MB, free: 6.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.07611, allocations: 11.98 kB / 404.8 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.07958, allocations: 1.948 MB / 406.7 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.07959, allocations: 3.938 kB / 406.7 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/0.08019, allocations: 103.8 kB / 406.9 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.0802, allocations: 12.22 kB / 406.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.225e-05/0.08024, allocations: 23.98 kB / 406.9 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.08025, allocations: 4 kB / 406.9 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.08025, allocations: 4 kB / 406.9 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009718/0.08122, allocations: 0.8137 MB / 407.7 MB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.08142, allocations: 154.8 kB / 407.9 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.08153, allocations: 16 kB / 407.9 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.08184, allocations: 8 kB / 407.9 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/0.08191, allocations: 56.36 kB / 407.9 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.08195, allocations: 23.98 kB / 408 MB, free: 3.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006408/0.08259, allocations: 0.6216 MB / 408.6 MB, free: 3.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.08259, allocations: 4 kB / 408.6 MB, free: 3.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001926/0.08452, allocations: 0.6734 MB / 409.3 MB, free: 2.348 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.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 (60): * Single equations (assignments): 56 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002404/0.08476, allocations: 146.9 kB / 409.4 MB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.08638, allocations: 1.112 MB / 410.5 MB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.08639, allocations: 0 / 410.5 MB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000279/0.08667, allocations: 198.1 kB / 410.7 MB, free: 0.8906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.08743, allocations: 205.1 kB / 410.9 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.09336, allocations: 4.103 MB / 415 MB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/0.09412, allocations: 0.7222 MB / 415.7 MB, free: 11.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007176/0.09484, allocations: 213.4 kB / 415.9 MB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/0.09526, allocations: 298.1 kB / 416.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.373e-06/0.09526, allocations: 4 kB / 416.2 MB, free: 11.24 MB / 394.7 MB Notification: Performance of Templates: time 0.02471/0.12, allocations: 14.51 MB / 430.8 MB, free: 12.92 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.FreeBody.sim & ./PlanarMechanics_PlanarMechanics.Examples.FreeBody -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.480095613282174]