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.0009981/0.0009981, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001496/0.001496, allocations: 173 kB / 23.5 MB, free: 1.051 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.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.03164/0.03164, allocations: 7.192 MB / 267.5 MB, free: 6.133 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.492e-06/1.492e-06, allocations: 0 / 338.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.467e-05, allocations: 4.844 kB / 338.9 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.005845/0.00587, allocations: 8.122 MB / 347 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004009/0.009878, allocations: 2.6 MB / 349.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006858/0.01056, allocations: 35.88 kB / 349.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006891/0.01125, allocations: 373.4 kB / 350 MB, free: 15.37 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.01359, allocations: 1.501 MB / 351.5 MB, free: 13.86 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.01385, allocations: 123.8 kB / 351.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002173/0.01602, allocations: 2.563 MB / 354.2 MB, free: 11.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000931/0.01695, allocations: 0.7926 MB / 355 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.01827, allocations: 1.379 MB / 356.3 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.01947, allocations: 1.309 MB / 357.7 MB, free: 7.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002602/0.01973, allocations: 232 kB / 357.9 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.02076, allocations: 0.8307 MB / 358.7 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007153/0.02147, allocations: 1.266 MB / 360 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006568/0.02213, allocations: 0.8175 MB / 360.8 MB, free: 4.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.02484, allocations: 3.28 MB / 364.1 MB, free: 1.215 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.02484, allocations: 4 kB / 364.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.02485, allocations: 0 / 364.1 MB, free: 1.211 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.023e-05/0.02489, allocations: 0 / 364.1 MB, free: 1.211 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.005482/0.03037, allocations: 4.154 MB / 368.2 MB, free: 13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.03041, allocations: 8.625 kB / 368.2 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004205/0.03461, allocations: 2.199 MB / 370.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.03604, allocations: 1.232 MB / 371.7 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.03614, allocations: 148 kB / 371.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/0.03642, allocations: 196.2 kB / 372 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005096/0.04151, allocations: 3.99 MB / 376 MB, free: 4.719 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/0.04157, allocations: 19.88 kB / 376 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.04177, allocations: 99.8 kB / 376.1 MB, free: 4.602 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00181/0.04358, allocations: 1.837 MB / 378 MB, free: 2.762 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004803/0.04838, allocations: 2.327 MB / 380.3 MB, free: 428 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01702/0.0654, allocations: 24.42 MB / 404.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003405/0.0688, allocations: 1.079 MB / 405.8 MB, free: 6.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/0.06939, allocations: 324.6 kB / 406.1 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00409/0.07348, allocations: 2.583 MB / 408.7 MB, free: 3.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.07351, allocations: 50.33 kB / 408.7 MB, free: 3.316 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 3.476e-06/0.07351, allocations: 0 / 408.7 MB, free: 3.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=153): time 0.1265/0.2, allocations: 4.338 MB / 413.1 MB, free: 76.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.2, allocations: 66.06 kB / 413.1 MB, free: 76.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00207/0.2021, allocations: 1.942 MB / 415.1 MB, free: 76.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-05/0.2022, allocations: 48.69 kB / 415.1 MB, free: 76.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009316/0.2031, allocations: 2.271 MB / 417.4 MB, free: 75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/0.2034, allocations: 0.6053 MB / 418 MB, free: 74.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007541/0.2042, allocations: 0.8444 MB / 418.8 MB, free: 74.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.2043, allocations: 0.5141 MB / 419.4 MB, free: 74.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008173/0.2051, allocations: 429 kB / 419.8 MB, free: 74.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.2066, allocations: 3.517 MB / 423.3 MB, free: 69.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.2092, allocations: 4.313 MB / 427.6 MB, free: 65.31 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.572e-05/0.2092, allocations: 19.28 kB / 427.6 MB, free: 65.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=515) (initialization): time 0.003647/0.2128, allocations: 3.264 MB / 430.9 MB, free: 64.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.2129, allocations: 41.81 kB / 430.9 MB, free: 64.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.823e-05/0.2129, allocations: 72.47 kB / 431 MB, free: 64.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/0.2135, allocations: 299.9 kB / 431.3 MB, free: 64.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.2148, allocations: 0.8611 MB / 432.2 MB, free: 63.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.2169, allocations: 3.081 MB / 435.2 MB, free: 61.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.2182, allocations: 195.9 kB / 435.4 MB, free: 61.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.2183, allocations: 231 kB / 435.7 MB, free: 61 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 333 * 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 (471): * Single equations (assignments): 466 * 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.0007298/0.219, allocations: 462.2 kB / 436.1 MB, free: 60.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.2192, allocations: 234.7 kB / 436.3 MB, free: 60.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.2204, allocations: 1.017 MB / 437.4 MB, free: 59.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.284e-05/0.2204, allocations: 31.69 kB / 437.4 MB, free: 59.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2204, allocations: 0 / 437.4 MB, free: 59.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.2204, allocations: 11.45 kB / 437.4 MB, free: 59.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003991/0.2244, allocations: 3.758 MB / 441.2 MB, free: 56.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.2244, allocations: 4 kB / 441.2 MB, free: 56.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/0.2249, allocations: 201.5 kB / 441.4 MB, free: 55.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003939/0.2253, allocations: 200.2 kB / 441.5 MB, free: 55.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.2253, allocations: 24 kB / 441.6 MB, free: 55.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.2266, allocations: 2.44 MB / 444 MB, free: 53.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2266, allocations: 4 kB / 444 MB, free: 53.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.2281, allocations: 1.525 MB / 445.5 MB, free: 51.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000146/0.2282, allocations: 182.7 kB / 445.7 MB, free: 51.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.2283, allocations: 24 kB / 445.7 MB, free: 51.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.2287, allocations: 66.81 kB / 445.8 MB, free: 51.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.2288, allocations: 92.7 kB / 445.9 MB, free: 51.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.2288, allocations: 47.83 kB / 445.9 MB, free: 51.44 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007069/0.2295, allocations: 0.8712 MB / 446.8 MB, free: 50.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2295, allocations: 0 / 446.8 MB, free: 50.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00158/0.2311, allocations: 0.6601 MB / 447.5 MB, free: 49.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (113): * Single equations (assignments): 108 * 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.0002387/0.2314, allocations: 153.7 kB / 447.6 MB, free: 49.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002034/0.2334, allocations: 1.988 MB / 449.6 MB, free: 47.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2334, allocations: 0 / 449.6 MB, free: 47.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005493/0.2339, allocations: 0.6641 MB / 450.3 MB, free: 47.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.2347, allocations: 274.1 kB / 450.5 MB, free: 46.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005386/0.2401, allocations: 5.386 MB / 455.9 MB, free: 41.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.2407, allocations: 0.9022 MB / 456.8 MB, free: 40.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001137/0.2418, allocations: 0.9764 MB / 457.8 MB, free: 39.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/0.242, allocations: 152.5 kB / 458 MB, free: 39.3 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.242, allocations: 0 / 458 MB, free: 39.3 MB / 330.7 MB Notification: Performance of Templates: time 0.02727/0.2693, allocations: 20.61 MB / 478.6 MB, free: 19 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.4223966179415584]