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.001548/0.001548, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001847/0.001847, allocations: 214 kB / 22.99 MB, free: 4.945 MB / 14.72 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.05946/0.05946, allocations: 9.236 MB / 322.4 MB, free: 9.867 MB / 254.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/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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.91 kB / 448.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.09778, allocations: 55.47 MB / 0.4926 GB, free: 6.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.006856/0.1046, allocations: 5.224 MB / 0.4977 GB, free: 1.305 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003822/0.1085, allocations: 1.974 MB / 0.4996 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006648/0.1091, allocations: 23.94 kB / 0.4996 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007735/0.1099, allocations: 274.3 kB / 0.4999 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.1125, allocations: 1.133 MB / 0.501 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.1127, allocations: 39.95 kB / 0.501 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002146/0.1148, allocations: 1.872 MB / 0.5028 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.115, allocations: 66.94 kB / 0.5029 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007865/0.1158, allocations: 0.6498 MB / 0.5035 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.1172, allocations: 1.063 MB / 0.5046 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003139/0.1175, allocations: 176 kB / 0.5047 GB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.1186, allocations: 0.6708 MB / 0.5054 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008645/0.1195, allocations: 0.9542 MB / 0.5063 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008484/0.1203, allocations: 0.8071 MB / 0.5071 GB, free: 7.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004217/0.1245, allocations: 4.058 MB / 0.5111 GB, free: 3.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1245, allocations: 0 / 0.5111 GB, free: 3.488 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1245, allocations: 0 / 0.5111 GB, free: 3.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.197e-05/0.1246, allocations: 0 / 0.5111 GB, free: 3.488 MB / 382.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.005216/0.1298, allocations: 2.561 MB / 0.5136 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1299, allocations: 12.03 kB / 0.5136 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1857/0.3156, allocations: 1.682 MB / 0.5152 GB, free: 24.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.3175, allocations: 1.037 MB / 0.5163 GB, free: 24.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-05/0.3176, allocations: 101.6 kB / 0.5163 GB, free: 24.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002683/0.3178, allocations: 132.8 kB / 0.5165 GB, free: 24.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007553/0.3254, allocations: 6.495 MB / 0.5228 GB, free: 22.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-05/0.3254, allocations: 17.55 kB / 0.5228 GB, free: 22.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001913/0.3256, allocations: 67.84 kB / 0.5229 GB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002462/0.3281, allocations: 1.623 MB / 0.5245 GB, free: 22.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01023/0.3383, allocations: 6.038 MB / 0.5304 GB, free: 20.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02134/0.3597, allocations: 16.21 MB / 0.5462 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002114/0.3618, allocations: 1.048 MB / 0.5472 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006495/0.3624, allocations: 0.4904 MB / 0.5477 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00297/0.3654, allocations: 1.539 MB / 0.5492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.3654, allocations: 39 kB / 0.5493 GB, free: 7.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 3.126e-06/0.3654, allocations: 0 / 0.5493 GB, free: 7.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=80): time 0.002511/0.3679, allocations: 1.471 MB / 0.5507 GB, free: 5.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.368, allocations: 55.84 kB / 0.5507 GB, free: 5.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.3699, allocations: 1.72 MB / 0.5524 GB, free: 4.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.3699, allocations: 37.69 kB / 0.5525 GB, free: 4.078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000644/0.3706, allocations: 1.736 MB / 0.5542 GB, free: 2.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.3708, allocations: 345.4 kB / 0.5545 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005845/0.3714, allocations: 0.5679 MB / 0.555 GB, free: 1.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.3714, allocations: 337.9 kB / 0.5554 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.3726, allocations: 0.9188 MB / 0.5563 GB, free: 156 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002912/0.3755, allocations: 2.574 MB / 0.5588 GB, free: 12.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004631/0.3801, allocations: 3.736 MB / 0.5624 GB, free: 8.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.435e-05/0.3802, allocations: 16 kB / 0.5624 GB, free: 8.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.006082/0.3863, allocations: 3.399 MB / 0.5658 GB, free: 4.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/0.3863, allocations: 32 kB / 0.5658 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.635e-05/0.3864, allocations: 56.88 kB / 0.5658 GB, free: 4.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-05/0.3865, allocations: 76 kB / 0.5659 GB, free: 4.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/0.3884, allocations: 0.62 MB / 0.5665 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001098/0.3885, allocations: 111.6 kB / 0.5666 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/0.3905, allocations: 389.3 kB / 0.567 GB, free: 3.523 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002927/0.3908, allocations: 171.9 kB / 0.5672 GB, free: 3.355 MB / 398.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.002089/0.3929, allocations: 1.308 MB / 0.5684 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.3931, allocations: 131.1 kB / 0.5686 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.395, allocations: 1.04 MB / 0.5696 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-05/0.3951, allocations: 19.98 kB / 0.5696 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3951, allocations: 0 / 0.5696 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3951, allocations: 3.984 kB / 0.5696 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006213/0.4014, allocations: 2.757 MB / 0.5723 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.4014, allocations: 4.125 kB / 0.5723 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005069/0.4019, allocations: 103.9 kB / 0.5724 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/0.4019, allocations: 7.938 kB / 0.5724 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.4019, allocations: 19.98 kB / 0.5724 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.4019, allocations: 4 kB / 0.5724 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.4019, allocations: 3.938 kB / 0.5724 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/0.4046, allocations: 1.708 MB / 0.5741 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.405, allocations: 143.5 kB / 0.5742 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.4052, allocations: 15.94 kB / 0.5742 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/0.4057, allocations: 35.89 kB / 0.5743 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.982e-05/0.4058, allocations: 46.11 kB / 0.5743 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/0.4059, allocations: 24 kB / 0.5744 GB, free: 11.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001763/0.4076, allocations: 1.012 MB / 0.5753 GB, free: 10.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4076, allocations: 0 / 0.5753 GB, free: 10.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002422/0.41, allocations: 0.6539 MB / 0.576 GB, free: 10.21 MB / 414.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.0003276/0.4104, allocations: 139 kB / 0.5761 GB, free: 10.07 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003508/0.4139, allocations: 1.935 MB / 0.578 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4139, allocations: 0.625 kB / 0.578 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007065/0.4146, allocations: 454.4 kB / 0.5784 GB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.4157, allocations: 185 kB / 0.5786 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00938/0.4251, allocations: 5.253 MB / 0.5837 GB, free: 2.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/0.4277, allocations: 1.613 MB / 0.5853 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.4282, allocations: 131.4 kB / 0.5854 GB, free: 476 kB / 414.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4282, allocations: 4 kB / 0.5854 GB, free: 472 kB / 414.1 MB Notification: Performance of Templates: time 0.04603/0.4743, allocations: 29.82 MB / 0.6146 GB, free: 2.785 MB / 446.1 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.FreeBody.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.902234381064773] Failed to read output from testmodel.py, exit status != 0: 0.48311679856851697 0.49724735699999995 0.369719502 Calling exit ...