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.001649/0.001649, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002071/0.002071, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.781 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.06238/0.06238, allocations: 9.236 MB / 321.7 MB, free: 9.828 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.002177/0.002177, allocations: 71.88 kB / 448.2 MB, free: 14.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.119, allocations: 55.47 MB / 0.4918 GB, free: 6.488 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.FreeBody): time 0.007215/0.1262, allocations: 5.221 MB / 0.4969 GB, free: 1.242 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004153/0.1304, allocations: 1.974 MB / 0.4988 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005421/0.1309, allocations: 23.94 kB / 0.4989 GB, free: 15.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006559/0.1316, allocations: 274.3 kB / 0.4991 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.134, allocations: 1.133 MB / 0.5002 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001393/0.1341, allocations: 35.95 kB / 0.5003 GB, free: 13.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.1363, allocations: 1.88 MB / 0.5021 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.1365, allocations: 62.92 kB / 0.5022 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008284/0.1373, allocations: 0.6498 MB / 0.5028 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.1388, allocations: 1.067 MB / 0.5038 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002888/0.1391, allocations: 176 kB / 0.504 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.1403, allocations: 0.6631 MB / 0.5047 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009047/0.1412, allocations: 0.958 MB / 0.5056 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008778/0.142, allocations: 0.811 MB / 0.5064 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00444/0.1465, allocations: 4.051 MB / 0.5103 GB, free: 3.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1465, allocations: 0 / 0.5103 GB, free: 3.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1465, allocations: 3.938 kB / 0.5103 GB, free: 3.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.369e-05/0.1466, allocations: 0 / 0.5103 GB, free: 3.426 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.005606/0.1522, allocations: 2.561 MB / 0.5128 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.1522, allocations: 8.031 kB / 0.5129 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2268/0.379, allocations: 1.686 MB / 0.5145 GB, free: 24.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.3812, allocations: 1.041 MB / 0.5155 GB, free: 24.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.3813, allocations: 103.6 kB / 0.5156 GB, free: 24.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/0.3816, allocations: 132.7 kB / 0.5157 GB, free: 24.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008161/0.3897, allocations: 6.494 MB / 0.5221 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.836e-05/0.3898, allocations: 18.91 kB / 0.5221 GB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/0.39, allocations: 64.33 kB / 0.5222 GB, free: 22.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002638/0.3926, allocations: 1.624 MB / 0.5237 GB, free: 22.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.4031, allocations: 6.039 MB / 0.5296 GB, free: 20.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/0.4233, allocations: 16.2 MB / 0.5455 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.4253, allocations: 1.045 MB / 0.5465 GB, free: 9.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006527/0.426, allocations: 0.503 MB / 0.547 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002691/0.4287, allocations: 1.526 MB / 0.5485 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.4287, allocations: 39 kB / 0.5485 GB, free: 7.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=80): time 2.875e-06/0.4287, allocations: 0 / 0.5485 GB, free: 7.324 MB / 382.1 MB Notification: Performance of matching and sorting (n=80): time 0.002528/0.4312, allocations: 1.472 MB / 0.5499 GB, free: 5.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.4313, allocations: 59.78 kB / 0.55 GB, free: 5.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.4329, allocations: 1.714 MB / 0.5517 GB, free: 4.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.134e-05/0.433, allocations: 33.7 kB / 0.5517 GB, free: 4.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005784/0.4335, allocations: 1.74 MB / 0.5534 GB, free: 2.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.4337, allocations: 344 kB / 0.5537 GB, free: 1.922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005485/0.4343, allocations: 0.5718 MB / 0.5543 GB, free: 1.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.293e-05/0.4343, allocations: 337.9 kB / 0.5546 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.4355, allocations: 0.9188 MB / 0.5555 GB, free: 88 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/0.4384, allocations: 2.576 MB / 0.558 GB, free: 12.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004758/0.4432, allocations: 3.738 MB / 0.5617 GB, free: 8.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.009e-05/0.4432, allocations: 16 kB / 0.5617 GB, free: 8.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.005857/0.4491, allocations: 3.401 MB / 0.565 GB, free: 4.727 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.4491, allocations: 32 kB / 0.565 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.015e-05/0.4492, allocations: 56 kB / 0.5651 GB, free: 4.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.567e-05/0.4493, allocations: 76.75 kB / 0.5652 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001872/0.4512, allocations: 0.6158 MB / 0.5658 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001089/0.4513, allocations: 115.6 kB / 0.5659 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.4531, allocations: 385.3 kB / 0.5663 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.4533, allocations: 175.9 kB / 0.5664 GB, free: 3.289 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.001927/0.4553, allocations: 1.312 MB / 0.5677 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.4555, allocations: 131.1 kB / 0.5678 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001871/0.4573, allocations: 1.033 MB / 0.5688 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/0.4574, allocations: 23.97 kB / 0.5689 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.4574, allocations: 0.9844 kB / 0.5689 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.4575, allocations: 3.984 kB / 0.5689 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005748/0.4632, allocations: 2.753 MB / 0.5716 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.4632, allocations: 0 / 0.5716 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005136/0.4637, allocations: 108 kB / 0.5717 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.4637, allocations: 7.938 kB / 0.5717 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/0.4638, allocations: 23.97 kB / 0.5717 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.4638, allocations: 4 kB / 0.5717 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4638, allocations: 3 kB / 0.5717 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.4664, allocations: 1.711 MB / 0.5734 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.4667, allocations: 139 kB / 0.5735 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.4668, allocations: 11.94 kB / 0.5735 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.4673, allocations: 35.97 kB / 0.5735 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/0.4674, allocations: 45.23 kB / 0.5736 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-05/0.4675, allocations: 27.98 kB / 0.5736 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001526/0.469, allocations: 1.012 MB / 0.5746 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.469, allocations: 0 / 0.5746 GB, free: 10.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002275/0.4713, allocations: 0.6578 MB / 0.5752 GB, free: 10.14 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.0002874/0.4715, allocations: 135 kB / 0.5754 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00332/0.4749, allocations: 1.941 MB / 0.5773 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4749, allocations: 0 / 0.5773 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.4756, allocations: 451 kB / 0.5777 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009499/0.4765, allocations: 178.3 kB / 0.5779 GB, free: 7.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008069/0.4846, allocations: 4.924 MB / 0.5827 GB, free: 2.512 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002252/0.4868, allocations: 1.593 MB / 0.5842 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001967/0.4888, allocations: 0.8438 MB / 0.5851 GB, free: 44 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002835/0.4891, allocations: 111.4 kB / 0.5852 GB, free: 15.93 MB / 430.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4891, allocations: 0 / 0.5852 GB, free: 15.93 MB / 430.1 MB Notification: Performance of Templates: time 0.03013/0.5192, allocations: 15.28 MB / 0.6001 GB, free: 0.8828 MB / 430.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.2867481373250484] Failed to read output from testmodel.py, exit status != 0: 0.528020054101944 0.542662401 0.39298179399999994 Calling exit ...