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.00256/0.00256, allocations: 81.5 kB / 19.44 MB, free: 344 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.002986/0.002986, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.05454/0.05454, allocations: 7.18 MB / 266.7 MB, free: 6.098 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.433e-06/1.433e-06, allocations: 3.938 kB / 338.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.01e-05, allocations: 2.312 kB / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.007124/0.007154, allocations: 8.094 MB / 346.2 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005016/0.01217, allocations: 2.591 MB / 348.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.01352, allocations: 43.81 kB / 348.8 MB, free: 15.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.01461, allocations: 377.4 kB / 349.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004007/0.01862, allocations: 1.493 MB / 350.7 MB, free: 13.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.01901, allocations: 135.7 kB / 350.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003503/0.02251, allocations: 2.568 MB / 353.4 MB, free: 11.22 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.02386, allocations: 0.7848 MB / 354.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002286/0.02614, allocations: 1.372 MB / 355.6 MB, free: 9.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002266/0.02841, allocations: 1.309 MB / 356.9 MB, free: 7.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004925/0.0289, allocations: 232 kB / 357.1 MB, free: 7.496 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001769/0.03067, allocations: 0.8307 MB / 357.9 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001502/0.03217, allocations: 1.27 MB / 359.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.03352, allocations: 0.8175 MB / 360 MB, free: 4.57 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007405/0.04093, allocations: 4.964 MB / 365 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.04093, allocations: 0 / 365 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.04094, allocations: 0 / 365 MB, free: 15.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001711/0.04111, allocations: 0 / 365 MB, free: 15.59 MB / 298.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.01232/0.05343, allocations: 4.565 MB / 369.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.05348, allocations: 8.625 kB / 369.6 MB, free: 10.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00814/0.06162, allocations: 2.202 MB / 371.8 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003908/0.06552, allocations: 1.236 MB / 373 MB, free: 7.484 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.06571, allocations: 148 kB / 373.1 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000703/0.06641, allocations: 200.2 kB / 373.3 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.07701, allocations: 4.507 MB / 377.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.865e-05/0.0771, allocations: 27.7 kB / 377.9 MB, free: 2.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002979/0.07739, allocations: 87.88 kB / 378 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003508/0.0809, allocations: 1.848 MB / 379.8 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.09209, allocations: 2.85 MB / 382.7 MB, free: 13.33 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1927/0.2848, allocations: 36.45 MB / 419.1 MB, free: 55.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004158/0.2889, allocations: 1.218 MB / 420.3 MB, free: 55.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008109/0.2898, allocations: 390.9 kB / 420.7 MB, free: 55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006352/0.2961, allocations: 2.754 MB / 423.5 MB, free: 54.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.2961, allocations: 53.7 kB / 423.5 MB, free: 54.55 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 3.546e-06/0.2961, allocations: 0 / 423.5 MB, free: 54.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=153): time 0.01025/0.3064, allocations: 4.636 MB / 428.1 MB, free: 53.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.3064, allocations: 70.62 kB / 428.2 MB, free: 53.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002668/0.3091, allocations: 2.591 MB / 430.8 MB, free: 52.58 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.3091, allocations: 45.14 kB / 430.8 MB, free: 52.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009565/0.3101, allocations: 2.409 MB / 433.3 MB, free: 50.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/0.3105, allocations: 0.6597 MB / 433.9 MB, free: 50.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001036/0.3115, allocations: 1.016 MB / 434.9 MB, free: 49.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3116, allocations: 0.5418 MB / 435.5 MB, free: 49.21 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.3127, allocations: 0.528 MB / 436 MB, free: 49.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.3148, allocations: 3.784 MB / 439.8 MB, free: 44.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003316/0.3181, allocations: 4.689 MB / 444.5 MB, free: 39.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.323e-05/0.3181, allocations: 24 kB / 444.5 MB, free: 39.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=515) (initialization): time 0.00511/0.3232, allocations: 3.497 MB / 448 MB, free: 36.57 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.3233, allocations: 36 kB / 448 MB, free: 36.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-05/0.3233, allocations: 76 kB / 448.1 MB, free: 36.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008636/0.3242, allocations: 306.2 kB / 448.4 MB, free: 36.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/0.3263, allocations: 0.8539 MB / 449.3 MB, free: 35.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.3292, allocations: 3.279 MB / 452.5 MB, free: 31.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.3313, allocations: 187.9 kB / 452.7 MB, free: 31.72 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/0.3315, allocations: 234.5 kB / 452.9 MB, free: 31.49 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.001007/0.3325, allocations: 0.5532 MB / 453.5 MB, free: 30.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002823/0.3328, allocations: 242.6 kB / 453.7 MB, free: 30.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.3349, allocations: 1.108 MB / 454.8 MB, free: 29.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.465e-05/0.335, allocations: 27.98 kB / 454.9 MB, free: 29.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.335, allocations: 0 / 454.9 MB, free: 29.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.335, allocations: 14.91 kB / 454.9 MB, free: 29.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00822/0.3432, allocations: 4.807 MB / 459.7 MB, free: 24.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.3432, allocations: 4 kB / 459.7 MB, free: 24.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000746/0.344, allocations: 203.7 kB / 459.9 MB, free: 24.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007108/0.3447, allocations: 199.8 kB / 460.1 MB, free: 24.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.387e-05/0.3448, allocations: 31.98 kB / 460.1 MB, free: 24.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/0.3469, allocations: 2.569 MB / 462.7 MB, free: 21.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3469, allocations: 11.97 kB / 462.7 MB, free: 21.54 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.3496, allocations: 1.71 MB / 464.4 MB, free: 19.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.35, allocations: 190.5 kB / 464.6 MB, free: 19.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.3502, allocations: 29.62 kB / 464.6 MB, free: 19.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006724/0.3509, allocations: 63.92 kB / 464.7 MB, free: 19.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.351, allocations: 96.77 kB / 464.8 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.102e-05/0.3511, allocations: 46.27 kB / 464.8 MB, free: 19.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001461/0.3526, allocations: 1.102 MB / 465.9 MB, free: 18.25 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3526, allocations: 0 / 465.9 MB, free: 18.25 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002738/0.3553, allocations: 0.6639 MB / 466.6 MB, free: 17.58 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.0002969/0.3556, allocations: 154.8 kB / 466.7 MB, free: 17.43 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003608/0.3592, allocations: 2.319 MB / 469.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3592, allocations: 0.75 kB / 469.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009686/0.3602, allocations: 0.7439 MB / 469.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.3615, allocations: 282.2 kB / 470.1 MB, free: 14.08 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007616/0.3691, allocations: 5.485 MB / 475.6 MB, free: 8.512 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.3708, allocations: 1.811 MB / 477.4 MB, free: 6.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001924/0.3727, allocations: 0.9783 MB / 478.4 MB, free: 5.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.3731, allocations: 152.5 kB / 478.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of SimCode: time 1.363e-06/0.3731, allocations: 0 / 478.5 MB, free: 5.527 MB / 330.7 MB Notification: Performance of Templates: time 0.04006/0.4131, allocations: 20.58 MB / 499.1 MB, free: 1.238 MB / 346.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: 5.5442145329434425]