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.001031/0.001031, 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.001598/0.001598, allocations: 169 kB / 23.02 MB, free: 1.555 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.964/0.964, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.03738/0.03738, allocations: 7.171 MB / 267.1 MB, free: 6.07 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.793e-06/1.793e-06, allocations: 0 / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.197e-05, allocations: 4.844 kB / 338.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.00859/0.008622, allocations: 8.142 MB / 347 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004101/0.01272, allocations: 2.604 MB / 349.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006791/0.0134, allocations: 35.88 kB / 349.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00071/0.01411, allocations: 377.4 kB / 350 MB, free: 15.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.01622, allocations: 1.497 MB / 351.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.01646, allocations: 131.7 kB / 351.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001837/0.01829, allocations: 2.567 MB / 354.2 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006972/0.01899, allocations: 0.777 MB / 355 MB, free: 10 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.02005, allocations: 1.387 MB / 356.4 MB, free: 8.613 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.02121, allocations: 1.309 MB / 357.7 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002521/0.02146, allocations: 232 kB / 357.9 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009257/0.02239, allocations: 0.8268 MB / 358.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007034/0.02309, allocations: 1.27 MB / 360 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006071/0.0237, allocations: 0.8136 MB / 360.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002431/0.02613, allocations: 3.28 MB / 364.1 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.02613, allocations: 7.938 kB / 364.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.02613, allocations: 0 / 364.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.21e-05/0.02615, allocations: 0 / 364.1 MB, free: 0.8555 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.00493/0.03108, allocations: 4.152 MB / 368.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.03112, allocations: 12.62 kB / 368.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003929/0.03505, allocations: 2.199 MB / 370.5 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.03655, allocations: 1.232 MB / 371.7 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.34e-05/0.03664, allocations: 152 kB / 371.8 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/0.0369, allocations: 192.2 kB / 372 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004627/0.04153, allocations: 3.992 MB / 376 MB, free: 4.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.485e-05/0.04158, allocations: 23.77 kB / 376 MB, free: 4.336 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.04176, allocations: 91.86 kB / 376.1 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00164/0.0434, allocations: 1.844 MB / 378 MB, free: 2.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004083/0.04748, allocations: 2.331 MB / 380.3 MB, free: 52 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.06433, allocations: 24.4 MB / 404.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.0667, allocations: 1.083 MB / 405.8 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004497/0.06715, allocations: 322.9 kB / 406.1 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003405/0.07056, allocations: 2.583 MB / 408.7 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.07059, allocations: 46.39 kB / 408.7 MB, free: 2.969 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 3.437e-06/0.07059, allocations: 4 kB / 408.7 MB, free: 2.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=153): time 0.1512/0.2218, allocations: 4.338 MB / 413.1 MB, free: 71.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.2218, allocations: 66.27 kB / 413.1 MB, free: 71.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.2238, allocations: 1.937 MB / 415.1 MB, free: 71.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.2239, allocations: 45.17 kB / 415.1 MB, free: 71.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009628/0.2248, allocations: 2.282 MB / 417.4 MB, free: 70.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.2252, allocations: 0.6064 MB / 418 MB, free: 69.81 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008599/0.2261, allocations: 0.8419 MB / 418.9 MB, free: 69.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.2261, allocations: 0.5124 MB / 419.4 MB, free: 69.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007534/0.2269, allocations: 427.6 kB / 419.8 MB, free: 69.22 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.2286, allocations: 3.513 MB / 423.3 MB, free: 65.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/0.2314, allocations: 4.318 MB / 427.6 MB, free: 61.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.111e-05/0.2314, allocations: 24.8 kB / 427.6 MB, free: 61.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=515) (initialization): time 0.003459/0.2349, allocations: 3.273 MB / 430.9 MB, free: 60.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.2349, allocations: 35.47 kB / 430.9 MB, free: 60.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.049e-05/0.235, allocations: 75.78 kB / 431 MB, free: 60.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.2355, allocations: 292.3 kB / 431.3 MB, free: 60.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.2368, allocations: 0.8585 MB / 432.2 MB, free: 60.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.2387, allocations: 3.076 MB / 435.2 MB, free: 57.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.2399, allocations: 196.9 kB / 435.4 MB, free: 57.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.2401, allocations: 234.2 kB / 435.7 MB, free: 57.64 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.0007628/0.2408, allocations: 466.4 kB / 436.1 MB, free: 57.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.241, allocations: 229.8 kB / 436.3 MB, free: 57.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.2422, allocations: 1.02 MB / 437.4 MB, free: 56.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-05/0.2422, allocations: 24.5 kB / 437.4 MB, free: 56.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2422, allocations: 4 kB / 437.4 MB, free: 56.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2422, allocations: 7.781 kB / 437.4 MB, free: 56.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/0.2465, allocations: 3.772 MB / 441.2 MB, free: 53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2465, allocations: 0 / 441.2 MB, free: 53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004145/0.2469, allocations: 204.5 kB / 441.4 MB, free: 52.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004271/0.2474, allocations: 194 kB / 441.6 MB, free: 52.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-05/0.2474, allocations: 27.66 kB / 441.6 MB, free: 52.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.2487, allocations: 2.447 MB / 444 MB, free: 50.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2488, allocations: 7.938 kB / 444 MB, free: 50.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.2502, allocations: 1.519 MB / 445.6 MB, free: 48.77 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.2504, allocations: 182.3 kB / 445.7 MB, free: 48.6 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.2505, allocations: 24 kB / 445.8 MB, free: 48.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/0.2508, allocations: 66.5 kB / 445.8 MB, free: 48.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.251, allocations: 90.19 kB / 445.9 MB, free: 48.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.926e-05/0.251, allocations: 47.8 kB / 446 MB, free: 48.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007437/0.2517, allocations: 0.8624 MB / 446.8 MB, free: 47.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2517, allocations: 4 kB / 446.8 MB, free: 47.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002208/0.254, allocations: 0.6625 MB / 447.5 MB, free: 47.07 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.0002584/0.2542, allocations: 155.9 kB / 447.6 MB, free: 46.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002287/0.2565, allocations: 1.989 MB / 449.6 MB, free: 45.14 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2565, allocations: 0 / 449.6 MB, free: 45.14 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005475/0.2571, allocations: 0.658 MB / 450.3 MB, free: 44.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/0.2578, allocations: 276.7 kB / 450.6 MB, free: 44.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.2632, allocations: 5.394 MB / 456 MB, free: 38.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.2638, allocations: 0.9041 MB / 456.9 MB, free: 37.94 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001178/0.265, allocations: 0.977 MB / 457.8 MB, free: 36.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.2652, allocations: 152.5 kB / 458 MB, free: 36.82 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.2652, allocations: 0 / 458 MB, free: 36.82 MB / 330.7 MB Notification: Performance of Templates: time 0.0251/0.2903, allocations: 20.6 MB / 478.6 MB, free: 16.55 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.5216441601514816]