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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 102.9 kB / 16.4 MB, free: 6.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002086/0.002086, allocations: 199.8 kB / 19.35 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 245 MB, free: 14.99 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.07353/0.07353, allocations: 9.142 MB / 306.4 MB, free: 3.719 MB / 238.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002015/0.002015, allocations: 63.91 kB / 423.4 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1037, allocations: 51.44 MB / 474.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.007415/0.1112, allocations: 5.832 MB / 480.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003961/0.1152, allocations: 2.028 MB / 482.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005426/0.1157, allocations: 23.94 kB / 482.7 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006021/0.1164, allocations: 258.5 kB / 482.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.1187, allocations: 1.101 MB / 484 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.1189, allocations: 35.89 kB / 484.1 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00246/0.1213, allocations: 1.891 MB / 486 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.1216, allocations: 150.7 kB / 486.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.1229, allocations: 0.6459 MB / 486.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.1243, allocations: 0.9927 MB / 487.7 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003004/0.1247, allocations: 176 kB / 487.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.126, allocations: 0.7333 MB / 488.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009883/0.127, allocations: 0.9506 MB / 489.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.1282, allocations: 1.196 MB / 490.8 MB, free: 456 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00463/0.1328, allocations: 4.07 MB / 494.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.1328, allocations: 4 kB / 494.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.1328, allocations: 0 / 494.9 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.499e-05/0.1329, allocations: 0 / 494.9 MB, free: 12.36 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 902 * Number of variables: 902 Notification: Performance of Generate backend data structure: time 0.006208/0.1392, allocations: 2.643 MB / 497.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1392, allocations: 8.031 kB / 497.5 MB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0068/0.146, allocations: 1.692 MB / 499.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/0.1494, allocations: 1.089 MB / 0.4886 GB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.1496, allocations: 98.8 kB / 0.4887 GB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004815/0.1501, allocations: 128.3 kB / 0.4888 GB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009609/0.1597, allocations: 6.501 MB / 0.4951 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.1598, allocations: 7.938 kB / 0.4951 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002212/0.16, allocations: 67.88 kB / 0.4952 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002791/0.1628, allocations: 1.628 MB / 0.4968 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/0.1739, allocations: 6.051 MB / 0.5027 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2903/0.4642, allocations: 18.17 MB / 0.5205 GB, free: 30.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.4668, allocations: 1.546 MB / 0.522 GB, free: 30.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008203/0.4677, allocations: 0.5329 MB / 0.5225 GB, free: 30.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003737/0.4714, allocations: 2.148 MB / 0.5246 GB, free: 29.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.4715, allocations: 40.91 kB / 0.5246 GB, free: 29.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 3.356e-06/0.4715, allocations: 3.281 kB / 0.5246 GB, free: 29.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=80): time 0.003609/0.4751, allocations: 1.501 MB / 0.5261 GB, free: 28.49 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.4751, allocations: 61.7 kB / 0.5262 GB, free: 28.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/0.4781, allocations: 2.013 MB / 0.5281 GB, free: 27.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.203e-05/0.4782, allocations: 32.22 kB / 0.5281 GB, free: 27.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008915/0.4791, allocations: 1.715 MB / 0.5298 GB, free: 26.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.4793, allocations: 337.2 kB / 0.5301 GB, free: 26.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006777/0.48, allocations: 0.5694 MB / 0.5307 GB, free: 25.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4801, allocations: 359.4 kB / 0.531 GB, free: 25.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.4816, allocations: 0.9281 MB / 0.532 GB, free: 25.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002036/0.4837, allocations: 2.573 MB / 0.5345 GB, free: 22.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.4872, allocations: 3.722 MB / 0.5381 GB, free: 19.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.66e-05/0.4872, allocations: 17.25 kB / 0.5381 GB, free: 19.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.005246/0.4925, allocations: 3.44 MB / 0.5415 GB, free: 18.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.296e-05/0.4925, allocations: 33.83 kB / 0.5415 GB, free: 18.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.271e-05/0.4926, allocations: 60.38 kB / 0.5416 GB, free: 18.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.899e-05/0.4927, allocations: 76.16 kB / 0.5416 GB, free: 18.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.4942, allocations: 0.6211 MB / 0.5422 GB, free: 18.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.347e-05/0.4943, allocations: 116.1 kB / 0.5424 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/0.4962, allocations: 419.1 kB / 0.5428 GB, free: 17.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/0.4964, allocations: 171 kB / 0.5429 GB, free: 17.85 MB / 382.1 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[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 (334): * Single equations (assignments): 330 * 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.001692/0.4981, allocations: 1.309 MB / 0.5442 GB, free: 17.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.4983, allocations: 161.5 kB / 0.5443 GB, free: 17.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.4998, allocations: 1.073 MB / 0.5454 GB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.823e-05/0.4999, allocations: 19.02 kB / 0.5454 GB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.5, allocations: 0.6562 kB / 0.5454 GB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.5, allocations: 2.672 kB / 0.5454 GB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005635/0.5056, allocations: 3.582 MB / 0.5489 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5056, allocations: 0 / 0.5489 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.5061, allocations: 108 kB / 0.549 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-06/0.5061, allocations: 3.406 kB / 0.549 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.5062, allocations: 22.41 kB / 0.549 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.5062, allocations: 4.375 kB / 0.549 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5062, allocations: 4.062 kB / 0.5491 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.508, allocations: 1.745 MB / 0.5508 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.5084, allocations: 259.9 kB / 0.551 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.5085, allocations: 11.98 kB / 0.551 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.509, allocations: 31.97 kB / 0.551 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/0.5091, allocations: 40.12 kB / 0.5511 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.463e-05/0.5092, allocations: 30.95 kB / 0.5511 GB, free: 12.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001478/0.5107, allocations: 1.31 MB / 0.5524 GB, free: 11.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5107, allocations: 0 / 0.5524 GB, free: 11.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002118/0.5128, allocations: 0.6348 MB / 0.553 GB, free: 10.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (55): * Single equations (assignments): 51 * 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.000291/0.5131, allocations: 146.7 kB / 0.5532 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.5158, allocations: 2.013 MB / 0.5551 GB, free: 8.836 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5158, allocations: 3.938 kB / 0.5551 GB, free: 8.832 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005105/0.5164, allocations: 478.4 kB / 0.5556 GB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.5177, allocations: 290 kB / 0.5559 GB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007505/0.5252, allocations: 4.992 MB / 0.5607 GB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/0.527, allocations: 2.164 MB / 0.5628 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001839/0.5289, allocations: 0.8852 MB / 0.5637 GB, free: 8 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.5293, allocations: 124.1 kB / 0.5638 GB, free: 15.89 MB / 398.1 MB Notification: Performance of SimCode: time 3.958e-06/0.5293, allocations: 4 kB / 0.5638 GB, free: 15.88 MB / 398.1 MB Notification: Performance of Templates: time 0.03827/0.5676, allocations: 18.1 MB / 0.5815 GB, free: 13.88 MB / 414.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.447922711260617]