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.001272/0.001272, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001405/0.001405, allocations: 205.7 kB / 24.49 MB, free: 3.965 MB / 14.72 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.482/1.482, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.1 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.2347/0.2347, allocations: 46.96 MB / 361.6 MB, free: 4.062 MB / 286.1 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 0.002061/0.002061, allocations: 63.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3643, allocations: 66.03 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute2): time 0.01977/0.384, allocations: 15.7 MB / 0.5772 GB, free: 4.426 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01348/0.3975, allocations: 5.097 MB / 0.5821 GB, free: 15.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003254/0.4008, allocations: 127.4 kB / 0.5823 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006653/0.4074, allocations: 2.99 MB / 0.5852 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008299/0.4157, allocations: 2.634 MB / 0.5878 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.4184, allocations: 1.022 MB / 0.5888 GB, free: 8.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.011/0.4294, allocations: 7.675 MB / 0.5963 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005094/0.4345, allocations: 3.604 MB / 0.5998 GB, free: 13.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004025/0.4385, allocations: 2.293 MB / 0.602 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00702/0.4455, allocations: 3.52 MB / 0.6054 GB, free: 7.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001683/0.4472, allocations: 452 kB / 0.6059 GB, free: 6.906 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003513/0.4507, allocations: 1.206 MB / 0.6071 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003686/0.4544, allocations: 2.875 MB / 0.6099 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004371/0.4588, allocations: 2.368 MB / 0.6122 GB, free: 444 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.4731, allocations: 10.05 MB / 0.622 GB, free: 6.348 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4731, allocations: 0 / 0.622 GB, free: 6.348 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4731, allocations: 0 / 0.622 GB, free: 6.348 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003963/0.4735, allocations: 0 / 0.622 GB, free: 6.348 MB / 462.1 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.02157/0.4951, allocations: 7.306 MB / 0.6291 GB, free: 14.97 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.4951, allocations: 8.031 kB / 0.6291 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02254/0.5177, allocations: 3.877 MB / 0.6329 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/0.533, allocations: 3.959 MB / 0.6368 GB, free: 7.062 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005286/0.5335, allocations: 316.4 kB / 0.6371 GB, free: 6.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002744/0.5363, allocations: 435.8 kB / 0.6375 GB, free: 6.324 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04555/0.5818, allocations: 15.67 MB / 0.6528 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003733/0.5822, allocations: 59.58 kB / 0.6529 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001746/0.5839, allocations: 195.8 kB / 0.653 GB, free: 5.652 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007576/0.5915, allocations: 3.384 MB / 0.6564 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03542/0.6269, allocations: 14.76 MB / 0.6708 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0992/0.7261, allocations: 51.24 MB / 0.7208 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01945/0.7456, allocations: 6.936 MB / 0.7276 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007625/0.7532, allocations: 4.48 MB / 0.732 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.7548, allocations: 0.6458 MB / 0.7326 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.757e-05/0.7549, allocations: 69.06 kB / 0.7327 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=367): time 8.777e-06/0.7549, allocations: 0 / 0.7327 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=419): time 0.4302/1.185, allocations: 40.05 MB / 0.7718 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/1.185, allocations: 116 kB / 0.7719 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004445/1.19, allocations: 4.161 MB / 0.7759 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007434/1.19, allocations: 81.7 kB / 0.776 GB, free: 128.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001673/1.192, allocations: 3.964 MB / 0.7799 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001613/1.194, allocations: 1.558 MB / 0.7814 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002017/1.196, allocations: 1.576 MB / 0.7829 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.615e-05/1.196, allocations: 305.1 kB / 0.7832 GB, free: 121.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004833/1.201, allocations: 4.076 MB / 0.7872 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006246/1.207, allocations: 7.874 MB / 0.7949 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/1.22, allocations: 12.88 MB / 0.8075 GB, free: 92.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001388/1.22, allocations: 39.94 kB / 0.8075 GB, free: 92.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1039) (initialization): time 0.02754/1.247, allocations: 14.68 MB / 0.8219 GB, free: 78.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.714e-05/1.248, allocations: 64.03 kB / 0.8219 GB, free: 78.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001561/1.248, allocations: 128 kB / 0.822 GB, free: 77.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00789/1.256, allocations: 2.927 MB / 0.8249 GB, free: 74.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006674/1.262, allocations: 1.805 MB / 0.8267 GB, free: 73.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.018/1.28, allocations: 15.54 MB / 0.8418 GB, free: 57.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006781/1.287, allocations: 0.4994 MB / 0.8423 GB, free: 56.92 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001837/1.289, allocations: 435.9 kB / 0.8427 GB, free: 56.5 MB / 0.5606 GB 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.006877/1.296, allocations: 2.871 MB / 0.8455 GB, free: 53.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/1.297, allocations: 458 kB / 0.846 GB, free: 53.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01692/1.314, allocations: 10.88 MB / 0.8566 GB, free: 42.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00012/1.314, allocations: 23.92 kB / 0.8566 GB, free: 42.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.314, allocations: 4 kB / 0.8566 GB, free: 42.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001426/1.316, allocations: 390.8 kB / 0.857 GB, free: 41.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001357/1.317, allocations: 60 kB / 0.8571 GB, free: 41.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002972/1.32, allocations: 315.3 kB / 0.8574 GB, free: 41.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008274/1.321, allocations: 274.3 kB / 0.8576 GB, free: 41.18 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0169/1.338, allocations: 9.688 MB / 0.8671 GB, free: 31.54 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01374/1.351, allocations: 12.62 MB / 0.8794 GB, free: 18.87 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00376/1.355, allocations: 3.323 MB / 0.8827 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00303/1.358, allocations: 2.429 MB / 0.885 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of Backend: time 5.31e-07/1.358, allocations: 0 / 0.885 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01411/1.372, allocations: 6.635 MB / 0.8915 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02786/1.4, allocations: 13.64 MB / 0.9048 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of Templates: time 0.4547/1.855, allocations: 91.26 MB / 0.994 GB, free: 216.6 MB / 0.6387 GB " [Timeout remaining time 658] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","/var/lib/jenkins1/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.871055686002364]