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.001095/0.001095, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001044/0.002139, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006745/0.0006745, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008869/0.001561, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9798/0.9798, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.097/1.077, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.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.2933/0.2933, allocations: 34.88 MB / 279.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02365/0.3169, allocations: 13.23 MB / 292.8 MB, free: 6.414 MB / 282.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.044e-06/2.044e-06, allocations: 0 / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.332e-05/2.537e-05, allocations: 6.969 kB / 294.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.009595/0.009621, allocations: 12.64 MB / 306.7 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008382/0.018, allocations: 4.949 MB / 311.7 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/0.01977, allocations: 99.5 kB / 311.8 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004059/0.02383, allocations: 4.037 MB / 315.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004621/0.02845, allocations: 2.294 MB / 318.1 MB, free: 12.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.03051, allocations: 1.198 MB / 319.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006727/0.03724, allocations: 6.218 MB / 325.5 MB, free: 5.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004525/0.04177, allocations: 4.262 MB / 329.8 MB, free: 1.215 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004838/0.0466, allocations: 3.9 MB / 333.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003941/0.05054, allocations: 3.102 MB / 336.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001166/0.05171, allocations: 0.5039 MB / 337.3 MB, free: 9.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.05416, allocations: 1.634 MB / 338.9 MB, free: 8.043 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002246/0.05641, allocations: 2.525 MB / 341.5 MB, free: 5.512 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002365/0.05878, allocations: 1.441 MB / 342.9 MB, free: 4.066 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006819/0.06559, allocations: 5.823 MB / 348.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.244e-05/0.06561, allocations: 0 / 348.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.06561, allocations: 0 / 348.7 MB, free: 14.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002667/0.06588, allocations: 0 / 348.7 MB, free: 14.22 MB / 346.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.01046/0.07634, allocations: 7.187 MB / 355.9 MB, free: 6.953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.07637, allocations: 8.922 kB / 355.9 MB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004005/0.08038, allocations: 1.37 MB / 357.3 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004094/0.08447, allocations: 2.58 MB / 359.9 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/0.08468, allocations: 372.1 kB / 360.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006843/0.08537, allocations: 420.3 kB / 360.6 MB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008733/0.0941, allocations: 6.639 MB / 367.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/0.09423, allocations: 55.55 kB / 367.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003608/0.09459, allocations: 199.8 kB / 367.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001752/0.09634, allocations: 2.051 MB / 369.6 MB, free: 8.316 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007356/0.1037, allocations: 3.388 MB / 373 MB, free: 4.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03518/0.1389, allocations: 39.3 MB / 412.3 MB, free: 12.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005597/0.1445, allocations: 2.218 MB / 414.5 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008033/0.1453, allocations: 0.5553 MB / 415 MB, free: 9.406 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00786/0.1531, allocations: 5.41 MB / 420.5 MB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.615e-05/0.1532, allocations: 63.5 kB / 420.5 MB, free: 3.902 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 5.18e-06/0.1532, allocations: 0 / 420.5 MB, free: 3.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.02797/0.1812, allocations: 11.53 MB / 432 MB, free: 8.309 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.1812, allocations: 180.2 kB / 432.2 MB, free: 8.098 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003429/0.1847, allocations: 3.759 MB / 436 MB, free: 4.293 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.1848, allocations: 61.7 kB / 436 MB, free: 4.227 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.1864, allocations: 3.802 MB / 439.8 MB, free: 392 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.1747/0.3611, allocations: 0.8869 MB / 440.7 MB, free: 121.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001994/0.3631, allocations: 1.394 MB / 442.1 MB, free: 121.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.587e-05/0.3631, allocations: 307.9 kB / 442.4 MB, free: 120.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.3647, allocations: 0.919 MB / 443.3 MB, free: 120.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002919/0.3676, allocations: 5.224 MB / 448.6 MB, free: 115.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005477/0.3731, allocations: 7.271 MB / 455.8 MB, free: 109.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000167/0.3732, allocations: 43.03 kB / 455.9 MB, free: 109.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.007064/0.3803, allocations: 5.198 MB / 461.1 MB, free: 108.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.559e-05/0.3804, allocations: 78.19 kB / 461.2 MB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001692/0.3805, allocations: 165.5 kB / 461.3 MB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.382, allocations: 0.6843 MB / 462 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003753/0.3858, allocations: 1.817 MB / 463.8 MB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003936/0.3897, allocations: 3.21 MB / 467 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/0.3934, allocations: 321.3 kB / 467.3 MB, free: 105.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004872/0.3939, allocations: 379.1 kB / 467.7 MB, free: 104.9 MB / 426.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.001717/0.3956, allocations: 0.7108 MB / 468.4 MB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000564/0.3961, allocations: 276.7 kB / 468.7 MB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.3985, allocations: 1.464 MB / 470.2 MB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.3985, allocations: 20 kB / 470.2 MB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.3986, allocations: 8 kB / 470.2 MB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.798e-05/0.3986, allocations: 13.64 kB / 470.2 MB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009093/0.4077, allocations: 5.818 MB / 476 MB, free: 99.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003607/0.408, allocations: 14.69 kB / 476 MB, free: 99.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.4092, allocations: 361.7 kB / 476.4 MB, free: 98.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005967/0.4098, allocations: 371.2 kB / 476.7 MB, free: 98.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001751/0.4115, allocations: 0.6562 MB / 477.4 MB, free: 98.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.4116, allocations: 43.84 kB / 477.4 MB, free: 98.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00272/0.4144, allocations: 2.316 MB / 479.8 MB, free: 95.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.4144, allocations: 8 kB / 479.8 MB, free: 95.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.4174, allocations: 2.607 MB / 482.4 MB, free: 93.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004295/0.4179, allocations: 39.94 kB / 482.4 MB, free: 92.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.4189, allocations: 47.98 kB / 482.5 MB, free: 92.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/0.4192, allocations: 148.9 kB / 482.6 MB, free: 92.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.4193, allocations: 55.58 kB / 482.7 MB, free: 92.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001354/0.4206, allocations: 1.392 MB / 484.1 MB, free: 91.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4206, allocations: 32 / 484.1 MB, free: 91.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004832/0.4255, allocations: 1.324 MB / 485.4 MB, free: 90.19 MB / 426.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.0004945/0.426, allocations: 232.2 kB / 485.6 MB, free: 89.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004054/0.43, allocations: 3.277 MB / 488.9 MB, free: 86.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002107/0.4302, allocations: 132.5 kB / 489 MB, free: 86.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.432, allocations: 1.405 MB / 490.4 MB, free: 85.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.4348, allocations: 3.332 MB / 493.7 MB, free: 81.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/0.4495, allocations: 9.842 MB / 0.4918 GB, free: 71.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.4507, allocations: 1.624 MB / 0.4934 GB, free: 69.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001563/0.4523, allocations: 0.5822 MB / 0.4939 GB, free: 69.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007993/0.4531, allocations: 0.6339 MB / 0.4946 GB, free: 68.69 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4531, allocations: 0 / 0.4946 GB, free: 68.69 MB / 426.7 MB Notification: Performance of Templates: time 0.05547/0.5086, allocations: 40.62 MB / 0.5342 GB, free: 28.29 MB / 426.7 MB " [Timeout remaining time 659] 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 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.8969959393143654]