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.001803/0.001803, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 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.002251/0.002251, allocations: 173.3 kB / 22.77 MB, free: 1.641 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 1.593/1.593, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.05304/0.05304, allocations: 7.178 MB / 266.7 MB, free: 6.094 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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.853e-06/1.853e-06, allocations: 0 / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.618e-05, allocations: 6.25 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.02532/0.02534, allocations: 13.79 MB / 351.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0182/0.04355, allocations: 4.552 MB / 356.5 MB, free: 8.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00344/0.04699, allocations: 87.62 kB / 356.6 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007266/0.05425, allocations: 1.708 MB / 358.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01355/0.0678, allocations: 2.703 MB / 361 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003456/0.07126, allocations: 0.6237 MB / 361.6 MB, free: 3.004 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01615/0.08741, allocations: 5.628 MB / 367.2 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008362/0.09577, allocations: 3.064 MB / 370.3 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00828/0.104, allocations: 2.72 MB / 373 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005693/0.1097, allocations: 2.708 MB / 375.7 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001562/0.1113, allocations: 388 kB / 376.1 MB, free: 4.426 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003529/0.1148, allocations: 1.182 MB / 377.3 MB, free: 3.242 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003699/0.1185, allocations: 2.423 MB / 379.7 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00391/0.1224, allocations: 1.506 MB / 381.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01377/0.1362, allocations: 8.709 MB / 389.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1362, allocations: 0 / 389.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1362, allocations: 0 / 389.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002827/0.1365, allocations: 0 / 389.9 MB, free: 6.559 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2081 * Number of variables: 2081 Notification: Performance of Generate backend data structure: time 0.02047/0.157, allocations: 7.815 MB / 397.7 MB, free: 14.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.157, allocations: 12.62 kB / 397.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01553/0.1725, allocations: 4.186 MB / 401.9 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007821/0.1804, allocations: 2.546 MB / 404.5 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003067/0.1807, allocations: 271.1 kB / 404.7 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.1818, allocations: 367.6 kB / 405.1 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1458/0.3276, allocations: 8.538 MB / 413.6 MB, free: 68.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002069/0.3278, allocations: 53.77 kB / 413.7 MB, free: 68.21 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007223/0.3286, allocations: 180.8 kB / 413.9 MB, free: 68.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005762/0.3343, allocations: 3.134 MB / 417 MB, free: 68.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01759/0.3519, allocations: 4.941 MB / 421.9 MB, free: 67.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06839/0.4203, allocations: 69.65 MB / 491.6 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.4309, allocations: 2.681 MB / 494.3 MB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002284/0.4332, allocations: 0.7278 MB / 495 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01647/0.4497, allocations: 5.376 MB / 0.4886 GB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.545e-05/0.4497, allocations: 58.7 kB / 0.4887 GB, free: 5.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=242): time 6.052e-06/0.4498, allocations: 0 / 0.4887 GB, free: 5.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=272): time 0.03364/0.4834, allocations: 11.1 MB / 0.4995 GB, free: 10.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.4835, allocations: 150.5 kB / 0.4997 GB, free: 9.898 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/0.4938, allocations: 5.756 MB / 0.5053 GB, free: 4.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004169/0.4942, allocations: 59.97 kB / 0.5054 GB, free: 4.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005179/0.4994, allocations: 4.729 MB / 0.51 GB, free: 15.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001849/0.5012, allocations: 1.191 MB / 0.5111 GB, free: 14.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003589/0.5048, allocations: 2.119 MB / 0.5132 GB, free: 11.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002653/0.5051, allocations: 480.8 kB / 0.5137 GB, free: 11.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002884/0.508, allocations: 0.9843 MB / 0.5146 GB, free: 10.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01065/0.5186, allocations: 8.416 MB / 0.5229 GB, free: 14.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01551/0.5341, allocations: 10.29 MB / 0.5329 GB, free: 1.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001957/0.5343, allocations: 51.94 kB / 0.533 GB, free: 1.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=1092) (initialization): time 0.01728/0.5516, allocations: 7.208 MB / 0.54 GB, free: 9.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.5517, allocations: 82.69 kB / 0.5401 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002493/0.552, allocations: 171.9 kB / 0.5402 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.5534, allocations: 469.4 kB / 0.5407 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006932/0.5603, allocations: 1.864 MB / 0.5425 GB, free: 7.402 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006697/0.567, allocations: 5.24 MB / 0.5476 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005946/0.573, allocations: 479.5 kB / 0.5481 GB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/0.5743, allocations: 496 kB / 0.5485 GB, free: 0.9609 MB / 410.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 (1014): * Single equations (assignments): 1004 * 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.1413/0.7156, allocations: 0.9706 MB / 0.5495 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00137/0.7169, allocations: 0.4905 MB / 0.55 GB, free: 125.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004002/0.7209, allocations: 1.666 MB / 0.5516 GB, free: 125.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.252e-05/0.721, allocations: 29.94 kB / 0.5516 GB, free: 125.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.721, allocations: 10.52 kB / 0.5516 GB, free: 125.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/0.721, allocations: 7.641 kB / 0.5516 GB, free: 125.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.736, allocations: 7.935 MB / 0.5594 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.7361, allocations: 8.375 kB / 0.5594 GB, free: 124.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.7376, allocations: 377.6 kB / 0.5598 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008261/0.7384, allocations: 251.4 kB / 0.56 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.7386, allocations: 47.66 kB / 0.5601 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002991/0.7416, allocations: 4.373 MB / 0.5643 GB, free: 120.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.7416, allocations: 12.94 kB / 0.5643 GB, free: 120.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004603/0.7462, allocations: 3.258 MB / 0.5675 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009405/0.7471, allocations: 403.5 kB / 0.5679 GB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004641/0.7476, allocations: 48.5 kB / 0.5679 GB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.7491, allocations: 136.2 kB / 0.5681 GB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003021/0.7494, allocations: 168.8 kB / 0.5682 GB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.7496, allocations: 82.78 kB / 0.5683 GB, free: 119.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003601/0.7532, allocations: 2.271 MB / 0.5705 GB, free: 118.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.7532, allocations: 0 / 0.5705 GB, free: 118.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005658/0.7589, allocations: 1.286 MB / 0.5718 GB, free: 118.6 MB / 410.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.0004826/0.7593, allocations: 204.1 kB / 0.572 GB, free: 118.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007593/0.7669, allocations: 4.62 MB / 0.5765 GB, free: 116.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.7669, allocations: 0 / 0.5765 GB, free: 116.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.7689, allocations: 1.32 MB / 0.5778 GB, free: 116.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/0.7719, allocations: 0.5305 MB / 0.5783 GB, free: 115.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/0.789, allocations: 10.34 MB / 0.5884 GB, free: 107 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003669/0.7926, allocations: 3.357 MB / 0.5917 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00474/0.7974, allocations: 2.274 MB / 0.5939 GB, free: 102.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006941/0.7981, allocations: 308.5 kB / 0.5942 GB, free: 102.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.094e-06/0.7981, allocations: 0 / 0.5942 GB, free: 102.3 MB / 410.7 MB Notification: Performance of Templates: time 0.0603/0.8584, allocations: 33.13 MB / 0.6266 GB, free: 69.85 MB / 410.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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.073271946050227]