Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.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.001116/0.001116, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001094/0.001094, allocations: 173 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9528/0.9528, allocations: 158.6 MB / 186 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1282/0.1282, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.847e-05, allocations: 2.312 kB / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.1674/0.1674, allocations: 17.48 MB / 316.6 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.1816, allocations: 5.476 MB / 322.1 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004271/0.1859, allocations: 126.7 kB / 322.2 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003652/0.1896, allocations: 3.24 MB / 325.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005771/0.1953, allocations: 2.788 MB / 328.2 MB, free: 1.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.1973, allocations: 1.154 MB / 329.4 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008739/0.2061, allocations: 8.653 MB / 338 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006549/0.2126, allocations: 4.512 MB / 342.6 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006107/0.2187, allocations: 3.941 MB / 346.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004287/0.223, allocations: 3.702 MB / 350.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.2241, allocations: 472 kB / 350.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.2263, allocations: 1.334 MB / 352 MB, free: 9.141 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002377/0.2287, allocations: 3.109 MB / 355.1 MB, free: 6.023 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002703/0.2314, allocations: 1.928 MB / 357 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006834/0.2382, allocations: 6.83 MB / 363.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2382, allocations: 0 / 363.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2382, allocations: 0 / 363.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.319e-05/0.2383, allocations: 0 / 363.9 MB, free: 13.23 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.008323/0.2466, allocations: 6.714 MB / 370.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.2467, allocations: 12.03 kB / 370.6 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006519/0.2532, allocations: 1.916 MB / 372.5 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004029/0.2572, allocations: 2.969 MB / 375.5 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.2574, allocations: 324.5 kB / 375.8 MB, free: 1.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000677/0.2581, allocations: 444 kB / 376.2 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00957/0.2677, allocations: 7.061 MB / 383.3 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/0.2678, allocations: 55.56 kB / 383.3 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004557/0.2683, allocations: 207.7 kB / 383.5 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003231/0.2715, allocations: 2.842 MB / 386.4 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/0.283, allocations: 3.933 MB / 390.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0381/0.3211, allocations: 41.08 MB / 431.4 MB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005658/0.3268, allocations: 2.628 MB / 434 MB, free: 4.738 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008524/0.3276, allocations: 0.6439 MB / 434.7 MB, free: 4.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009421/0.337, allocations: 6.404 MB / 441.1 MB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.3371, allocations: 52.56 kB / 441.1 MB, free: 13.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=256): time 3.627e-06/0.3371, allocations: 0 / 441.1 MB, free: 13.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=272): time 0.02088/0.358, allocations: 9.725 MB / 450.8 MB, free: 3.738 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.358, allocations: 103.1 kB / 450.9 MB, free: 3.621 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1602/0.5183, allocations: 3.924 MB / 454.9 MB, free: 121.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005579/0.5188, allocations: 64.2 kB / 454.9 MB, free: 121.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00212/0.5209, allocations: 4.069 MB / 459 MB, free: 119.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008574/0.5218, allocations: 1.054 MB / 460.1 MB, free: 119 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/0.5233, allocations: 1.405 MB / 461.5 MB, free: 118.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.246e-05/0.5233, allocations: 303.5 kB / 461.8 MB, free: 118.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.5251, allocations: 0.9723 MB / 462.7 MB, free: 118.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002907/0.528, allocations: 5.109 MB / 467.8 MB, free: 113.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004819/0.5328, allocations: 6.72 MB / 474.6 MB, free: 107.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.221e-05/0.5329, allocations: 41.72 kB / 474.6 MB, free: 107.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.007305/0.5402, allocations: 5.16 MB / 479.8 MB, free: 106 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/0.5402, allocations: 68.88 kB / 479.8 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001414/0.5404, allocations: 149.8 kB / 480 MB, free: 106 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009094/0.5413, allocations: 428.2 kB / 480.4 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/0.5441, allocations: 1.731 MB / 482.1 MB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.5464, allocations: 3.449 MB / 485.6 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/0.5495, allocations: 280.9 kB / 485.8 MB, free: 103.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003963/0.5499, allocations: 380.9 kB / 486.2 MB, free: 103.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 681 * Number of states: 0 () * Number of discrete variables: 48 (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 (944): * Single equations (assignments): 936 * 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.001602/0.5515, allocations: 0.7245 MB / 486.9 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/0.5519, allocations: 301.2 kB / 487.2 MB, free: 102.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00202/0.5539, allocations: 1.618 MB / 488.8 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.5539, allocations: 29.69 kB / 488.9 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5539, allocations: 0.8125 kB / 488.9 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.5539, allocations: 10.83 kB / 488.9 MB, free: 102.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006546/0.5605, allocations: 6.129 MB / 495 MB, free: 98.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.5605, allocations: 12 kB / 495 MB, free: 98.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008712/0.5614, allocations: 393 kB / 495.4 MB, free: 98.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000633/0.562, allocations: 416.7 kB / 495.8 MB, free: 97.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.159e-05/0.5621, allocations: 55.89 kB / 495.9 MB, free: 97.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.5636, allocations: 3.112 MB / 499 MB, free: 94.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5636, allocations: 15.94 kB / 499 MB, free: 94.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.5658, allocations: 2.265 MB / 0.4895 GB, free: 92.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006909/0.5664, allocations: 0.6335 MB / 0.4901 GB, free: 91.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003013/0.5667, allocations: 55.98 kB / 0.4902 GB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008287/0.5676, allocations: 48 kB / 0.4902 GB, free: 91.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/0.5678, allocations: 181.4 kB / 0.4904 GB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.26e-05/0.5679, allocations: 67.97 kB / 0.4905 GB, free: 91.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009917/0.5689, allocations: 1.505 MB / 0.4919 GB, free: 89.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5689, allocations: 0 / 0.4919 GB, free: 89.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003342/0.5722, allocations: 1.543 MB / 0.4935 GB, free: 88.44 MB / 410.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.0003318/0.5725, allocations: 201.8 kB / 0.4936 GB, free: 88.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.5756, allocations: 3.291 MB / 0.4969 GB, free: 84.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.00014/0.5758, allocations: 108.2 kB / 0.497 GB, free: 84.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007124/0.5765, allocations: 0.9281 MB / 0.4979 GB, free: 83.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.5786, allocations: 0.9658 MB / 0.4988 GB, free: 82.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.5892, allocations: 11.15 MB / 0.5097 GB, free: 71.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.5904, allocations: 1.796 MB / 0.5115 GB, free: 69.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00149/0.5919, allocations: 0.6328 MB / 0.5121 GB, free: 69.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.593, allocations: 0.7276 MB / 0.5128 GB, free: 68.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.694e-06/0.593, allocations: 0 / 0.5128 GB, free: 68.42 MB / 410.7 MB Notification: Performance of Templates: time 0.05666/0.6497, allocations: 44.89 MB / 0.5566 GB, free: 23.64 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.471309520769864]