Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.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.001021/0.001021, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.001154/0.001154, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8318/0.8318, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.0261/0.0261, allocations: 7.114 MB / 267.1 MB, free: 6.312 MB / 250.7 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.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 393.6 MB, free: 4.68 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.195e-05, allocations: 6.219 kB / 393.7 MB, free: 4.672 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.008939/0.008961, allocations: 12.51 MB / 406.2 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00584/0.0148, allocations: 4.415 MB / 410.6 MB, free: 3.668 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008477/0.01565, allocations: 87.62 kB / 410.7 MB, free: 3.582 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.01737, allocations: 1.653 MB / 412.3 MB, free: 1.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002922/0.02029, allocations: 2.686 MB / 415 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009479/0.02123, allocations: 0.612 MB / 415.6 MB, free: 14.61 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003461/0.0247, allocations: 5.608 MB / 421.2 MB, free: 9 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002232/0.02693, allocations: 2.973 MB / 424.2 MB, free: 5.977 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.02889, allocations: 2.697 MB / 426.9 MB, free: 3.273 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.03081, allocations: 2.696 MB / 429.6 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000616/0.03142, allocations: 384 kB / 430 MB, free: 200 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.03263, allocations: 1.178 MB / 431.1 MB, free: 15.02 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001209/0.03384, allocations: 2.399 MB / 433.5 MB, free: 12.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.03487, allocations: 1.499 MB / 435 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006078/0.04094, allocations: 8.686 MB / 443.7 MB, free: 2.391 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.04095, allocations: 3.938 kB / 443.7 MB, free: 2.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.04095, allocations: 0 / 443.7 MB, free: 2.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.56e-05/0.04104, allocations: 0 / 443.7 MB, free: 2.387 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2075 * Number of variables: 2075 Notification: Performance of Generate backend data structure: time 0.1572/0.1983, allocations: 6.651 MB / 450.4 MB, free: 85.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.1983, allocations: 10.91 kB / 450.4 MB, free: 85.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005658/0.204, allocations: 3.47 MB / 453.9 MB, free: 84.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002787/0.2068, allocations: 2.71 MB / 456.6 MB, free: 83.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.853e-05/0.2069, allocations: 283.2 kB / 456.8 MB, free: 83.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004024/0.2073, allocations: 360.7 kB / 457.2 MB, free: 83.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009506/0.2168, allocations: 14.05 MB / 471.2 MB, free: 76.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-05/0.2168, allocations: 53.61 kB / 471.3 MB, free: 76.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003123/0.2172, allocations: 179.9 kB / 471.5 MB, free: 76.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002199/0.2194, allocations: 3.14 MB / 474.6 MB, free: 76.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01253/0.2319, allocations: 12.21 MB / 486.8 MB, free: 72.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02905/0.2609, allocations: 48.34 MB / 0.5226 GB, free: 25.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005112/0.266, allocations: 4.234 MB / 0.5268 GB, free: 21.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.2673, allocations: 1.7 MB / 0.5284 GB, free: 19.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006161/0.2735, allocations: 6.397 MB / 0.5347 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2735, allocations: 71.73 kB / 0.5347 GB, free: 13.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=242): time 3.547e-06/0.2735, allocations: 0 / 0.5347 GB, free: 13.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=272): time 0.01555/0.289, allocations: 14.93 MB / 0.5493 GB, free: 14.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.2891, allocations: 150.5 kB / 0.5495 GB, free: 14.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004277/0.2934, allocations: 4.94 MB / 0.5543 GB, free: 9.129 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.439e-05/0.2935, allocations: 61.7 kB / 0.5543 GB, free: 9.062 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001926/0.2954, allocations: 4.243 MB / 0.5585 GB, free: 4.781 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006195/0.296, allocations: 1.07 MB / 0.5595 GB, free: 3.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00167/0.2977, allocations: 1.636 MB / 0.5611 GB, free: 2.051 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.2978, allocations: 309 kB / 0.5614 GB, free: 1.746 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/0.3002, allocations: 2.546 MB / 0.5639 GB, free: 15.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004554/0.3047, allocations: 7.369 MB / 0.5711 GB, free: 5.43 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007824/0.3126, allocations: 10.75 MB / 0.5816 GB, free: 8.305 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.688e-05/0.3126, allocations: 48 kB / 0.5816 GB, free: 8.258 MB / 458.7 MB Notification: Performance of matching and sorting (n=1086) (initialization): time 0.009689/0.3223, allocations: 9.876 MB / 0.5913 GB, free: 14.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.668e-05/0.3224, allocations: 87.92 kB / 0.5914 GB, free: 14.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-05/0.3225, allocations: 172.2 kB / 0.5915 GB, free: 14.12 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005691/0.323, allocations: 461.5 kB / 0.592 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/0.3261, allocations: 1.848 MB / 0.5938 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003439/0.3295, allocations: 5.016 MB / 0.5987 GB, free: 6.602 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.332, allocations: 471.5 kB / 0.5991 GB, free: 6.141 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006181/0.3327, allocations: 496 kB / 0.5996 GB, free: 5.656 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 772 * Number of states: 0 () * Number of discrete variables: 36 (fixedRotation3D.color[3],fixedRotation3D.color[2],fixedRotation3D.color[1],body3D.sphereColor[3],body3D.sphereColor[2],body3D.sphereColor[1],prismatic3D.boxColor[3],prismatic3D.boxColor[2],prismatic3D.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1008): * Single equations (assignments): 998 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,17,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002868/0.3355, allocations: 2.859 MB / 0.6024 GB, free: 2.781 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/0.3359, allocations: 417.2 kB / 0.6028 GB, free: 2.371 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.3387, allocations: 2.903 MB / 0.6056 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.3387, allocations: 39.86 kB / 0.6057 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.3387, allocations: 4 kB / 0.6057 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.3387, allocations: 7.969 kB / 0.6057 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008017/0.3467, allocations: 7.487 MB / 0.613 GB, free: 7.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.3468, allocations: 4.844 kB / 0.613 GB, free: 7.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.3478, allocations: 387.4 kB / 0.6134 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003619/0.3482, allocations: 242 kB / 0.6136 GB, free: 7.133 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.473e-05/0.3483, allocations: 48 kB / 0.6136 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002553/0.3508, allocations: 4.091 MB / 0.6176 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3508, allocations: 8 kB / 0.6176 GB, free: 2.781 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1571/0.5079, allocations: 5.591 MB / 0.6231 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008956/0.5088, allocations: 395.9 kB / 0.6235 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/0.5091, allocations: 52.11 kB / 0.6235 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000835/0.5099, allocations: 138.1 kB / 0.6237 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.5101, allocations: 169.1 kB / 0.6238 GB, free: 141.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-05/0.5102, allocations: 78.34 kB / 0.6239 GB, free: 141.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002426/0.5126, allocations: 2.848 MB / 0.6267 GB, free: 140.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5126, allocations: 0 / 0.6267 GB, free: 140.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003271/0.5159, allocations: 1.279 MB / 0.6279 GB, free: 140.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel,prismatic3D.s,prismatic3D.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 (207): * Single equations (assignments): 199 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,15,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003206/0.5162, allocations: 202.8 kB / 0.6281 GB, free: 140.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004804/0.521, allocations: 5.979 MB / 0.634 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.521, allocations: 3.938 kB / 0.634 GB, free: 138.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.5222, allocations: 1.697 MB / 0.6356 GB, free: 137.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.5236, allocations: 493.3 kB / 0.6361 GB, free: 137.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.5343, allocations: 12.83 MB / 0.6486 GB, free: 131.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002954/0.5372, allocations: 3.725 MB / 0.6523 GB, free: 130.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007107/0.538, allocations: 375.4 kB / 0.6526 GB, free: 130.9 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.538, allocations: 1.969 kB / 0.6526 GB, free: 130.9 MB / 490.7 MB Notification: Performance of Templates: time 0.08228/0.6202, allocations: 130.6 MB / 0.7802 GB, free: 19.23 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.1454565692693] Failed to read output from testmodel.py, exit status != 0: 0.6254378147423267 0.631106262 0.5888150249999999 Calling exit ...