Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001557/0.001557, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001658/0.001658, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3321/0.3321, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.706e-05, allocations: 2.312 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02226/0.02229, allocations: 15.71 MB / 393 MB, free: 3.164 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.03652, allocations: 5.116 MB / 398.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003835/0.04035, allocations: 127.4 kB / 398.3 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007565/0.04792, allocations: 3.172 MB / 401.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007642/0.05556, allocations: 2.702 MB / 404.1 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.05848, allocations: 1.154 MB / 405.3 MB, free: 6.852 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01414/0.07262, allocations: 9.035 MB / 414.3 MB, free: 13.8 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007358/0.07998, allocations: 4.744 MB / 419.1 MB, free: 9.012 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006698/0.08668, allocations: 3.594 MB / 422.7 MB, free: 5.41 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006756/0.09343, allocations: 3.878 MB / 426.5 MB, free: 1.523 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001222/0.09466, allocations: 472 kB / 427 MB, free: 1.062 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.09779, allocations: 1.291 MB / 428.3 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003569/0.1014, allocations: 3.019 MB / 431.3 MB, free: 12.74 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003077/0.1044, allocations: 1.881 MB / 433.2 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.1181, allocations: 10.16 MB / 443.3 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1181, allocations: 0 / 443.3 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1181, allocations: 0 / 443.3 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002181/0.1183, allocations: 0 / 443.3 MB, free: 0.6602 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.1787/0.297, allocations: 7.488 MB / 450.8 MB, free: 98.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.297, allocations: 12.16 kB / 450.8 MB, free: 98.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01586/0.3129, allocations: 4.76 MB / 455.6 MB, free: 97.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007576/0.3205, allocations: 3.95 MB / 459.6 MB, free: 96.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.3207, allocations: 317.5 kB / 459.9 MB, free: 95.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/0.3217, allocations: 439.9 kB / 460.3 MB, free: 95.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02293/0.3447, allocations: 15.72 MB / 476 MB, free: 89.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001973/0.3449, allocations: 58.8 kB / 476.1 MB, free: 89.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006212/0.3455, allocations: 198.3 kB / 476.3 MB, free: 89.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006186/0.3517, allocations: 3.387 MB / 479.7 MB, free: 88.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02877/0.3804, allocations: 14.82 MB / 494.5 MB, free: 78.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06862/0.4491, allocations: 52.04 MB / 0.5337 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01614/0.4652, allocations: 7.024 MB / 0.5406 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005604/0.4708, allocations: 4.507 MB / 0.545 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001364/0.4722, allocations: 0.677 MB / 0.5456 GB, free: 12.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.4722, allocations: 65.08 kB / 0.5457 GB, free: 12.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=368): time 7.644e-06/0.4722, allocations: 0 / 0.5457 GB, free: 12.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=420): time 0.1492/0.6214, allocations: 50.29 MB / 0.5948 GB, free: 10.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/0.6216, allocations: 120 kB / 0.5949 GB, free: 10.26 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008589/0.6302, allocations: 4.451 MB / 0.5993 GB, free: 5.781 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001327/0.6316, allocations: 81.7 kB / 0.5993 GB, free: 5.695 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004271/0.6358, allocations: 3.927 MB / 0.6032 GB, free: 1.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003152/0.639, allocations: 1.538 MB / 0.6047 GB, free: 184 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.222/0.861, allocations: 1.565 MB / 0.6062 GB, free: 132.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.861, allocations: 304.8 kB / 0.6065 GB, free: 132.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005766/0.8668, allocations: 4.287 MB / 0.6107 GB, free: 131.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006665/0.8735, allocations: 8.063 MB / 0.6186 GB, free: 125.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/0.8865, allocations: 13.29 MB / 0.6315 GB, free: 116.6 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.895e-05/0.8866, allocations: 36.25 kB / 0.6316 GB, free: 116.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=1037) (initialization): time 0.02969/0.9163, allocations: 16.18 MB / 0.6474 GB, free: 111.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.823e-05/0.9163, allocations: 58.69 kB / 0.6474 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/0.9165, allocations: 126.3 kB / 0.6476 GB, free: 111.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.9271, allocations: 3.964 MB / 0.6514 GB, free: 111 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006552/0.9337, allocations: 1.806 MB / 0.6532 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/0.9548, allocations: 17.88 MB / 0.6706 GB, free: 97.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006672/0.9614, allocations: 0.6497 MB / 0.6713 GB, free: 97.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001315/0.9628, allocations: 430.5 kB / 0.6717 GB, free: 96.97 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * 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 (938): * Single equations (assignments): 930 * 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 {(6,34,72.2%), (3,10,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004583/0.9673, allocations: 2.875 MB / 0.6745 GB, free: 94.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001325/0.9687, allocations: 0.557 MB / 0.675 GB, free: 94.25 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01887/0.9875, allocations: 12.05 MB / 0.6868 GB, free: 83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.964e-05/0.9876, allocations: 66.17 kB / 0.6869 GB, free: 82.94 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/0.9876, allocations: 8 kB / 0.6869 GB, free: 82.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-05/0.9877, allocations: 23.86 kB / 0.6869 GB, free: 82.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0343/1.022, allocations: 21.09 MB / 0.7075 GB, free: 61.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.14e-05/1.022, allocations: 12 kB / 0.7075 GB, free: 61.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003023/1.025, allocations: 0.6904 MB / 0.7082 GB, free: 61.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009729/1.035, allocations: 3.748 MB / 0.7118 GB, free: 57.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005906/1.035, allocations: 80 kB / 0.7119 GB, free: 57.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/1.053, allocations: 16.51 MB / 0.728 GB, free: 40.66 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/1.053, allocations: 15.94 kB / 0.7281 GB, free: 40.65 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02361/1.077, allocations: 17.13 MB / 0.7448 GB, free: 23.34 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/1.078, allocations: 499 kB / 0.7453 GB, free: 22.85 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008557/1.079, allocations: 75.94 kB / 0.7453 GB, free: 22.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/1.082, allocations: 483.1 kB / 0.7458 GB, free: 22.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000785/1.083, allocations: 277.8 kB / 0.7461 GB, free: 22.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003022/1.083, allocations: 116 kB / 0.7462 GB, free: 21.92 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002878/1.086, allocations: 2.659 MB / 0.7488 GB, free: 19.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/1.086, allocations: 0 / 0.7488 GB, free: 19.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005804/1.092, allocations: 1.894 MB / 0.7506 GB, free: 17.36 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.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 (333): * Single equations (assignments): 325 * 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,9,100.0%), (6,31,72.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006187/1.093, allocations: 247.7 kB / 0.7509 GB, free: 17.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01263/1.105, allocations: 10.12 MB / 0.7607 GB, free: 6.988 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.621e-05/1.105, allocations: 0 / 0.7607 GB, free: 6.988 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005436/1.111, allocations: 4.325 MB / 0.765 GB, free: 2.641 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00425/1.115, allocations: 0.6489 MB / 0.7656 GB, free: 2.023 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2022/1.317, allocations: 16.4 MB / 0.7816 GB, free: 133.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006662/1.324, allocations: 4.046 MB / 0.7856 GB, free: 133.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006155/1.33, allocations: 2.729 MB / 0.7882 GB, free: 133.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001734/1.332, allocations: 347.2 kB / 0.7886 GB, free: 133.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.354e-06/1.332, allocations: 0 / 0.7886 GB, free: 133.1 MB / 474.7 MB Notification: Performance of Templates: time 0.1413/1.473, allocations: 71.01 MB / 0.8579 GB, free: 89.86 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.520910133025609]