Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001133/0.001133, allocations: 164.2 kB / 24.91 MB, free: 8.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.004/1.004, allocations: 177 MB / 205.2 MB, free: 5.02 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 34.85 MB / 296.6 MB, free: 452 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 326 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.068e-05, allocations: 7.016 kB / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.009528/0.009548, allocations: 12.54 MB / 338.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007694/0.01724, allocations: 4.917 MB / 343.4 MB, free: 5.555 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.01839, allocations: 95.56 kB / 343.5 MB, free: 5.461 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004003/0.0224, allocations: 4.193 MB / 347.7 MB, free: 1.254 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003226/0.02562, allocations: 2.321 MB / 350 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.02717, allocations: 1.314 MB / 351.3 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005173/0.03234, allocations: 6.545 MB / 357.9 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00356/0.0359, allocations: 4.558 MB / 362.4 MB, free: 2.41 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/0.03909, allocations: 3.852 MB / 366.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00315/0.04224, allocations: 3.122 MB / 369.4 MB, free: 11.42 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006257/0.04286, allocations: 0.5038 MB / 369.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.04482, allocations: 1.627 MB / 371.6 MB, free: 9.289 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001673/0.04649, allocations: 2.84 MB / 374.4 MB, free: 6.441 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.04836, allocations: 1.78 MB / 376.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005393/0.05375, allocations: 6.314 MB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.05376, allocations: 3.984 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.073e-06/0.05376, allocations: 4 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001042/0.05386, allocations: 0 / 382.5 MB, free: 14.31 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.006134/0.06, allocations: 5.991 MB / 388.5 MB, free: 8.258 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.06003, allocations: 8.031 kB / 388.5 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003649/0.06368, allocations: 1.366 MB / 389.9 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/0.06651, allocations: 2.568 MB / 392.4 MB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001865/0.0667, allocations: 372.1 kB / 392.8 MB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004704/0.06717, allocations: 424.3 kB / 393.2 MB, free: 3.461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007273/0.07444, allocations: 6.643 MB / 399.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-05/0.07453, allocations: 51.56 kB / 399.9 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003175/0.07484, allocations: 199.8 kB / 400.1 MB, free: 11.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/0.07647, allocations: 2.18 MB / 402.3 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00565/0.08212, allocations: 3.391 MB / 405.7 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1799/0.262, allocations: 39.27 MB / 444.9 MB, free: 66.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004712/0.2667, allocations: 2.254 MB / 447.2 MB, free: 66.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000634/0.2674, allocations: 0.5538 MB / 447.7 MB, free: 66.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006835/0.2742, allocations: 5.433 MB / 453.2 MB, free: 65.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.2743, allocations: 59.92 kB / 453.2 MB, free: 65.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 3.928e-06/0.2743, allocations: 0 / 453.2 MB, free: 65.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.02568/0.2999, allocations: 11.58 MB / 464.8 MB, free: 64.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.3, allocations: 234.5 kB / 465 MB, free: 64.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.3026, allocations: 3.759 MB / 468.8 MB, free: 63.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.3027, allocations: 57.61 kB / 468.9 MB, free: 63.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.3037, allocations: 3.809 MB / 472.7 MB, free: 60.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003897/0.3041, allocations: 0.8967 MB / 473.6 MB, free: 59.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009774/0.3051, allocations: 1.386 MB / 474.9 MB, free: 58.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.767e-05/0.3051, allocations: 305.1 kB / 475.2 MB, free: 58.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.3063, allocations: 0.9219 MB / 476.2 MB, free: 57.71 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002392/0.3087, allocations: 5.219 MB / 481.4 MB, free: 50.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004217/0.3129, allocations: 6.763 MB / 488.1 MB, free: 42.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.387e-05/0.313, allocations: 44 kB / 488.2 MB, free: 42.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.005777/0.3188, allocations: 5.193 MB / 493.4 MB, free: 38.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.3188, allocations: 72 kB / 493.5 MB, free: 38.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-05/0.3189, allocations: 156 kB / 493.6 MB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00131/0.3202, allocations: 0.6834 MB / 494.3 MB, free: 38.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002406/0.3226, allocations: 1.702 MB / 496 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.3255, allocations: 3.209 MB / 499.2 MB, free: 33.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/0.3279, allocations: 318.4 kB / 499.5 MB, free: 33.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002734/0.3281, allocations: 383.2 kB / 499.9 MB, free: 33.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 707 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (905): * Single equations (assignments): 901 * Array equations: 3 * 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 {(1,31,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00114/0.3293, allocations: 0.707 MB / 0.4889 GB, free: 32.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/0.3296, allocations: 277.3 kB / 0.4891 GB, free: 32.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001798/0.3314, allocations: 1.453 MB / 0.4905 GB, free: 31.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.549e-05/0.3314, allocations: 29.59 kB / 0.4906 GB, free: 31.08 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3314, allocations: 8 kB / 0.4906 GB, free: 31.07 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.3314, allocations: 13.81 kB / 0.4906 GB, free: 31.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006309/0.3378, allocations: 5.813 MB / 0.4963 GB, free: 25.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3378, allocations: 8 kB / 0.4963 GB, free: 25.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007623/0.3385, allocations: 344.2 kB / 0.4966 GB, free: 25.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.3398, allocations: 0.6596 MB / 0.4973 GB, free: 24.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.408e-05/0.3398, allocations: 40 kB / 0.4973 GB, free: 24.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/0.342, allocations: 2.315 MB / 0.4995 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.342, allocations: 7.938 kB / 0.4996 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/0.3444, allocations: 2.605 MB / 0.5021 GB, free: 19.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.3448, allocations: 366.6 kB / 0.5025 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.3451, allocations: 43.98 kB / 0.5025 GB, free: 19.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006894/0.3457, allocations: 50.42 kB / 0.5025 GB, free: 19.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002121/0.346, allocations: 152.9 kB / 0.5027 GB, free: 19.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.537e-05/0.346, allocations: 47.98 kB / 0.5027 GB, free: 19.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009585/0.347, allocations: 1.392 MB / 0.5041 GB, free: 17.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.347, allocations: 0 / 0.5041 GB, free: 17.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003596/0.3506, allocations: 1.324 MB / 0.5054 GB, free: 16.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (revolute.phi,revolute.w) * 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 (179): * Single equations (assignments): 175 * Array equations: 3 * 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 {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003667/0.351, allocations: 230.7 kB / 0.5056 GB, free: 16.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002705/0.3537, allocations: 3.14 MB / 0.5087 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001347/0.3538, allocations: 104.2 kB / 0.5088 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.3544, allocations: 0.7702 MB / 0.5095 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/0.3562, allocations: 0.7609 MB / 0.5103 GB, free: 11.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008023/0.3642, allocations: 9.566 MB / 0.5196 GB, free: 1.949 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.3653, allocations: 1.617 MB / 0.5212 GB, free: 316 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001259/0.3665, allocations: 0.5862 MB / 0.5218 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009232/0.3674, allocations: 0.6456 MB / 0.5224 GB, free: 15.08 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/0.3674, allocations: 3.938 kB / 0.5224 GB, free: 15.08 MB / 426.7 MB Notification: Performance of Templates: time 0.05836/0.4258, allocations: 41.43 MB / 0.5629 GB, free: 6.156 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.176121159922332]