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.001532/0.001532, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001707/0.001707, allocations: 213.7 kB / 23.01 MB, free: 4.566 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.364/1.364, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.08194/0.08194, allocations: 9.24 MB / 322.4 MB, free: 10.05 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.001924/0.001924, allocations: 66.08 kB / 449 MB, free: 14.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09901/0.1009, allocations: 55.48 MB / 0.4926 GB, free: 6.988 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.007116/0.108, allocations: 5.888 MB / 0.4984 GB, free: 1.074 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003794/0.1118, allocations: 2.106 MB / 0.5004 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000489/0.1123, allocations: 31.88 kB / 0.5005 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006269/0.113, allocations: 270.4 kB / 0.5007 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.1152, allocations: 1.133 MB / 0.5018 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.1153, allocations: 39.89 kB / 0.5019 GB, free: 13.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.1174, allocations: 1.868 MB / 0.5037 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.1175, allocations: 58.98 kB / 0.5038 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007653/0.1183, allocations: 0.6576 MB / 0.5044 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001341/0.1197, allocations: 1.094 MB / 0.5055 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002509/0.1199, allocations: 183.9 kB / 0.5056 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.1211, allocations: 0.7723 MB / 0.5064 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008437/0.1219, allocations: 0.9619 MB / 0.5073 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.1229, allocations: 1.184 MB / 0.5085 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004101/0.127, allocations: 4.058 MB / 0.5125 GB, free: 2.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.127, allocations: 0 / 0.5125 GB, free: 2.598 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.127, allocations: 0 / 0.5125 GB, free: 2.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.756e-05/0.1271, allocations: 0 / 0.5125 GB, free: 2.598 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.1886/0.3157, allocations: 2.56 MB / 0.515 GB, free: 24.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3158, allocations: 11.03 kB / 0.515 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005869/0.3216, allocations: 1.686 MB / 0.5166 GB, free: 24.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.3236, allocations: 1.032 MB / 0.5176 GB, free: 24.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/0.3236, allocations: 97.66 kB / 0.5177 GB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.3239, allocations: 129.1 kB / 0.5178 GB, free: 24.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007408/0.3313, allocations: 6.498 MB / 0.5242 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.944e-05/0.3314, allocations: 18.36 kB / 0.5242 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/0.3315, allocations: 67.78 kB / 0.5243 GB, free: 22.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002429/0.334, allocations: 1.622 MB / 0.5259 GB, free: 22.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009628/0.3436, allocations: 6.044 MB / 0.5318 GB, free: 20.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01959/0.3632, allocations: 18.14 MB / 0.5495 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.3651, allocations: 1.044 MB / 0.5505 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005561/0.3656, allocations: 0.5032 MB / 0.551 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002686/0.3683, allocations: 1.749 MB / 0.5527 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.3683, allocations: 40.03 kB / 0.5527 GB, free: 4.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 2.485e-06/0.3683, allocations: 0 / 0.5527 GB, free: 4.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=80): time 0.002322/0.3706, allocations: 1.51 MB / 0.5542 GB, free: 2.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/0.3707, allocations: 59.84 kB / 0.5543 GB, free: 2.703 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.3725, allocations: 2.015 MB / 0.5562 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.3725, allocations: 29.7 kB / 0.5563 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009695/0.3735, allocations: 1.717 MB / 0.5579 GB, free: 14.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002812/0.3738, allocations: 341.4 kB / 0.5583 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006994/0.3745, allocations: 0.5679 MB / 0.5588 GB, free: 14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.3747, allocations: 361.9 kB / 0.5592 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.3761, allocations: 0.9188 MB / 0.5601 GB, free: 12.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/0.3789, allocations: 2.576 MB / 0.5626 GB, free: 9.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004362/0.3832, allocations: 3.729 MB / 0.5662 GB, free: 4.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.653e-05/0.3833, allocations: 16 kB / 0.5662 GB, free: 4.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.005351/0.3886, allocations: 3.427 MB / 0.5696 GB, free: 1.328 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.3887, allocations: 32 kB / 0.5696 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.715e-05/0.3887, allocations: 60.61 kB / 0.5697 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.948e-05/0.3888, allocations: 77.59 kB / 0.5697 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.3906, allocations: 0.6121 MB / 0.5703 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.755e-05/0.3907, allocations: 116.1 kB / 0.5704 GB, free: 448 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.3924, allocations: 432.8 kB / 0.5709 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/0.3926, allocations: 172.1 kB / 0.571 GB, free: 15.84 MB / 414.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.001747/0.3943, allocations: 1.308 MB / 0.5723 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.3946, allocations: 162.9 kB / 0.5725 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001783/0.3963, allocations: 1.056 MB / 0.5735 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/0.3964, allocations: 26.73 kB / 0.5735 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3964, allocations: 3.984 kB / 0.5735 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.3965, allocations: 3.938 kB / 0.5735 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005788/0.4022, allocations: 3.556 MB / 0.577 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/0.4023, allocations: 4 kB / 0.577 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.4027, allocations: 103.9 kB / 0.5771 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4027, allocations: 0 / 0.5771 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.4028, allocations: 20.59 kB / 0.5771 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.4028, allocations: 4 kB / 0.5771 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4028, allocations: 4.688 kB / 0.5771 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002412/0.4052, allocations: 1.737 MB / 0.5788 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.4055, allocations: 186.8 kB / 0.579 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.4057, allocations: 12 kB / 0.579 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.4062, allocations: 31.97 kB / 0.579 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.147e-05/0.4063, allocations: 44.3 kB / 0.5791 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.527e-05/0.4063, allocations: 28.78 kB / 0.5791 GB, free: 7.445 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001817/0.4081, allocations: 1.313 MB / 0.5804 GB, free: 6.137 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4081, allocations: 288 / 0.5804 GB, free: 6.137 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001969/0.4101, allocations: 0.6269 MB / 0.581 GB, free: 5.508 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.000254/0.4104, allocations: 135 kB / 0.5811 GB, free: 5.367 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00299/0.4133, allocations: 1.946 MB / 0.583 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4133, allocations: 0.625 kB / 0.583 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006401/0.414, allocations: 442.5 kB / 0.5835 GB, free: 3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.4152, allocations: 298.7 kB / 0.5837 GB, free: 2.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007935/0.4232, allocations: 5.316 MB / 0.5889 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/0.4254, allocations: 2.186 MB / 0.5911 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/0.4259, allocations: 147.4 kB / 0.5912 GB, free: 11.01 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4259, allocations: 0 / 0.5912 GB, free: 11.01 MB / 430.1 MB Notification: Performance of Templates: time 0.04527/0.4711, allocations: 31.34 MB / 0.6218 GB, free: 11.81 MB / 462.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: 9.337878148071468] Failed to read output from testmodel.py, exit status != 0: 0.4792201470118016 0.494012902 0.36384496399999994 Calling exit ...