Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.001364/0.001364, 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.001557/0.001557, allocations: 204.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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.2318/0.2318, allocations: 46.97 MB / 361.6 MB, free: 4.051 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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sphericalSpherical.frame_b.r_0.1.|sphericalSpherical.frame_b.r_0.2.|sphericalSpherical.frame_b.r_0.3.|sphericalSpherical.frame_b.f.1.|sphericalSpherical.frame_b.f.2.|sphericalSpherical.frame_b.f.3.|sphericalSpherical.frame_b.t.1.|sphericalSpherical.frame_b.t.2.|sphericalSpherical.frame_b.t.3.|Prismatic1.frame_b.r_0.1.|Prismatic1.frame_b.r_0.2.|Prismatic1.frame_b.r_0.3.|Prismatic1.frame_b.f.1.|Prismatic1.frame_b.f.2.|Prismatic1.frame_b.f.3.|Prismatic1.frame_b.t.1.|Prismatic1.frame_b.t.2.|Prismatic1.frame_b.t.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sphericalSpherical.frame_b.r_0.1.|sphericalSpherical.frame_b.r_0.2.|sphericalSpherical.frame_b.r_0.3.|sphericalSpherical.frame_b.f.1.|sphericalSpherical.frame_b.f.2.|sphericalSpherical.frame_b.f.3.|sphericalSpherical.frame_b.t.1.|sphericalSpherical.frame_b.t.2.|sphericalSpherical.frame_b.t.3.|Prismatic1.frame_b.r_0.1.|Prismatic1.frame_b.r_0.2.|Prismatic1.frame_b.r_0.3.|Prismatic1.frame_b.f.1.|Prismatic1.frame_b.f.2.|Prismatic1.frame_b.f.3.|Prismatic1.frame_b.t.1.|Prismatic1.frame_b.t.2.|Prismatic1.frame_b.t.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 67.91 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3504, allocations: 66.04 MB / 0.5618 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009329/0.3597, allocations: 6.733 MB / 0.5684 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005716/0.3654, allocations: 2.445 MB / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005996/0.366, allocations: 35.88 kB / 0.5708 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.3679, allocations: 0.876 MB / 0.5717 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007413/0.3686, allocations: 322.3 kB / 0.572 GB, free: 9.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007482/0.3694, allocations: 327.2 kB / 0.5723 GB, free: 9.426 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008402/0.3702, allocations: 0.724 MB / 0.573 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008205/0.3711, allocations: 0.6487 MB / 0.5736 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004134/0.3715, allocations: 366.7 kB / 0.574 GB, free: 7.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009839/0.3725, allocations: 0.6933 MB / 0.5747 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.3726, allocations: 104 kB / 0.5748 GB, free: 6.883 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008967/0.3735, allocations: 0.5148 MB / 0.5753 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005354/0.3741, allocations: 0.4986 MB / 0.5758 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004897/0.3746, allocations: 453.5 kB / 0.5762 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.3765, allocations: 1.794 MB / 0.5779 GB, free: 3.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3765, allocations: 0 / 0.5779 GB, free: 3.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3765, allocations: 0 / 0.5779 GB, free: 3.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.3765, allocations: 0 / 0.5779 GB, free: 3.625 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.00326/0.3798, allocations: 1.585 MB / 0.5795 GB, free: 2.008 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3798, allocations: 8.031 kB / 0.5795 GB, free: 2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000726/0.3806, allocations: 164 kB / 0.5797 GB, free: 1.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.3818, allocations: 0.5834 MB / 0.5802 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.3818, allocations: 54.34 kB / 0.5803 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.382, allocations: 87.89 kB / 0.5804 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00524/0.3873, allocations: 2.669 MB / 0.583 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.3873, allocations: 15.86 kB / 0.583 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-05/0.3874, allocations: 31.98 kB / 0.583 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005345/0.388, allocations: 381.7 kB / 0.5834 GB, free: 13.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005283/0.3932, allocations: 2.349 MB / 0.5857 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009649/0.4029, allocations: 7.617 MB / 0.5931 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003715/0.4066, allocations: 0.9371 MB / 0.594 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.407, allocations: 240.7 kB / 0.5943 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/0.4082, allocations: 0.6238 MB / 0.5949 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.4082, allocations: 38.56 kB / 0.5949 GB, free: 1.777 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.655e-06/0.4082, allocations: 0 / 0.5949 GB, free: 1.777 MB / 430.1 MB Notification: Performance of matching and sorting (n=58): time 0.0115/0.4197, allocations: 2.949 MB / 0.5978 GB, free: 14.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4198, allocations: 59.91 kB / 0.5978 GB, free: 14.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.4209, allocations: 0.816 MB / 0.5986 GB, free: 13.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.4209, allocations: 37.7 kB / 0.5987 GB, free: 13.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/0.4214, allocations: 0.6899 MB / 0.5993 GB, free: 13.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001929/0.4216, allocations: 230.1 kB / 0.5996 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.422, allocations: 250.8 kB / 0.5998 GB, free: 12.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.4222, allocations: 390.8 kB / 0.6002 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/0.4227, allocations: 374.4 kB / 0.6005 GB, free: 11.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.4239, allocations: 0.9913 MB / 0.6015 GB, free: 10.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.4258, allocations: 1.494 MB / 0.603 GB, free: 8.852 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.4259, allocations: 8 kB / 0.603 GB, free: 8.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002166/0.428, allocations: 1.384 MB / 0.6043 GB, free: 7.449 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.428, allocations: 16 kB / 0.6043 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/0.4281, allocations: 20 kB / 0.6044 GB, free: 7.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-05/0.4281, allocations: 35.94 kB / 0.6044 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.4293, allocations: 319.5 kB / 0.6047 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.4305, allocations: 1.329 MB / 0.606 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006337/0.4311, allocations: 55.94 kB / 0.606 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.571e-05/0.4312, allocations: 64 kB / 0.6061 GB, free: 5.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007028/0.4319, allocations: 0.505 MB / 0.6066 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.432, allocations: 75.48 kB / 0.6067 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.4322, allocations: 103.5 kB / 0.6068 GB, free: 4.824 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.4322, allocations: 3.984 kB / 0.6068 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4322, allocations: 0 / 0.6068 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.4324, allocations: 67.48 kB / 0.6068 GB, free: 4.754 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.968e-05/0.4324, allocations: 15.92 kB / 0.6069 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.4327, allocations: 12 kB / 0.6069 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.864e-05/0.4328, allocations: 36.38 kB / 0.6069 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001382/0.4342, allocations: 0.7323 MB / 0.6076 GB, free: 3.953 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001536/0.4357, allocations: 1.163 MB / 0.6087 GB, free: 2.773 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003763/0.4361, allocations: 259.8 kB / 0.609 GB, free: 2.516 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000624/0.4367, allocations: 0.4951 MB / 0.6095 GB, free: 2.027 MB / 446.1 MB Notification: Performance of Backend: time 2.91e-07/0.4367, allocations: 0 / 0.6095 GB, free: 2.027 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.4385, allocations: 0.8023 MB / 0.6103 GB, free: 1.227 MB / 446.1 MB Notification: Performance of SimCode: time 0.003513/0.442, allocations: 2.31 MB / 0.6125 GB, free: 14.86 MB / 462.1 MB Notification: Performance of Templates: time 0.02124/0.4632, allocations: 11.32 MB / 0.6236 GB, free: 3.672 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.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: 5.458429420999892]