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.001003/0.001003, allocations: 93.06 kB / 19.65 MB, free: 280 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.001108/0.001108, allocations: 169 kB / 23.02 MB, free: 1.547 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.079/1.079, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.02837/0.02837, allocations: 7.176 MB / 267.1 MB, free: 6.074 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.903e-06/1.903e-06, allocations: 0 / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.967e-05, allocations: 5.125 kB / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.008711/0.008741, allocations: 8.149 MB / 347 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005586/0.01433, allocations: 2.596 MB / 349.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.01565, allocations: 43.81 kB / 349.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.01667, allocations: 373.4 kB / 350 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003987/0.02066, allocations: 1.497 MB / 351.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.02112, allocations: 131.7 kB / 351.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003157/0.02428, allocations: 2.565 MB / 354.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.02549, allocations: 0.7887 MB / 355 MB, free: 10 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005174/0.03066, allocations: 1.368 MB / 356.4 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.03295, allocations: 1.317 MB / 357.7 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006019/0.03355, allocations: 232 kB / 357.9 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.03528, allocations: 0.8308 MB / 358.7 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001239/0.03652, allocations: 1.266 MB / 360 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.03786, allocations: 0.8214 MB / 360.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005086/0.04295, allocations: 3.268 MB / 364.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.04295, allocations: 0 / 364.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.04296, allocations: 0 / 364.1 MB, free: 0.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.293e-05/0.04305, allocations: 0 / 364.1 MB, free: 0.875 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.008387/0.05144, allocations: 4.163 MB / 368.3 MB, free: 12.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.05149, allocations: 12.62 kB / 368.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006464/0.05795, allocations: 2.199 MB / 370.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00249/0.06044, allocations: 1.286 MB / 371.7 MB, free: 9.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000145/0.06059, allocations: 156 kB / 371.9 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004212/0.06101, allocations: 192.2 kB / 372.1 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007885/0.06889, allocations: 3.989 MB / 376.1 MB, free: 4.312 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.117e-05/0.06897, allocations: 23.77 kB / 376.1 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/0.06925, allocations: 99.84 kB / 376.2 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002726/0.07197, allocations: 1.84 MB / 378 MB, free: 2.348 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009165/0.08114, allocations: 2.331 MB / 380.4 MB, free: 0 / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03107/0.1122, allocations: 24.44 MB / 404.8 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004036/0.1162, allocations: 1.078 MB / 405.9 MB, free: 5.855 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006597/0.1169, allocations: 311 kB / 406.2 MB, free: 5.555 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005268/0.1222, allocations: 2.579 MB / 408.8 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.1222, allocations: 46.39 kB / 408.8 MB, free: 2.895 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 5.641e-06/0.1222, allocations: 4 kB / 408.8 MB, free: 2.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=149): time 0.151/0.2732, allocations: 4.261 MB / 413.1 MB, free: 64.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.2733, allocations: 69.47 kB / 413.2 MB, free: 64.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.2752, allocations: 1.941 MB / 415.1 MB, free: 64.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.966e-05/0.2753, allocations: 45.98 kB / 415.1 MB, free: 64.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007584/0.276, allocations: 2.281 MB / 417.4 MB, free: 62.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.2764, allocations: 0.5905 MB / 418 MB, free: 62.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007053/0.2771, allocations: 0.8415 MB / 418.9 MB, free: 62.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.275e-05/0.2771, allocations: 0.5153 MB / 419.4 MB, free: 61.87 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007188/0.2779, allocations: 425.6 kB / 419.8 MB, free: 61.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.2794, allocations: 3.524 MB / 423.3 MB, free: 57.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003034/0.2824, allocations: 4.328 MB / 427.6 MB, free: 53.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.045e-05/0.2824, allocations: 21.12 kB / 427.7 MB, free: 53.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.004398/0.2868, allocations: 3.267 MB / 430.9 MB, free: 53.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.2869, allocations: 38.25 kB / 431 MB, free: 53.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.315e-05/0.2869, allocations: 75.28 kB / 431 MB, free: 53.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/0.2875, allocations: 291.6 kB / 431.3 MB, free: 53.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.2889, allocations: 0.8562 MB / 432.2 MB, free: 53.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001963/0.2909, allocations: 3.082 MB / 435.3 MB, free: 51.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.292, allocations: 192.1 kB / 435.4 MB, free: 51.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/0.2922, allocations: 232.5 kB / 435.7 MB, free: 51.26 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.0007031/0.2929, allocations: 461.4 kB / 436.1 MB, free: 50.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.2931, allocations: 233.5 kB / 436.3 MB, free: 50.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.2942, allocations: 1.005 MB / 437.4 MB, free: 50.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.462e-05/0.2943, allocations: 28.84 kB / 437.4 MB, free: 50.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2943, allocations: 3.469 kB / 437.4 MB, free: 50.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.2943, allocations: 8.531 kB / 437.4 MB, free: 50.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/0.2984, allocations: 3.708 MB / 441.1 MB, free: 48.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.2984, allocations: 0 / 441.1 MB, free: 48.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.2988, allocations: 197.5 kB / 441.3 MB, free: 47.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000383/0.2992, allocations: 193.8 kB / 441.5 MB, free: 47.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.2993, allocations: 31.73 kB / 441.5 MB, free: 47.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/0.3005, allocations: 2.44 MB / 444 MB, free: 45.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.3005, allocations: 4 kB / 444 MB, free: 45.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.3019, allocations: 1.475 MB / 445.4 MB, free: 43.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.302, allocations: 177.5 kB / 445.6 MB, free: 43.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.3022, allocations: 24 kB / 445.6 MB, free: 43.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.3025, allocations: 65.84 kB / 445.7 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3026, allocations: 96.47 kB / 445.8 MB, free: 43.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.3027, allocations: 44.55 kB / 445.8 MB, free: 43.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007236/0.3034, allocations: 0.87 MB / 446.7 MB, free: 42.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3034, allocations: 0 / 446.7 MB, free: 42.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001546/0.3049, allocations: 0.6619 MB / 447.4 MB, free: 42.26 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.000233/0.3052, allocations: 153.2 kB / 447.5 MB, free: 42.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.3071, allocations: 1.977 MB / 449.5 MB, free: 40.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3071, allocations: 0 / 449.5 MB, free: 40.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005231/0.3077, allocations: 0.6476 MB / 450.1 MB, free: 39.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007948/0.3084, allocations: 282.9 kB / 450.4 MB, free: 39.53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004842/0.3133, allocations: 5.371 MB / 455.8 MB, free: 34.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.3138, allocations: 0.9009 MB / 456.7 MB, free: 33.69 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001117/0.315, allocations: 0.9794 MB / 457.7 MB, free: 32.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.3152, allocations: 148.5 kB / 457.8 MB, free: 32.56 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3152, allocations: 2.078 kB / 457.8 MB, free: 32.56 MB / 330.7 MB Notification: Performance of Templates: time 0.02374/0.3389, allocations: 21.42 MB / 479.2 MB, free: 11.46 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.512359206099063]