Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.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.001076/0.001076, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002451, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001083/0.001083, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002409, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9684/0.9684, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09897/1.067, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.02787/0.02787, allocations: 7.184 MB / 251.2 MB, free: 7.867 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004563/0.03243, allocations: 2.553 MB / 253.7 MB, free: 5.309 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.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 255 MB, free: 4.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.809e-06/1.154e-05, allocations: 2.312 kB / 255 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.01102/0.01103, allocations: 13.72 MB / 268.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008421/0.01945, allocations: 4.772 MB / 273.5 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009367/0.02039, allocations: 87.62 kB / 273.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1258/0.1462, allocations: 1.671 MB / 275.2 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005962/0.1521, allocations: 2.67 MB / 277.9 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.1537, allocations: 0.5712 MB / 278.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00809/0.1618, allocations: 5.551 MB / 284 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004756/0.1666, allocations: 2.776 MB / 286.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005596/0.1722, allocations: 2.865 MB / 289.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003543/0.1757, allocations: 2.527 MB / 292.2 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.1768, allocations: 385.3 kB / 292.5 MB, free: 14.83 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.179, allocations: 1.196 MB / 293.7 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002231/0.1813, allocations: 2.16 MB / 295.9 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002952/0.1842, allocations: 1.238 MB / 297.1 MB, free: 12.28 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006878/0.1911, allocations: 5.368 MB / 302.5 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.58e-05/0.1911, allocations: 0 / 302.5 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1911, allocations: 5.844 kB / 302.5 MB, free: 7.289 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001728/0.1913, allocations: 0 / 302.5 MB, free: 7.289 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: 2081 * Number of variables: 2081 Notification: Performance of Generate backend data structure: time 0.009927/0.2012, allocations: 7.036 MB / 309.6 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2012, allocations: 9.641 kB / 309.6 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006167/0.2074, allocations: 1.794 MB / 311.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.2111, allocations: 2.123 MB / 313.5 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.2113, allocations: 273.7 kB / 313.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000658/0.212, allocations: 359.2 kB / 314.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.2228, allocations: 6.471 MB / 320.6 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000112/0.2229, allocations: 54.86 kB / 320.6 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004143/0.2233, allocations: 174.5 kB / 320.8 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003269/0.2266, allocations: 2.812 MB / 323.6 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009225/0.2358, allocations: 3.483 MB / 327.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03975/0.2756, allocations: 40.06 MB / 367.1 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005048/0.2806, allocations: 2.78 MB / 369.9 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/0.2814, allocations: 472.7 kB / 370.4 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007325/0.2887, allocations: 4.428 MB / 374.8 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.2888, allocations: 63.86 kB / 374.9 MB, free: 4 kB / 346.7 MB Notification: Performance of pre-optimization done (n=240): time 5.62e-06/0.2888, allocations: 0 / 374.9 MB, free: 4 kB / 346.7 MB Notification: Performance of matching and sorting (n=268): time 0.01462/0.3034, allocations: 6.275 MB / 381.1 MB, free: 9.805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/0.3035, allocations: 154.5 kB / 381.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004414/0.3079, allocations: 3.937 MB / 385.2 MB, free: 6.148 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001403/0.308, allocations: 65.69 kB / 385.3 MB, free: 6.078 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002133/0.3102, allocations: 4.088 MB / 389.4 MB, free: 1.949 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007799/0.3109, allocations: 1.046 MB / 390.4 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001694/0.3126, allocations: 1.565 MB / 392 MB, free: 15.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.3127, allocations: 305.1 kB / 392.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.3148, allocations: 0.9925 MB / 393.3 MB, free: 14.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004341/0.3191, allocations: 5.675 MB / 399 MB, free: 5.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00719/0.3263, allocations: 7.429 MB / 406.4 MB, free: 12.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001375/0.3265, allocations: 48 kB / 406.4 MB, free: 12.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.009198/0.3357, allocations: 5.528 MB / 412 MB, free: 6.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.138e-05/0.3358, allocations: 80 kB / 412 MB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001683/0.3359, allocations: 172.8 kB / 412.2 MB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007995/0.3367, allocations: 420.2 kB / 412.6 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004909/0.3416, allocations: 2.02 MB / 414.6 MB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.3445, allocations: 3.737 MB / 418.4 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003884/0.3484, allocations: 359.5 kB / 418.7 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007168/0.3491, allocations: 432 kB / 419.2 MB, free: 15.06 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 781 * Number of states: 0 () * Number of discrete variables: 36 (fixedRotation3D.color[3],fixedRotation3D.color[2],fixedRotation3D.color[1],body3D.sphereColor[3],body3D.sphereColor[2],body3D.sphereColor[1],prismatic3D.boxColor[3],prismatic3D.boxColor[2],prismatic3D.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1019): * Single equations (assignments): 1009 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,17,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001854/0.351, allocations: 0.7699 MB / 419.9 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005276/0.3515, allocations: 291.6 kB / 420.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.353, allocations: 1.219 MB / 421.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/0.353, allocations: 28 kB / 421.5 MB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.353, allocations: 7.938 kB / 421.5 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.3531, allocations: 15.95 kB / 421.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006386/0.3594, allocations: 5.075 MB / 426.6 MB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.3595, allocations: 8 kB / 426.6 MB, free: 7.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008919/0.3603, allocations: 375.5 kB / 426.9 MB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005918/0.3609, allocations: 381 kB / 427.3 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006367/0.3616, allocations: 417.2 kB / 427.7 MB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.872e-05/0.3617, allocations: 44 kB / 427.8 MB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.3635, allocations: 2.975 MB / 430.7 MB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.3635, allocations: 7.938 kB / 430.7 MB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.3657, allocations: 2.28 MB / 433 MB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004167/0.3661, allocations: 48 kB / 433.1 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007099/0.3668, allocations: 47.98 kB / 433.1 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.367, allocations: 164.9 kB / 433.3 MB, free: 380 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.665e-05/0.3671, allocations: 55.98 kB / 433.3 MB, free: 324 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.1337/0.5008, allocations: 1.419 MB / 434.7 MB, free: 114 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5008, allocations: 0 / 434.7 MB, free: 114 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004706/0.5055, allocations: 1.286 MB / 436 MB, free: 114 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel,prismatic3D.s,prismatic3D.v) * 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 (203): * Single equations (assignments): 195 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,15,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003948/0.5059, allocations: 186.1 kB / 436.2 MB, free: 113.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004522/0.5104, allocations: 3.472 MB / 439.7 MB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002799/0.5107, allocations: 134.6 kB / 439.8 MB, free: 113.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.5118, allocations: 0.8905 MB / 440.7 MB, free: 113.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.5141, allocations: 0.8053 MB / 441.5 MB, free: 113.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01656/0.5307, allocations: 10.43 MB / 451.9 MB, free: 109.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001804/0.5325, allocations: 1.657 MB / 453.6 MB, free: 109 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002048/0.5346, allocations: 0.6532 MB / 454.3 MB, free: 108.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.5356, allocations: 0.6931 MB / 454.9 MB, free: 108.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.5356, allocations: 0 / 454.9 MB, free: 108.8 MB / 410.7 MB Notification: Performance of Templates: time 0.05878/0.5943, allocations: 37.78 MB / 492.7 MB, free: 83.2 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.sim & ./PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.010799260810018]