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.002115/0.002115, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002056/0.002056, allocations: 169.3 kB / 24.28 MB, free: 152 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.611/1.611, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.401/0.401, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.483e-06/1.483e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/2.993e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.02441/0.02444, allocations: 17.36 MB / 394.7 MB, free: 1.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01446/0.0389, allocations: 5.206 MB / 399.9 MB, free: 12.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00398/0.04288, allocations: 127.4 kB / 400 MB, free: 12.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00749/0.05037, allocations: 3.262 MB / 403.3 MB, free: 8.879 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007809/0.05818, allocations: 2.706 MB / 406 MB, free: 6.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.06105, allocations: 1.15 MB / 407.1 MB, free: 5.008 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01321/0.07425, allocations: 9.028 MB / 416.1 MB, free: 11.97 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008049/0.0823, allocations: 4.752 MB / 420.9 MB, free: 7.168 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008437/0.09074, allocations: 3.609 MB / 424.5 MB, free: 3.551 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008247/0.09899, allocations: 3.909 MB / 428.4 MB, free: 15.63 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001909/0.1009, allocations: 471.9 kB / 428.9 MB, free: 15.17 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003987/0.1049, allocations: 1.284 MB / 430.2 MB, free: 13.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004606/0.1095, allocations: 3.035 MB / 433.2 MB, free: 10.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004964/0.1145, allocations: 1.877 MB / 435.1 MB, free: 8.961 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1873/0.3018, allocations: 10.16 MB / 445.2 MB, free: 65.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3018, allocations: 0 / 445.2 MB, free: 65.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3018, allocations: 0 / 445.2 MB, free: 65.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003713/0.3022, allocations: 0 / 445.2 MB, free: 65.37 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.01928/0.3215, allocations: 8.543 MB / 453.8 MB, free: 62.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3215, allocations: 11.12 kB / 453.8 MB, free: 62.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01617/0.3377, allocations: 4.645 MB / 458.4 MB, free: 62.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009788/0.3475, allocations: 3.557 MB / 462 MB, free: 61.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.3477, allocations: 320 kB / 462.3 MB, free: 61.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001625/0.3494, allocations: 434.1 kB / 462.7 MB, free: 61.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02257/0.3719, allocations: 9.21 MB / 471.9 MB, free: 58.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003976/0.3723, allocations: 53.94 kB / 472 MB, free: 58.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002336/0.3747, allocations: 202.8 kB / 472.2 MB, free: 57.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007085/0.3817, allocations: 3.378 MB / 475.6 MB, free: 57.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02683/0.4086, allocations: 6.175 MB / 481.7 MB, free: 56.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0902/0.4988, allocations: 63.29 MB / 0.5322 GB, free: 7.285 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/0.5127, allocations: 3.981 MB / 0.5361 GB, free: 4.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003373/0.5161, allocations: 1.446 MB / 0.5375 GB, free: 2.836 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/0.5175, allocations: 0.6167 MB / 0.5382 GB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/0.5175, allocations: 67.91 kB / 0.5382 GB, free: 2.145 MB / 410.7 MB Notification: Performance of pre-optimization done (n=367): time 8.295e-06/0.5175, allocations: 0 / 0.5382 GB, free: 2.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=419): time 0.1052/0.6227, allocations: 25.46 MB / 0.5631 GB, free: 8.844 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.6228, allocations: 116 kB / 0.5632 GB, free: 8.711 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009722/0.6326, allocations: 4.779 MB / 0.5679 GB, free: 3.914 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009698/0.6335, allocations: 81.7 kB / 0.5679 GB, free: 3.828 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004869/0.6384, allocations: 4.32 MB / 0.5721 GB, free: 15.54 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00303/0.6414, allocations: 1.725 MB / 0.5738 GB, free: 13.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00491/0.6463, allocations: 1.917 MB / 0.5757 GB, free: 11.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003262/0.6467, allocations: 480.8 kB / 0.5762 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004053/0.6507, allocations: 1.331 MB / 0.5775 GB, free: 10.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0106/0.6613, allocations: 7.136 MB / 0.5844 GB, free: 0.543 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01678/0.6781, allocations: 9.475 MB / 0.5937 GB, free: 5.062 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000217/0.6783, allocations: 46.95 kB / 0.5937 GB, free: 5.02 MB / 474.7 MB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.0277/0.706, allocations: 8.914 MB / 0.6024 GB, free: 12.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002023/0.7062, allocations: 60 kB / 0.6025 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002583/0.7065, allocations: 128 kB / 0.6026 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009045/0.7155, allocations: 1.969 MB / 0.6045 GB, free: 9.902 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007775/0.7233, allocations: 1.809 MB / 0.6063 GB, free: 8.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1786/0.9019, allocations: 8.085 MB / 0.6142 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007125/0.9091, allocations: 0.6163 MB / 0.6148 GB, free: 143.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00145/0.9105, allocations: 430.8 kB / 0.6152 GB, free: 143.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 583 * 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 (942): * Single equations (assignments): 934 * 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,32,69.4%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002988/0.9135, allocations: 0.8948 MB / 0.6161 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/0.9149, allocations: 0.5521 MB / 0.6166 GB, free: 142.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/0.93, allocations: 6.085 MB / 0.6226 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001177/0.9301, allocations: 60.8 kB / 0.6226 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-05/0.9301, allocations: 13.47 kB / 0.6226 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.931e-05/0.9302, allocations: 17.92 kB / 0.6227 GB, free: 142.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04037/0.9706, allocations: 14 MB / 0.6363 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.538e-05/0.9706, allocations: 16.5 kB / 0.6363 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003664/0.9743, allocations: 0.679 MB / 0.637 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007962/0.9823, allocations: 1.788 MB / 0.6388 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001017/0.9833, allocations: 84.19 kB / 0.6388 GB, free: 141.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/0.9969, allocations: 6.855 MB / 0.6455 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.857e-05/0.9969, allocations: 20.81 kB / 0.6455 GB, free: 136.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02421/1.021, allocations: 6.941 MB / 0.6523 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/1.023, allocations: 487.3 kB / 0.6528 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002385/1.025, allocations: 76.38 kB / 0.6529 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005554/1.031, allocations: 427.6 kB / 0.6533 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001557/1.033, allocations: 275.4 kB / 0.6535 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007882/1.033, allocations: 111.6 kB / 0.6536 GB, free: 134.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005127/1.038, allocations: 2.049 MB / 0.6556 GB, free: 133.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/1.038, allocations: 5.75 kB / 0.6556 GB, free: 133.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009941/1.048, allocations: 1.86 MB / 0.6575 GB, free: 133.5 MB / 490.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 (334): * Single equations (assignments): 326 * 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,29,69.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001411/1.05, allocations: 258.4 kB / 0.6577 GB, free: 133.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01324/1.063, allocations: 5.539 MB / 0.6631 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/1.063, allocations: 3.844 kB / 0.6631 GB, free: 131.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00532/1.068, allocations: 2.333 MB / 0.6654 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006693/1.075, allocations: 0.6404 MB / 0.666 GB, free: 130.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02718/1.102, allocations: 12.74 MB / 0.6785 GB, free: 122.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006747/1.109, allocations: 3.618 MB / 0.682 GB, free: 120.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006311/1.115, allocations: 2.137 MB / 0.6841 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/1.118, allocations: 343 kB / 0.6844 GB, free: 118.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.803e-06/1.118, allocations: 0 / 0.6844 GB, free: 118.6 MB / 490.7 MB Notification: Performance of Templates: time 0.09771/1.215, allocations: 68.15 MB / 0.751 GB, free: 51.36 MB / 490.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) [Timeout 240] 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.259313732967712]