Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.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.001158/0.001158, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001209/0.001209, allocations: 159.4 kB / 25.61 MB, free: 8.582 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.034/1.034, allocations: 177 MB / 205.9 MB, free: 4.457 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.1476/0.1476, allocations: 34.88 MB / 297.4 MB, free: 13.34 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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.63e-05, allocations: 6 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01081/0.01084, allocations: 17.01 MB / 397 MB, free: 5.664 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009753/0.02059, allocations: 5.188 MB / 402.2 MB, free: 472 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002448/0.02304, allocations: 131.4 kB / 402.3 MB, free: 340 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003392/0.02643, allocations: 3.215 MB / 405.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.03071, allocations: 2.722 MB / 408.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.03221, allocations: 1.142 MB / 409.4 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007904/0.04012, allocations: 9.051 MB / 418.5 MB, free: 168 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004732/0.04485, allocations: 4.748 MB / 423.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006005/0.05085, allocations: 4.183 MB / 427.4 MB, free: 7.172 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004876/0.05573, allocations: 3.843 MB / 431.2 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.05692, allocations: 464 kB / 431.7 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.05946, allocations: 1.28 MB / 433 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002332/0.06179, allocations: 3.027 MB / 436 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002463/0.06426, allocations: 1.873 MB / 437.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007907/0.07216, allocations: 6.675 MB / 444.5 MB, free: 5.973 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.07217, allocations: 0 / 444.5 MB, free: 5.973 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.07217, allocations: 0 / 444.5 MB, free: 5.973 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002578/0.07243, allocations: 0 / 444.5 MB, free: 5.973 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: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.01063/0.08306, allocations: 7.431 MB / 452 MB, free: 14.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.0831, allocations: 8.031 kB / 452 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007404/0.0905, allocations: 2.79 MB / 454.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004305/0.09481, allocations: 3.079 MB / 457.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.09499, allocations: 316.4 kB / 458.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005904/0.09558, allocations: 440 kB / 458.6 MB, free: 7.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.1062, allocations: 7.528 MB / 466.1 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/0.1064, allocations: 67.38 kB / 466.2 MB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004328/0.1068, allocations: 203.8 kB / 466.4 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002781/0.1096, allocations: 2.764 MB / 469.2 MB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009755/0.1194, allocations: 3.899 MB / 473.1 MB, free: 8.309 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2279/0.3473, allocations: 53.47 MB / 0.5142 GB, free: 69.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006844/0.3542, allocations: 2.589 MB / 0.5167 GB, free: 69.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.3555, allocations: 0.8029 MB / 0.5175 GB, free: 69.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/0.3671, allocations: 6.702 MB / 0.524 GB, free: 68.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.738e-05/0.3672, allocations: 56.02 kB / 0.5241 GB, free: 68.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=256): time 6.583e-06/0.3672, allocations: 0 / 0.5241 GB, free: 68.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=272): time 0.02494/0.3921, allocations: 10.71 MB / 0.5346 GB, free: 63.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.3922, allocations: 103.1 kB / 0.5347 GB, free: 63.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004355/0.3965, allocations: 4.257 MB / 0.5388 GB, free: 59.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003036/0.3968, allocations: 61.7 kB / 0.5389 GB, free: 59.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001715/0.3985, allocations: 4.504 MB / 0.5433 GB, free: 55.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009064/0.3994, allocations: 1.101 MB / 0.5443 GB, free: 54.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/0.4007, allocations: 1.623 MB / 0.5459 GB, free: 52.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.186e-05/0.4007, allocations: 480.8 kB / 0.5464 GB, free: 52.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001227/0.4019, allocations: 0.7751 MB / 0.5471 GB, free: 51.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/0.4046, allocations: 7.076 MB / 0.5541 GB, free: 41.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005008/0.4096, allocations: 8.545 MB / 0.5624 GB, free: 30.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/0.4097, allocations: 40 kB / 0.5624 GB, free: 30.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=994) (initialization): time 0.008068/0.4178, allocations: 6.035 MB / 0.5683 GB, free: 24.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.4178, allocations: 71.69 kB / 0.5684 GB, free: 24.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/0.4179, allocations: 148 kB / 0.5685 GB, free: 24.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008831/0.4188, allocations: 415.4 kB / 0.5689 GB, free: 24.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/0.4217, allocations: 1.645 MB / 0.5705 GB, free: 22.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002674/0.4244, allocations: 4.555 MB / 0.575 GB, free: 17.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004406/0.4288, allocations: 287.9 kB / 0.5753 GB, free: 17.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007611/0.4296, allocations: 376 kB / 0.5756 GB, free: 16.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 672 * Number of states: 0 () * Number of discrete variables: 50 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (935): * Single equations (assignments): 927 * 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,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002114/0.4317, allocations: 0.7596 MB / 0.5764 GB, free: 16.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009508/0.4326, allocations: 0.4894 MB / 0.5768 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.4351, allocations: 1.894 MB / 0.5787 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/0.4352, allocations: 31.98 kB / 0.5787 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4352, allocations: 3.984 kB / 0.5787 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.4352, allocations: 11.97 kB / 0.5787 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.4454, allocations: 7.281 MB / 0.5858 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.4454, allocations: 12 kB / 0.5859 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009182/0.4463, allocations: 367.5 kB / 0.5862 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/0.4469, allocations: 211.7 kB / 0.5864 GB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.447, allocations: 59.97 kB / 0.5865 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002033/0.449, allocations: 4.195 MB / 0.5906 GB, free: 1.078 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.016e-06/0.449, allocations: 19.88 kB / 0.5906 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/0.4529, allocations: 2.843 MB / 0.5934 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.4539, allocations: 437 kB / 0.5938 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/0.4544, allocations: 59.27 kB / 0.5938 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.4554, allocations: 48 kB / 0.5939 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.4557, allocations: 181.5 kB / 0.5941 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.4558, allocations: 75.92 kB / 0.5941 GB, free: 13.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002122/0.4579, allocations: 1.751 MB / 0.5958 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4579, allocations: 0 / 0.5958 GB, free: 11.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005154/0.4631, allocations: 1.492 MB / 0.5973 GB, free: 9.918 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 7 (revolute.phi,revolute.w,revolute1.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (220): * Single equations (assignments): 212 * 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 {(1,2,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004244/0.4635, allocations: 212.2 kB / 0.5975 GB, free: 9.703 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004627/0.4681, allocations: 3.661 MB / 0.6011 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.4681, allocations: 0 / 0.6011 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.4692, allocations: 1.139 MB / 0.6022 GB, free: 4.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.4712, allocations: 0.5988 MB / 0.6028 GB, free: 4.277 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/0.4893, allocations: 11.21 MB / 0.6137 GB, free: 8.789 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002676/0.492, allocations: 1.773 MB / 0.6154 GB, free: 6.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002376/0.4944, allocations: 0.6313 MB / 0.6161 GB, free: 6.348 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/0.4958, allocations: 0.787 MB / 0.6168 GB, free: 5.559 MB / 442.7 MB Notification: Performance of SimCode: time 3.226e-06/0.4958, allocations: 0 / 0.6168 GB, free: 5.559 MB / 442.7 MB Notification: Performance of Templates: time 0.08477/0.5805, allocations: 44.97 MB / 0.6607 GB, free: 9.219 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.232675850857049]