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.001284/0.001284, allocations: 92.7 kB / 19.44 MB, free: 324 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.001538/0.001538, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.446/1.446, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.04943/0.04943, allocations: 7.183 MB / 266.7 MB, free: 6.09 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.794e-06/1.794e-06, allocations: 0 / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.132e-05, allocations: 6.25 kB / 338.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrab): time 0.00613/0.006151, allocations: 7.408 MB / 345.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003632/0.009783, allocations: 2.525 MB / 348.1 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005101/0.01029, allocations: 35.88 kB / 348.1 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006221/0.01092, allocations: 373.4 kB / 348.5 MB, free: 180 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003038/0.01395, allocations: 1.501 MB / 350 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003342/0.01429, allocations: 131.7 kB / 350.1 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003041/0.01733, allocations: 2.563 MB / 352.7 MB, free: 11.97 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.01847, allocations: 0.7848 MB / 353.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.02029, allocations: 1.375 MB / 354.8 MB, free: 9.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.02222, allocations: 1.309 MB / 356.1 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003825/0.02261, allocations: 232 kB / 356.4 MB, free: 8.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.02409, allocations: 0.8268 MB / 357.2 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001346/0.02544, allocations: 1.27 MB / 358.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.02655, allocations: 0.8175 MB / 359.3 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006181/0.03273, allocations: 4.953 MB / 364.2 MB, free: 356 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.03274, allocations: 4 kB / 364.2 MB, free: 352 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.03274, allocations: 3.938 kB / 364.2 MB, free: 348 kB / 282.7 MB Notification: Performance of Transformations before backend: time 9.976e-05/0.03284, allocations: 0 / 364.2 MB, free: 348 kB / 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.01011/0.04295, allocations: 3.859 MB / 368.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.043, allocations: 8.625 kB / 368.1 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007899/0.0509, allocations: 2.277 MB / 370.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.05383, allocations: 1.304 MB / 371.7 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.054, allocations: 152 kB / 371.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004452/0.05444, allocations: 200.2 kB / 372 MB, free: 8.465 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01309/0.06753, allocations: 7.916 MB / 379.9 MB, free: 192 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.09e-05/0.0676, allocations: 23.77 kB / 380 MB, free: 168 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002968/0.06789, allocations: 87.88 kB / 380 MB, free: 80 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00331/0.0712, allocations: 1.848 MB / 381.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.0857, allocations: 7.094 MB / 389 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03699/0.1227, allocations: 21.75 MB / 410.7 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.117/0.2396, allocations: 1.967 MB / 412.7 MB, free: 76.88 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.2409, allocations: 0.7693 MB / 413.5 MB, free: 76.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006864/0.2478, allocations: 3.086 MB / 416.6 MB, free: 75.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.2478, allocations: 52.75 kB / 416.6 MB, free: 75.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 3.567e-06/0.2478, allocations: 0.625 kB / 416.6 MB, free: 75.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=153): time 0.01354/0.2613, allocations: 6.9 MB / 423.5 MB, free: 73.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.2614, allocations: 67.72 kB / 423.6 MB, free: 73.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00269/0.2641, allocations: 2.216 MB / 425.8 MB, free: 72.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.329e-05/0.2641, allocations: 45.7 kB / 425.8 MB, free: 72.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008087/0.2649, allocations: 2.171 MB / 428 MB, free: 70.48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.2653, allocations: 0.5953 MB / 428.6 MB, free: 69.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009432/0.2662, allocations: 0.7823 MB / 429.4 MB, free: 69.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.686e-05/0.2663, allocations: 349 kB / 429.7 MB, free: 68.89 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/0.2682, allocations: 1.278 MB / 431 MB, free: 67.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/0.2709, allocations: 3.389 MB / 434.4 MB, free: 63.65 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/0.2752, allocations: 5.009 MB / 439.4 MB, free: 57.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-05/0.2752, allocations: 20 kB / 439.4 MB, free: 57.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=515) (initialization): time 0.006708/0.2819, allocations: 5.034 MB / 444.5 MB, free: 52.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.282, allocations: 36 kB / 444.5 MB, free: 52.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.207e-05/0.2821, allocations: 76 kB / 444.6 MB, free: 52.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009373/0.283, allocations: 383 kB / 444.9 MB, free: 52.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002257/0.2853, allocations: 0.8617 MB / 445.8 MB, free: 51.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003435/0.2887, allocations: 3.51 MB / 449.3 MB, free: 47.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.291, allocations: 195.9 kB / 449.5 MB, free: 47.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002926/0.2913, allocations: 228 kB / 449.7 MB, free: 47.33 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.001827/0.2931, allocations: 1.561 MB / 451.3 MB, free: 45.76 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.2935, allocations: 234.7 kB / 451.5 MB, free: 45.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.2963, allocations: 1.943 MB / 453.5 MB, free: 43.58 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.522e-05/0.2964, allocations: 23.98 kB / 453.5 MB, free: 43.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.2964, allocations: 4 kB / 453.5 MB, free: 43.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.2964, allocations: 3.984 kB / 453.5 MB, free: 43.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007572/0.304, allocations: 4.587 MB / 458.1 MB, free: 38.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.304, allocations: 0 / 458.1 MB, free: 38.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007382/0.3047, allocations: 207.7 kB / 458.3 MB, free: 38.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007664/0.3055, allocations: 283.4 kB / 458.6 MB, free: 38.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.698e-05/0.3056, allocations: 38.72 kB / 458.6 MB, free: 38.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/0.3082, allocations: 2.808 MB / 461.4 MB, free: 35.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.3082, allocations: 7.875 kB / 461.4 MB, free: 35.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003776/0.312, allocations: 3.063 MB / 464.5 MB, free: 32.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.3124, allocations: 186.7 kB / 464.7 MB, free: 32.19 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003279/0.3127, allocations: 24 kB / 464.7 MB, free: 32.17 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008083/0.3135, allocations: 74.34 kB / 464.8 MB, free: 32.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.3137, allocations: 100.7 kB / 464.9 MB, free: 32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.866e-05/0.3138, allocations: 40 kB / 464.9 MB, free: 31.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001715/0.3155, allocations: 1.305 MB / 466.2 MB, free: 30.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3155, allocations: 0 / 466.2 MB, free: 30.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002737/0.3182, allocations: 0.6628 MB / 466.9 MB, free: 30 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.0003281/0.3186, allocations: 156.1 kB / 467 MB, free: 29.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004238/0.3228, allocations: 3.03 MB / 470 MB, free: 26.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.3228, allocations: 0 / 470 MB, free: 26.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.324, allocations: 0.9671 MB / 471 MB, free: 25.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.3256, allocations: 272.7 kB / 471.3 MB, free: 25.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009731/0.3354, allocations: 6.504 MB / 477.8 MB, free: 19.01 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00259/0.338, allocations: 2 MB / 479.8 MB, free: 16.98 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002358/0.3403, allocations: 1.123 MB / 480.9 MB, free: 15.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/0.3408, allocations: 152.4 kB / 481.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.303e-06/0.3408, allocations: 0 / 481.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of Templates: time 0.03495/0.3757, allocations: 20.64 MB / 0.4899 GB, free: 11.37 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrab.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.18896166596096]