Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.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.001314/0.001314, 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.001514/0.001514, allocations: 210 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.785 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.05146/0.05146, allocations: 9.247 MB / 321.7 MB, free: 9.832 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.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") translateModel(PlanarMechanics.Examples.InvertedCraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab") [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.002376/0.002376, allocations: 71.88 kB / 448.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1119, allocations: 55.47 MB / 0.4918 GB, free: 6.5 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.InvertedCraneCrab): time 0.01014/0.122, allocations: 7.653 MB / 0.4993 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005524/0.1276, allocations: 2.523 MB / 0.5018 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008478/0.1284, allocations: 35.88 kB / 0.5018 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008219/0.1292, allocations: 377.4 kB / 0.5022 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.1325, allocations: 1.436 MB / 0.5036 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.1329, allocations: 147.7 kB / 0.5037 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003399/0.1363, allocations: 2.499 MB / 0.5061 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.1374, allocations: 0.7711 MB / 0.5069 GB, free: 6.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.1387, allocations: 0.9183 MB / 0.5078 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.1407, allocations: 1.378 MB / 0.5091 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004189/0.1411, allocations: 240 kB / 0.5094 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.1426, allocations: 0.7684 MB / 0.5101 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00117/0.1438, allocations: 1.227 MB / 0.5113 GB, free: 2.449 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.1449, allocations: 1.094 MB / 0.5124 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2061/0.351, allocations: 4.986 MB / 0.5173 GB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.351, allocations: 0 / 0.5173 GB, free: 12.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.351, allocations: 0 / 0.5173 GB, free: 12.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.563e-05/0.3511, allocations: 1.719 kB / 0.5173 GB, free: 12.9 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: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.008165/0.3593, allocations: 3.914 MB / 0.5211 GB, free: 11.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3593, allocations: 10.81 kB / 0.5211 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006667/0.366, allocations: 1.784 MB / 0.5228 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002702/0.3687, allocations: 1.321 MB / 0.5241 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.3688, allocations: 152.8 kB / 0.5243 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004322/0.3692, allocations: 201.5 kB / 0.5245 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.3805, allocations: 7.963 MB / 0.5322 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-05/0.3806, allocations: 27.06 kB / 0.5323 GB, free: 9.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000293/0.3809, allocations: 91.27 kB / 0.5323 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002819/0.3837, allocations: 1.849 MB / 0.5342 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/0.3958, allocations: 7.152 MB / 0.5411 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02894/0.4247, allocations: 21.74 MB / 0.5624 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005258/0.43, allocations: 1.841 MB / 0.5642 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.4315, allocations: 0.779 MB / 0.5649 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00719/0.4386, allocations: 3.014 MB / 0.5679 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.4387, allocations: 47.56 kB / 0.5679 GB, free: 15.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=128): time 3.276e-06/0.4387, allocations: 0 / 0.5679 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.01583/0.4545, allocations: 6.872 MB / 0.5746 GB, free: 8.344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.4546, allocations: 64.72 kB / 0.5747 GB, free: 8.266 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003589/0.4582, allocations: 2.238 MB / 0.5769 GB, free: 6.027 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.991e-05/0.4583, allocations: 49.7 kB / 0.5769 GB, free: 5.973 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/0.4599, allocations: 2.199 MB / 0.5791 GB, free: 3.789 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005682/0.4605, allocations: 0.5861 MB / 0.5796 GB, free: 3.211 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/0.4617, allocations: 0.7968 MB / 0.5804 GB, free: 2.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4618, allocations: 345.9 kB / 0.5808 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002368/0.4642, allocations: 1.311 MB / 0.582 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004401/0.4686, allocations: 3.433 MB / 0.5854 GB, free: 12.3 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006941/0.4756, allocations: 5.096 MB / 0.5904 GB, free: 6.477 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.39e-05/0.4756, allocations: 24 kB / 0.5904 GB, free: 6.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.008622/0.4843, allocations: 4.773 MB / 0.595 GB, free: 1.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/0.4843, allocations: 43.31 kB / 0.5951 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/0.4844, allocations: 72 kB / 0.5952 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004207/0.4848, allocations: 192.7 kB / 0.5953 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/0.4878, allocations: 0.8968 MB / 0.5962 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/0.4902, allocations: 2.142 MB / 0.5983 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002347/0.4926, allocations: 208.8 kB / 0.5985 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003747/0.493, allocations: 230.2 kB / 0.5987 GB, free: 14.05 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 338 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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 (478): * Single equations (assignments): 473 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002514/0.4955, allocations: 1.563 MB / 0.6003 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/0.4959, allocations: 194.7 kB / 0.6004 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/0.4996, allocations: 1.91 MB / 0.6023 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/0.4997, allocations: 31.98 kB / 0.6023 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4997, allocations: 0 / 0.6023 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.4997, allocations: 7.922 kB / 0.6023 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.5114, allocations: 4.388 MB / 0.6066 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.5114, allocations: 12.19 kB / 0.6066 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.5124, allocations: 239.6 kB / 0.6069 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002499/0.5126, allocations: 85.53 kB / 0.6069 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.562e-05/0.5127, allocations: 27.94 kB / 0.607 GB, free: 5.559 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.5147, allocations: 1.879 MB / 0.6088 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5147, allocations: 7.438 kB / 0.6088 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005018/0.5197, allocations: 3.004 MB / 0.6117 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005108/0.5202, allocations: 174.8 kB / 0.6119 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003379/0.5205, allocations: 27.98 kB / 0.6119 GB, free: 348 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000902/0.5214, allocations: 71.91 kB / 0.612 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001921/0.5216, allocations: 89.34 kB / 0.6121 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.544e-05/0.5217, allocations: 42.34 kB / 0.6121 GB, free: 144 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00236/0.5241, allocations: 1.309 MB / 0.6134 GB, free: 14.84 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5241, allocations: 4 kB / 0.6134 GB, free: 14.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003057/0.5271, allocations: 0.6406 MB / 0.614 GB, free: 14.19 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (revolute.phi,prismatic.s,prismatic.v) * 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 (124): * Single equations (assignments): 119 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003517/0.5275, allocations: 155.6 kB / 0.6142 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005587/0.5331, allocations: 3.007 MB / 0.6171 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5331, allocations: 0 / 0.6171 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001583/0.5347, allocations: 0.9303 MB / 0.618 GB, free: 10.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.5361, allocations: 258.6 kB / 0.6183 GB, free: 9.852 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.548, allocations: 6.43 MB / 0.6246 GB, free: 3.387 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/0.5508, allocations: 2.013 MB / 0.6265 GB, free: 1.344 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002573/0.5533, allocations: 1.153 MB / 0.6277 GB, free: 192 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004567/0.5538, allocations: 147.4 kB / 0.6278 GB, free: 44 kB / 462.1 MB Notification: Performance of SimCode: time 9.51e-07/0.5538, allocations: 0 / 0.6278 GB, free: 44 kB / 462.1 MB Notification: Performance of Templates: time 0.04356/0.5974, allocations: 22.52 MB / 0.6498 GB, free: 9.824 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.InvertedCraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.50079945102334] Failed to read output from testmodel.py, exit status != 0: 0.6064158789813519 0.620877013 0.266695075 Calling exit ...