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.001263/0.001263, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002024/0.003287, allocations: 449.7 kB / 10.37 MB, free: 324 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.001346/0.001346, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001859/0.003205, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 1.077/1.077, allocations: 177.4 MB / 189.9 MB, free: 4.82 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09236/1.169, allocations: 53.86 MB / 243.8 MB, free: 14.9 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.2666/0.2666, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02775/0.2943, allocations: 13.24 MB / 292.6 MB, free: 6.453 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.644e-06/1.644e-06, allocations: 0 / 293.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.387e-05, allocations: 2.312 kB / 293.9 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01362/0.01365, allocations: 17.2 MB / 311.1 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.02398, allocations: 5.466 MB / 316.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002886/0.02686, allocations: 123.4 kB / 316.7 MB, free: 14.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003955/0.03082, allocations: 3.133 MB / 319.8 MB, free: 11.15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00562/0.03644, allocations: 2.698 MB / 322.5 MB, free: 8.438 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.03829, allocations: 1.06 MB / 323.5 MB, free: 7.375 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01004/0.04833, allocations: 8.604 MB / 332.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006057/0.05439, allocations: 3.977 MB / 336.1 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.06084, allocations: 4.125 MB / 340.3 MB, free: 6.586 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004972/0.06581, allocations: 3.64 MB / 343.9 MB, free: 2.938 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001213/0.06702, allocations: 464 kB / 344.3 MB, free: 2.484 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.06984, allocations: 1.322 MB / 345.7 MB, free: 1.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002412/0.07225, allocations: 2.689 MB / 348.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002444/0.07469, allocations: 1.503 MB / 349.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008703/0.0834, allocations: 6.168 MB / 356 MB, free: 6.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.659e-05/0.08342, allocations: 0 / 356 MB, free: 6.766 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.666e-06/0.08343, allocations: 0 / 356 MB, free: 6.766 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003782/0.0838, allocations: 7.938 kB / 356 MB, free: 6.758 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: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.01214/0.09594, allocations: 7.914 MB / 363.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.09598, allocations: 11.97 kB / 364 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005155/0.1011, allocations: 1.885 MB / 365.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005068/0.1062, allocations: 2.871 MB / 368.7 MB, free: 9.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.1064, allocations: 312.4 kB / 369 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006816/0.1071, allocations: 443.9 kB / 369.5 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.1193, allocations: 6.964 MB / 376.4 MB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001458/0.1194, allocations: 55.56 kB / 376.5 MB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004244/0.1198, allocations: 195.8 kB / 376.7 MB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002601/0.1224, allocations: 2.795 MB / 379.5 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01088/0.1333, allocations: 3.877 MB / 383.3 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04814/0.1815, allocations: 40.37 MB / 423.7 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006176/0.1876, allocations: 2.573 MB / 426.3 MB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.1888, allocations: 0.6322 MB / 426.9 MB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.1991, allocations: 6.29 MB / 433.2 MB, free: 7.199 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.1992, allocations: 60.56 kB / 433.3 MB, free: 7.129 MB / 426.7 MB Notification: Performance of pre-optimization done (n=256): time 4.729e-06/0.1992, allocations: 3.938 kB / 433.3 MB, free: 7.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=272): time 0.1982/0.3974, allocations: 9.452 MB / 442.7 MB, free: 121.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.3974, allocations: 75.53 kB / 442.8 MB, free: 121.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004755/0.4022, allocations: 3.848 MB / 446.6 MB, free: 120.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004454/0.4026, allocations: 61.42 kB / 446.7 MB, free: 120.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001947/0.4046, allocations: 3.989 MB / 450.7 MB, free: 118.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001307/0.4059, allocations: 1.048 MB / 451.7 MB, free: 117.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001343/0.4072, allocations: 1.403 MB / 453.1 MB, free: 117.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.4072, allocations: 304.9 kB / 453.4 MB, free: 117.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001562/0.4088, allocations: 0.9658 MB / 454.4 MB, free: 117.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/0.4116, allocations: 5.047 MB / 459.5 MB, free: 111.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004628/0.4162, allocations: 6.642 MB / 466.1 MB, free: 106.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.444e-05/0.4163, allocations: 42.69 kB / 466.1 MB, free: 106.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=994) (initialization): time 0.006444/0.4227, allocations: 5.107 MB / 471.2 MB, free: 104.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/0.4228, allocations: 71.75 kB / 471.3 MB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001343/0.4229, allocations: 148 kB / 471.5 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008022/0.4237, allocations: 417.8 kB / 471.9 MB, free: 104 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/0.4265, allocations: 1.834 MB / 473.7 MB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.4289, allocations: 3.451 MB / 477.2 MB, free: 99.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.4324, allocations: 280.7 kB / 477.4 MB, free: 99.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004387/0.4329, allocations: 375.9 kB / 477.8 MB, free: 98.69 MB / 426.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.002061/0.4349, allocations: 0.7204 MB / 478.5 MB, free: 97.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006363/0.4356, allocations: 296.1 kB / 478.8 MB, free: 97.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.4376, allocations: 1.608 MB / 480.4 MB, free: 96.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.4376, allocations: 28 kB / 480.4 MB, free: 96.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.4376, allocations: 4 kB / 480.4 MB, free: 96.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.4376, allocations: 11.39 kB / 480.5 MB, free: 96.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00814/0.4458, allocations: 6.02 MB / 486.5 MB, free: 90.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/0.4458, allocations: 15.25 kB / 486.5 MB, free: 90.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009357/0.4467, allocations: 423.5 kB / 486.9 MB, free: 90.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.4478, allocations: 426.2 kB / 487.3 MB, free: 89.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007579/0.4485, allocations: 408.7 kB / 487.7 MB, free: 89.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.4486, allocations: 55.98 kB / 487.8 MB, free: 89.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/0.4502, allocations: 3.111 MB / 490.9 MB, free: 85.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.014e-06/0.4502, allocations: 15.94 kB / 490.9 MB, free: 85.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/0.4527, allocations: 2.27 MB / 493.2 MB, free: 83.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005555/0.4532, allocations: 55.92 kB / 493.2 MB, free: 83.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008772/0.4541, allocations: 55.98 kB / 493.3 MB, free: 83.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/0.4543, allocations: 173.4 kB / 493.4 MB, free: 83.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.18e-05/0.4544, allocations: 71.98 kB / 493.5 MB, free: 82.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001156/0.4555, allocations: 1.452 MB / 495 MB, free: 81.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4555, allocations: 0 / 495 MB, free: 81.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005047/0.4606, allocations: 1.496 MB / 496.5 MB, free: 80.04 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.0004465/0.461, allocations: 202.1 kB / 496.7 MB, free: 79.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003946/0.465, allocations: 3.268 MB / 499.9 MB, free: 76.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002235/0.4652, allocations: 132 kB / 0.4883 GB, free: 76.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008514/0.466, allocations: 0.9344 MB / 0.4893 GB, free: 75.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/0.4694, allocations: 1.287 MB / 0.4905 GB, free: 74.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/0.49, allocations: 11.28 MB / 0.5015 GB, free: 62.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/0.4917, allocations: 1.768 MB / 0.5032 GB, free: 60.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001935/0.4936, allocations: 0.6211 MB / 0.5039 GB, free: 60.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/0.4947, allocations: 0.7314 MB / 0.5046 GB, free: 59.55 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4947, allocations: 0 / 0.5046 GB, free: 59.55 MB / 426.7 MB Notification: Performance of Templates: time 0.0595/0.5542, allocations: 44.84 MB / 0.5484 GB, free: 15.21 MB / 426.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 -ignoreHideResult -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: 4.45757697802037]