Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.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.001385/0.001385, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001603/0.001603, allocations: 212.2 kB / 24.48 MB, free: 3.977 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.439/1.439, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.2312/0.2312, allocations: 46.96 MB / 361.6 MB, free: 4.035 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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 71.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3482, allocations: 66.03 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01486/0.3631, allocations: 10.26 MB / 0.5718 GB, free: 9.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009176/0.3722, allocations: 3.856 MB / 0.5756 GB, free: 5.977 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.3742, allocations: 71.69 kB / 0.5757 GB, free: 5.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002939/0.3771, allocations: 1.171 MB / 0.5768 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004838/0.382, allocations: 1.775 MB / 0.5785 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.3837, allocations: 0.5691 MB / 0.5791 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006494/0.3902, allocations: 4.039 MB / 0.583 GB, free: 14.34 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002721/0.3929, allocations: 1.68 MB / 0.5847 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.3949, allocations: 1.179 MB / 0.5858 GB, free: 11.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002999/0.3979, allocations: 1.857 MB / 0.5877 GB, free: 9.582 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005723/0.3985, allocations: 216 kB / 0.5879 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.4011, allocations: 1.189 MB / 0.589 GB, free: 8.18 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00179/0.4029, allocations: 1.612 MB / 0.5906 GB, free: 6.562 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.4047, allocations: 1.3 MB / 0.5919 GB, free: 5.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009513/0.4142, allocations: 6.228 MB / 0.5979 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.4142, allocations: 0 / 0.5979 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.716e-06/0.4142, allocations: 4 kB / 0.5979 GB, free: 15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002099/0.4144, allocations: 0 / 0.5979 GB, free: 15 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.009053/0.4234, allocations: 4.111 MB / 0.602 GB, free: 10.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4235, allocations: 12.03 kB / 0.602 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01966/0.4431, allocations: 6.159 MB / 0.608 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006273/0.4494, allocations: 2.137 MB / 0.6101 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.4496, allocations: 180.7 kB / 0.6102 GB, free: 2.305 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001199/0.4508, allocations: 303.7 kB / 0.6105 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02001/0.4708, allocations: 10.72 MB / 0.621 GB, free: 6.824 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.553e-05/0.4709, allocations: 31.77 kB / 0.621 GB, free: 6.793 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/0.4713, allocations: 115.8 kB / 0.6211 GB, free: 6.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004055/0.4754, allocations: 2.463 MB / 0.6235 GB, free: 4.215 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02098/0.4963, allocations: 10.13 MB / 0.6334 GB, free: 10.07 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05669/0.553, allocations: 32.96 MB / 0.6656 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01127/0.5643, allocations: 4.466 MB / 0.67 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003395/0.5677, allocations: 2.185 MB / 0.6721 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.5689, allocations: 0.5518 MB / 0.6727 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.569, allocations: 48.56 kB / 0.6727 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=224): time 4.929e-06/0.569, allocations: 4 kB / 0.6727 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=231): time 0.03541/0.6044, allocations: 14.77 MB / 0.6871 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001421/0.6058, allocations: 1.492 MB / 0.6886 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003844/0.6097, allocations: 2.829 MB / 0.6914 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004943/0.6102, allocations: 57.69 kB / 0.6914 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002158/0.6123, allocations: 2.795 MB / 0.6941 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00119/0.6135, allocations: 0.8875 MB / 0.695 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001684/0.6152, allocations: 1.116 MB / 0.6961 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6153, allocations: 305.1 kB / 0.6964 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004022/0.6194, allocations: 2.63 MB / 0.699 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006882/0.6262, allocations: 5.64 MB / 0.7045 GB, free: 14.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/0.6388, allocations: 8.945 MB / 0.7132 GB, free: 4.324 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/0.6389, allocations: 28 kB / 0.7132 GB, free: 4.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=733) (initialization): time 0.0618/0.7007, allocations: 17.13 MB / 0.73 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.531e-05/0.7007, allocations: 48 kB / 0.73 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3442/1.045, allocations: 10.61 MB / 0.7404 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04089/1.086, allocations: 8.643 MB / 0.7488 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004374/1.09, allocations: 1.314 MB / 0.7501 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02378/1.114, allocations: 17.29 MB / 0.767 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004468/1.118, allocations: 419.6 kB / 0.7674 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000699/1.119, allocations: 316.8 kB / 0.7677 GB, free: 131.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (661): * Single equations (assignments): 650 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002407/1.122, allocations: 2.024 MB / 0.7696 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003935/1.122, allocations: 272.2 kB / 0.7699 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006737/1.129, allocations: 5.103 MB / 0.7749 GB, free: 123.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005664/1.134, allocations: 4.393 MB / 0.7792 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.134, allocations: 4 kB / 0.7792 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.134, allocations: 11.95 kB / 0.7792 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01679/1.151, allocations: 11.49 MB / 0.7904 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/1.151, allocations: 15.92 kB / 0.7904 GB, free: 108 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/1.153, allocations: 455.2 kB / 0.7909 GB, free: 107.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002582/1.156, allocations: 0.9344 MB / 0.7918 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002289/1.156, allocations: 55.94 kB / 0.7918 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00505/1.161, allocations: 5.558 MB / 0.7973 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008638/1.162, allocations: 1.419 MB / 0.7986 GB, free: 99.29 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01006/1.172, allocations: 7.722 MB / 0.8062 GB, free: 91.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006732/1.172, allocations: 250.5 kB / 0.8064 GB, free: 91.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003306/1.173, allocations: 47.98 kB / 0.8065 GB, free: 91.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/1.174, allocations: 191.7 kB / 0.8067 GB, free: 91.28 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/1.174, allocations: 151.6 kB / 0.8068 GB, free: 91.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/1.175, allocations: 67.92 kB / 0.8069 GB, free: 91.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001749/1.176, allocations: 1.603 MB / 0.8084 GB, free: 89.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.176, allocations: 0 / 0.8084 GB, free: 89.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004475/1.181, allocations: 1.09 MB / 0.8095 GB, free: 88.37 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005355/1.181, allocations: 182 kB / 0.8097 GB, free: 88.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008836/1.19, allocations: 6.233 MB / 0.8158 GB, free: 82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.558e-05/1.19, allocations: 4 kB / 0.8158 GB, free: 82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002903/1.193, allocations: 2.289 MB / 0.818 GB, free: 79.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/1.195, allocations: 307.9 kB / 0.8183 GB, free: 79.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/1.209, allocations: 10.04 MB / 0.8281 GB, free: 69.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/1.212, allocations: 2.629 MB / 0.8307 GB, free: 66.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003593/1.215, allocations: 2.043 MB / 0.8326 GB, free: 64.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006692/1.216, allocations: 203.4 kB / 0.8328 GB, free: 64.32 MB / 0.5606 GB Notification: Performance of SimCode: time 8.22e-07/1.216, allocations: 5.312 kB / 0.8328 GB, free: 64.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.06256/1.278, allocations: 46.03 MB / 0.8778 GB, free: 18.57 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.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.043981221999275]