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.00135/0.00135, allocations: 69.11 kB / 20.65 MB, free: 3.848 MB / 18.57 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.00123/0.00123, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.045/1.045, allocations: 177.1 MB / 204.5 MB, free: 4.973 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.02876/0.02876, allocations: 7.183 MB / 268.2 MB, free: 5.73 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.313e-06/1.313e-06, allocations: 0 / 340.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.788e-05, allocations: 2.312 kB / 340.1 MB, free: 10.96 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.CraneCrabTo3D): time 0.0286/0.02862, allocations: 13.58 MB / 353.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0132/0.04182, allocations: 4.548 MB / 358.2 MB, free: 8.754 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.04325, allocations: 87.62 kB / 358.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00249/0.04574, allocations: 1.692 MB / 360 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004453/0.05019, allocations: 2.706 MB / 362.7 MB, free: 4.25 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009568/0.05115, allocations: 0.6198 MB / 363.3 MB, free: 3.629 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005267/0.05641, allocations: 5.631 MB / 368.9 MB, free: 13.99 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003246/0.05966, allocations: 3.072 MB / 372 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002972/0.06263, allocations: 2.751 MB / 374.8 MB, free: 8.105 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.06504, allocations: 2.669 MB / 377.4 MB, free: 5.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005128/0.06556, allocations: 388 kB / 377.8 MB, free: 5.051 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.06694, allocations: 1.174 MB / 379 MB, free: 3.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001664/0.06861, allocations: 2.415 MB / 381.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.06979, allocations: 1.499 MB / 382.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005743/0.07553, allocations: 5.715 MB / 388.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.07554, allocations: 0 / 388.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.07554, allocations: 0 / 388.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002489/0.07579, allocations: 4 kB / 388.6 MB, free: 10.21 MB / 362.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.01116/0.08695, allocations: 6.955 MB / 395.6 MB, free: 3.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.08699, allocations: 8.031 kB / 395.6 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005997/0.09299, allocations: 2.33 MB / 397.9 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/0.09623, allocations: 2.382 MB / 400.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.09639, allocations: 275.1 kB / 400.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004815/0.09687, allocations: 359.6 kB / 400.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008469/0.1053, allocations: 7.167 MB / 408.1 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001089/0.1054, allocations: 55.56 kB / 408.1 MB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003577/0.1058, allocations: 171.8 kB / 408.3 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002553/0.1084, allocations: 2.789 MB / 411.1 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007767/0.1161, allocations: 3.415 MB / 414.5 MB, free: 14.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1833/0.2994, allocations: 55.75 MB / 470.3 MB, free: 81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005167/0.3046, allocations: 2.79 MB / 473 MB, free: 80.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007111/0.3053, allocations: 0.557 MB / 473.6 MB, free: 80.79 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006494/0.3118, allocations: 4.759 MB / 478.4 MB, free: 79.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3118, allocations: 58.48 kB / 478.4 MB, free: 79.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=240): time 4.489e-06/0.3119, allocations: 0 / 478.4 MB, free: 79.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=268): time 0.01299/0.3248, allocations: 6.713 MB / 485.1 MB, free: 78.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3249, allocations: 156.5 kB / 485.3 MB, free: 78.51 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003513/0.3284, allocations: 4.387 MB / 489.7 MB, free: 77.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.3285, allocations: 62.27 kB / 489.7 MB, free: 77.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.3302, allocations: 4.523 MB / 494.3 MB, free: 75.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006362/0.3308, allocations: 1.107 MB / 495.4 MB, free: 74.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/0.3323, allocations: 1.825 MB / 497.2 MB, free: 73.24 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.262e-05/0.3323, allocations: 476.8 kB / 497.7 MB, free: 72.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.3338, allocations: 0.7505 MB / 498.4 MB, free: 72.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003671/0.3374, allocations: 8.009 MB / 0.4945 GB, free: 62.85 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005425/0.3429, allocations: 9.593 MB / 0.5039 GB, free: 52.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/0.343, allocations: 49.97 kB / 0.504 GB, free: 52.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.007459/0.3504, allocations: 6.473 MB / 0.5103 GB, free: 50.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.656e-05/0.3505, allocations: 78.41 kB / 0.5104 GB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/0.3506, allocations: 171.6 kB / 0.5105 GB, free: 50.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008131/0.3514, allocations: 420.5 kB / 0.5109 GB, free: 50.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.3544, allocations: 1.819 MB / 0.5127 GB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.3568, allocations: 4.887 MB / 0.5175 GB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003662/0.3605, allocations: 352.2 kB / 0.5178 GB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004248/0.3609, allocations: 439.3 kB / 0.5182 GB, free: 45.43 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.001963/0.3629, allocations: 0.8071 MB / 0.519 GB, free: 44.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006932/0.3636, allocations: 499.1 kB / 0.5195 GB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.3653, allocations: 1.437 MB / 0.5209 GB, free: 43.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.3653, allocations: 28 kB / 0.5209 GB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.3654, allocations: 4 kB / 0.5209 GB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.3654, allocations: 14.31 kB / 0.5209 GB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008837/0.3742, allocations: 6.07 MB / 0.5269 GB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.3742, allocations: 8.734 kB / 0.5269 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008358/0.375, allocations: 332.3 kB / 0.5272 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004808/0.3755, allocations: 206.1 kB / 0.5274 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.3756, allocations: 53.86 kB / 0.5274 GB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/0.3775, allocations: 4.076 MB / 0.5314 GB, free: 33.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.3775, allocations: 14.28 kB / 0.5314 GB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.3805, allocations: 2.727 MB / 0.5341 GB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000873/0.3814, allocations: 397.7 kB / 0.5345 GB, free: 30.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003645/0.3818, allocations: 46.8 kB / 0.5345 GB, free: 30.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007866/0.3825, allocations: 44 kB / 0.5346 GB, free: 30.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.3828, allocations: 166.1 kB / 0.5347 GB, free: 30.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.823e-05/0.3829, allocations: 62.72 kB / 0.5348 GB, free: 29.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002067/0.3849, allocations: 1.717 MB / 0.5365 GB, free: 28.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3849, allocations: 0 / 0.5365 GB, free: 28.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005025/0.39, allocations: 1.293 MB / 0.5377 GB, free: 27.3 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.0004473/0.3904, allocations: 200.9 kB / 0.5379 GB, free: 27.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005116/0.3955, allocations: 3.851 MB / 0.5417 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.3955, allocations: 0 / 0.5417 GB, free: 23.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.3966, allocations: 1.1 MB / 0.5427 GB, free: 22.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.3988, allocations: 0.5205 MB / 0.5433 GB, free: 22.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.4109, allocations: 10.12 MB / 0.5531 GB, free: 12.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/0.4123, allocations: 1.677 MB / 0.5548 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001955/0.4142, allocations: 0.656 MB / 0.5554 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009024/0.4151, allocations: 0.7408 MB / 0.5561 GB, free: 10.37 MB / 410.7 MB Notification: Performance of SimCode: time 2.104e-06/0.4151, allocations: 4 kB / 0.5561 GB, free: 10.36 MB / 410.7 MB Notification: Performance of Templates: time 0.06262/0.4778, allocations: 37.89 MB / 0.5931 GB, free: 5.945 MB / 442.7 MB " [Timeout remaining time 660] 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.611563099082559]