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.0009896/0.0009896, allocations: 99.5 kB / 21.2 MB, free: 3.363 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.0009049/0.0009049, allocations: 160.5 kB / 24.55 MB, free: 8 kB / 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.018/1.018, allocations: 177 MB / 204.8 MB, free: 5.543 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.298/0.298, allocations: 34.87 MB / 296.3 MB, free: 484 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.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.443e-06/1.443e-06, allocations: 0 / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.776e-05, allocations: 2.875 kB / 378.8 MB, free: 2.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01393/0.01396, allocations: 17.45 MB / 396.2 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01201/0.02597, allocations: 5.225 MB / 401.5 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005333/0.03131, allocations: 127.4 kB / 401.6 MB, free: 11.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007422/0.03873, allocations: 3.266 MB / 404.9 MB, free: 7.852 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007726/0.04645, allocations: 2.718 MB / 407.6 MB, free: 5.121 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.04843, allocations: 1.158 MB / 408.7 MB, free: 3.961 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008804/0.05723, allocations: 9.031 MB / 417.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00598/0.06321, allocations: 4.744 MB / 422.5 MB, free: 6.121 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005733/0.06894, allocations: 4.167 MB / 426.7 MB, free: 1.945 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004703/0.07365, allocations: 3.839 MB / 430.5 MB, free: 14.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001226/0.07487, allocations: 464 kB / 431 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002497/0.07737, allocations: 1.287 MB / 432.3 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002458/0.07983, allocations: 3.023 MB / 435.3 MB, free: 9.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003185/0.08301, allocations: 1.873 MB / 437.1 MB, free: 7.441 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006546/0.08956, allocations: 6.675 MB / 443.8 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.08957, allocations: 3.938 kB / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.08957, allocations: 0 / 443.8 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002722/0.08984, allocations: 0 / 443.8 MB, free: 0.7383 MB / 410.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.1746/0.2645, allocations: 8.002 MB / 451.8 MB, free: 95.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.2645, allocations: 8.594 kB / 451.8 MB, free: 95.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009242/0.2738, allocations: 4.616 MB / 456.5 MB, free: 94.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00642/0.2802, allocations: 3.483 MB / 459.9 MB, free: 93.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.2804, allocations: 319.8 kB / 460.2 MB, free: 93.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/0.2814, allocations: 431.7 kB / 460.7 MB, free: 93.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01502/0.2964, allocations: 8.548 MB / 469.2 MB, free: 89.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001844/0.2966, allocations: 55.81 kB / 469.3 MB, free: 89.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005304/0.2972, allocations: 201.2 kB / 469.5 MB, free: 89.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002738/0.2999, allocations: 3.154 MB / 472.6 MB, free: 88.51 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01382/0.3137, allocations: 5.091 MB / 477.7 MB, free: 87.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06099/0.3747, allocations: 55.06 MB / 0.5203 GB, free: 39.06 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007781/0.3825, allocations: 2.954 MB / 0.5232 GB, free: 36.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/0.3843, allocations: 0.9628 MB / 0.5241 GB, free: 35.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01071/0.395, allocations: 7.248 MB / 0.5312 GB, free: 27.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.3951, allocations: 63.33 kB / 0.5312 GB, free: 27.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=256): time 5.721e-06/0.3951, allocations: 0 / 0.5312 GB, free: 27.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=272): time 0.02679/0.4219, allocations: 12.98 MB / 0.5439 GB, free: 14.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4219, allocations: 103 kB / 0.544 GB, free: 14.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004665/0.4266, allocations: 4.288 MB / 0.5482 GB, free: 10.35 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004407/0.427, allocations: 65.64 kB / 0.5483 GB, free: 10.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.4288, allocations: 4.463 MB / 0.5526 GB, free: 5.832 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008953/0.4297, allocations: 1.1 MB / 0.5537 GB, free: 4.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/0.4309, allocations: 1.596 MB / 0.5553 GB, free: 3.141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.54e-05/0.431, allocations: 476.8 kB / 0.5557 GB, free: 2.672 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.4322, allocations: 0.8697 MB / 0.5566 GB, free: 1.801 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003986/0.4362, allocations: 7.129 MB / 0.5635 GB, free: 7.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007693/0.4439, allocations: 8.805 MB / 0.5721 GB, free: 12.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001597/0.4441, allocations: 40 kB / 0.5722 GB, free: 12.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=994) (initialization): time 0.01006/0.4541, allocations: 6.628 MB / 0.5786 GB, free: 5.551 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/0.4542, allocations: 68 kB / 0.5787 GB, free: 5.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003569/0.4546, allocations: 148 kB / 0.5788 GB, free: 5.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/0.4556, allocations: 0.5223 MB / 0.5794 GB, free: 4.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003228/0.4588, allocations: 1.762 MB / 0.5811 GB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.4622, allocations: 4.772 MB / 0.5857 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004051/0.4663, allocations: 0.5736 MB / 0.5863 GB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006152/0.4669, allocations: 443.7 kB / 0.5867 GB, free: 13.02 MB / 458.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.002056/0.4689, allocations: 0.7519 MB / 0.5874 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007432/0.4697, allocations: 0.4908 MB / 0.5879 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/0.4728, allocations: 2.203 MB / 0.5901 GB, free: 9.508 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-05/0.4729, allocations: 31.98 kB / 0.5901 GB, free: 9.477 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4729, allocations: 0 / 0.5901 GB, free: 9.477 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.4729, allocations: 7.969 kB / 0.5901 GB, free: 9.469 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.4851, allocations: 7.651 MB / 0.5976 GB, free: 1.609 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.4851, allocations: 8 kB / 0.5976 GB, free: 1.602 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.4862, allocations: 463.3 kB / 0.598 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000618/0.4868, allocations: 250.9 kB / 0.5983 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/0.4869, allocations: 58.81 kB / 0.5983 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1762/0.6632, allocations: 4.335 MB / 0.6026 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.206e-06/0.6632, allocations: 16.16 kB / 0.6026 GB, free: 116 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004409/0.6676, allocations: 3.112 MB / 0.6056 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/0.6688, allocations: 457.9 kB / 0.6061 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004052/0.6692, allocations: 51.94 kB / 0.6061 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.6704, allocations: 280.7 kB / 0.6064 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/0.6707, allocations: 177.4 kB / 0.6065 GB, free: 115.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/0.6708, allocations: 85.95 kB / 0.6066 GB, free: 115.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002341/0.6731, allocations: 1.892 MB / 0.6085 GB, free: 114.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6731, allocations: 0.8438 kB / 0.6085 GB, free: 114.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0045/0.6776, allocations: 1.486 MB / 0.6099 GB, free: 114.8 MB / 458.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.0005706/0.6782, allocations: 216.3 kB / 0.6101 GB, free: 114.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005699/0.6839, allocations: 3.971 MB / 0.614 GB, free: 114.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/0.6839, allocations: 5.656 kB / 0.614 GB, free: 114.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.6852, allocations: 1.232 MB / 0.6152 GB, free: 113.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/0.6878, allocations: 0.5912 MB / 0.6158 GB, free: 113.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.7027, allocations: 11.26 MB / 0.6268 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.7042, allocations: 1.772 MB / 0.6285 GB, free: 108.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003772/0.708, allocations: 2.081 MB / 0.6306 GB, free: 108.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009516/0.709, allocations: 313.8 kB / 0.6309 GB, free: 108.6 MB / 458.7 MB Notification: Performance of SimCode: time 2.144e-06/0.709, allocations: 0 / 0.6309 GB, free: 108.6 MB / 458.7 MB Notification: Performance of Templates: time 0.06037/0.7693, allocations: 41.6 MB / 0.6715 GB, free: 84.32 MB / 458.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: 4.8894411022774875]