Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.001356/0.001356, 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.001445/0.001445, allocations: 208.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.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.2332/0.2332, allocations: 46.97 MB / 361.6 MB, free: 4.078 MB / 286.1 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.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") translateModel(ModelicaTest.MultiBody.Joints.Cylindrical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 59.91 kB / 0.4973 GB, free: 7.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3665, allocations: 66.04 MB / 0.5618 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01585/0.3824, allocations: 11.79 MB / 0.5733 GB, free: 8.371 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01078/0.3931, allocations: 3.988 MB / 0.5772 GB, free: 4.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.3957, allocations: 75.75 kB / 0.5773 GB, free: 4.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004233/0.4, allocations: 1.775 MB / 0.579 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005402/0.4054, allocations: 1.876 MB / 0.5809 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.407, allocations: 0.5497 MB / 0.5814 GB, free: 84 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006193/0.4132, allocations: 3.887 MB / 0.5852 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003672/0.4169, allocations: 2.284 MB / 0.5874 GB, free: 9.852 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002862/0.4198, allocations: 1.398 MB / 0.5888 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004024/0.4238, allocations: 2.134 MB / 0.5909 GB, free: 6.309 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009187/0.4247, allocations: 292 kB / 0.5912 GB, free: 6.023 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002222/0.4269, allocations: 0.9049 MB / 0.592 GB, free: 5.117 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002081/0.429, allocations: 1.78 MB / 0.5938 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002614/0.4316, allocations: 1.51 MB / 0.5953 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.4423, allocations: 6.944 MB / 0.602 GB, free: 10.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.4423, allocations: 0 / 0.602 GB, free: 10.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4423, allocations: 4 kB / 0.602 GB, free: 10.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002593/0.4425, allocations: 0 / 0.602 GB, free: 10.84 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01167/0.4542, allocations: 4.562 MB / 0.6065 GB, free: 6.219 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.829e-05/0.4543, allocations: 16.02 kB / 0.6065 GB, free: 6.203 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.4657, allocations: 3.141 MB / 0.6096 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006255/0.472, allocations: 2.084 MB / 0.6116 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.4722, allocations: 221.8 kB / 0.6118 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001215/0.4734, allocations: 295.7 kB / 0.6121 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02016/0.4936, allocations: 11.11 MB / 0.623 GB, free: 4.852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/0.4937, allocations: 31.75 kB / 0.623 GB, free: 4.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004386/0.4941, allocations: 135.8 kB / 0.6231 GB, free: 4.688 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004619/0.4988, allocations: 2.624 MB / 0.6257 GB, free: 2.059 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02232/0.5211, allocations: 10.34 MB / 0.6358 GB, free: 7.699 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0632/0.5843, allocations: 33.54 MB / 0.6685 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009384/0.5937, allocations: 3.469 MB / 0.6719 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003794/0.5975, allocations: 2.218 MB / 0.6741 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000974/0.5984, allocations: 441.3 kB / 0.6745 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.909e-05/0.5985, allocations: 56.56 kB / 0.6746 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 6.022e-06/0.5985, allocations: 0 / 0.6746 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04652/0.645, allocations: 17.47 MB / 0.6916 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.6451, allocations: 73.41 kB / 0.6917 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004715/0.6498, allocations: 2.687 MB / 0.6943 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002417/0.65, allocations: 61.7 kB / 0.6944 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002537/0.6526, allocations: 2.905 MB / 0.6972 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/0.6537, allocations: 0.961 MB / 0.6982 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001605/0.6553, allocations: 1.077 MB / 0.6992 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6554, allocations: 305.1 kB / 0.6995 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/0.6589, allocations: 2.31 MB / 0.7017 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006156/0.665, allocations: 5.222 MB / 0.7068 GB, free: 12.49 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/0.6762, allocations: 8.28 MB / 0.7149 GB, free: 2.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.064e-05/0.6763, allocations: 28 kB / 0.715 GB, free: 2.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01538/0.6916, allocations: 8.279 MB / 0.723 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.753e-05/0.6917, allocations: 48 kB / 0.7231 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001297/0.6919, allocations: 104.9 kB / 0.7232 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/0.6949, allocations: 0.945 MB / 0.7241 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004524/0.6994, allocations: 1.224 MB / 0.7253 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00748/0.7069, allocations: 4.981 MB / 0.7302 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/0.7104, allocations: 295.8 kB / 0.7305 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008308/0.7112, allocations: 308 kB / 0.7308 GB, free: 2.477 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[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 (657): * Single equations (assignments): 650 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004216/0.7155, allocations: 2.153 MB / 0.7329 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000617/0.7161, allocations: 274.2 kB / 0.7331 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2931/1.009, allocations: 5.11 MB / 0.7381 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/1.009, allocations: 7.734 kB / 0.7381 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/1.009, allocations: 2.344 kB / 0.7381 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006598/1.01, allocations: 225.6 kB / 0.7383 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000404/1.01, allocations: 31.84 kB / 0.7384 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/1.011, allocations: 135.3 kB / 0.7385 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/1.012, allocations: 139.1 kB / 0.7386 GB, free: 153 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006938/1.019, allocations: 4.563 MB / 0.7431 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006894/1.025, allocations: 6.714 MB / 0.7496 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00174/1.027, allocations: 1.716 MB / 0.7513 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001876/1.029, allocations: 1.516 MB / 0.7528 GB, free: 146 MB / 0.5606 GB Notification: Performance of Backend: time 5.01e-07/1.029, allocations: 0 / 0.7528 GB, free: 146 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007094/1.036, allocations: 3.954 MB / 0.7567 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01256/1.049, allocations: 9.114 MB / 0.7656 GB, free: 134 MB / 0.5606 GB Notification: Performance of Templates: time 0.06348/1.112, allocations: 46.95 MB / 0.8114 GB, free: 87.44 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Cylindrical.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: 7.098557255005289]