Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrab.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.001109/0.001109, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001007/0.001007, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.018/1.018, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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.02845/0.02845, allocations: 7.187 MB / 268.2 MB, free: 5.898 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.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") translateModel(PlanarMechanics.Examples.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 340.1 MB, free: 9.934 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.969e-05, allocations: 2.312 kB / 340.1 MB, free: 9.93 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.005205/0.005224, allocations: 7.977 MB / 348.1 MB, free: 1.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004002/0.009226, allocations: 2.589 MB / 350.7 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008827/0.01011, allocations: 35.88 kB / 350.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007011/0.01081, allocations: 373.4 kB / 351.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.01341, allocations: 1.497 MB / 352.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.0137, allocations: 131.7 kB / 352.7 MB, free: 13.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002487/0.01619, allocations: 2.572 MB / 355.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008452/0.01704, allocations: 0.7887 MB / 356 MB, free: 9.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.01849, allocations: 1.372 MB / 357.4 MB, free: 8.508 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.01972, allocations: 1.317 MB / 358.7 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002316/0.01996, allocations: 232 kB / 359 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.02098, allocations: 0.8347 MB / 359.8 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009899/0.02197, allocations: 1.258 MB / 361.1 MB, free: 4.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006556/0.02262, allocations: 0.8214 MB / 361.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.02564, allocations: 3.272 MB / 365.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.02564, allocations: 0 / 365.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.02564, allocations: 0 / 365.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.776e-05/0.0257, allocations: 0 / 365.1 MB, free: 0.7539 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1152 * Number of variables: 1152 Notification: Performance of Generate backend data structure: time 0.005984/0.03168, allocations: 4.124 MB / 369.3 MB, free: 12.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.03173, allocations: 12.62 kB / 369.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003142/0.03487, allocations: 1.247 MB / 370.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001647/0.03651, allocations: 1.169 MB / 371.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.851e-05/0.0366, allocations: 152 kB / 371.8 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002659/0.03687, allocations: 200.2 kB / 372 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00503/0.0419, allocations: 3.632 MB / 375.7 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.41e-05/0.04196, allocations: 27.7 kB / 375.7 MB, free: 5.625 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.04215, allocations: 91.86 kB / 375.8 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001532/0.04368, allocations: 1.657 MB / 377.4 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004139/0.04782, allocations: 1.874 MB / 379.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02224/0.07006, allocations: 24.26 MB / 403.6 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.07259, allocations: 0.9897 MB / 404.6 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.07297, allocations: 268 kB / 404.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003905/0.07687, allocations: 2.404 MB / 407.2 MB, free: 5.418 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.07691, allocations: 42.39 kB / 407.3 MB, free: 5.367 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 6.232e-06/0.07692, allocations: 4 kB / 407.3 MB, free: 5.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=149): time 0.00731/0.08423, allocations: 3.631 MB / 410.9 MB, free: 1.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.08426, allocations: 64.41 kB / 411 MB, free: 1.617 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1385/0.2227, allocations: 1.924 MB / 412.9 MB, free: 72.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002207/0.223, allocations: 44.45 kB / 412.9 MB, free: 71.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.2241, allocations: 2.298 MB / 415.2 MB, free: 71.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004227/0.2245, allocations: 0.5979 MB / 415.8 MB, free: 70.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007833/0.2253, allocations: 0.8573 MB / 416.7 MB, free: 70.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.2254, allocations: 0.5205 MB / 417.2 MB, free: 70.22 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/0.2259, allocations: 330.4 kB / 417.5 MB, free: 70.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.2276, allocations: 3.454 MB / 421 MB, free: 66.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.2304, allocations: 4.211 MB / 425.2 MB, free: 62.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.753e-05/0.2304, allocations: 24.66 kB / 425.2 MB, free: 62.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.004611/0.235, allocations: 3.029 MB / 428.3 MB, free: 61.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.2351, allocations: 38.47 kB / 428.3 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.187e-05/0.2351, allocations: 76.8 kB / 428.4 MB, free: 61.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006181/0.2358, allocations: 266.8 kB / 428.6 MB, free: 61.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.2373, allocations: 0.8282 MB / 429.5 MB, free: 61.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.2393, allocations: 2.955 MB / 432.4 MB, free: 59.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.2409, allocations: 148.6 kB / 432.6 MB, free: 59.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.2411, allocations: 197.7 kB / 432.7 MB, free: 59.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 335 * 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 (469): * Single equations (assignments): 464 * 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 {(2,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009303/0.242, allocations: 462.8 kB / 433.2 MB, free: 59.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.2422, allocations: 230.5 kB / 433.4 MB, free: 58.95 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.2433, allocations: 0.9205 MB / 434.3 MB, free: 58.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.202e-05/0.2434, allocations: 19.56 kB / 434.4 MB, free: 58.74 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2434, allocations: 3.844 kB / 434.4 MB, free: 58.74 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.2434, allocations: 7.594 kB / 434.4 MB, free: 58.74 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004232/0.2476, allocations: 3.527 MB / 437.9 MB, free: 57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.2476, allocations: 0 / 437.9 MB, free: 57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.248, allocations: 171.8 kB / 438.1 MB, free: 56.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003968/0.2484, allocations: 170 kB / 438.2 MB, free: 56.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.2485, allocations: 37 kB / 438.3 MB, free: 56.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.2498, allocations: 2.325 MB / 440.6 MB, free: 54.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2498, allocations: 4.031 kB / 440.6 MB, free: 54.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/0.2512, allocations: 1.346 MB / 441.9 MB, free: 53.13 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.2515, allocations: 174.4 kB / 442.1 MB, free: 52.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.2517, allocations: 24 kB / 442.1 MB, free: 52.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.252, allocations: 24 kB / 442.2 MB, free: 52.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.2521, allocations: 101.7 kB / 442.3 MB, free: 52.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.2522, allocations: 35.94 kB / 442.3 MB, free: 52.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007308/0.2529, allocations: 0.8049 MB / 443.1 MB, free: 52.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2529, allocations: 0 / 443.1 MB, free: 52.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002356/0.2553, allocations: 0.6676 MB / 443.8 MB, free: 51.51 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel) * 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 (109): * Single equations (assignments): 104 * 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 {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002964/0.2556, allocations: 159 kB / 443.9 MB, free: 51.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.258, allocations: 1.843 MB / 445.8 MB, free: 49.72 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.258, allocations: 256 / 445.8 MB, free: 49.72 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005143/0.2585, allocations: 0.6019 MB / 446.4 MB, free: 49.17 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008292/0.2593, allocations: 280.9 kB / 446.6 MB, free: 48.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006761/0.2661, allocations: 5.347 MB / 452 MB, free: 43.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.2668, allocations: 0.9 MB / 452.9 MB, free: 42.89 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008239/0.2676, allocations: 298.4 kB / 453.2 MB, free: 42.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/0.268, allocations: 394.1 kB / 453.6 MB, free: 42.22 MB / 330.7 MB Notification: Performance of SimCode: time 2.004e-06/0.268, allocations: 0 / 453.6 MB, free: 42.22 MB / 330.7 MB Notification: Performance of Templates: time 0.02964/0.2976, allocations: 22.5 MB / 476.1 MB, free: 20.03 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrab.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrab -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6120809838175774]