Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009654/0.0009655, allocations: 181.4 kB / 8.009 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008234/0.0008235, allocations: 94.61 kB / 261.7 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2208/0.2208, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.679e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 58.85 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.5095, allocations: 97.64 MB / 0.5613 GB, free: 14.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/0.5098, allocations: 76.19 kB / 0.5614 GB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0529/0.5627, allocations: 20.17 MB / 0.5811 GB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5627, allocations: 0 / 0.5811 GB, free: 12.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.185e-05/0.5628, allocations: 28 kB / 0.5811 GB, free: 12.71 MB / 394.7 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.002533/0.5653, allocations: 1.386 MB / 0.5824 GB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5654, allocations: 12.03 kB / 0.5824 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008978/0.5663, allocations: 202.3 kB / 0.5826 GB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/0.5675, allocations: 0.7173 MB / 0.5833 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.5676, allocations: 32 kB / 0.5834 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.5677, allocations: 60 kB / 0.5834 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002146/0.5699, allocations: 1.688 MB / 0.5851 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.5723, allocations: 1.97 MB / 0.587 GB, free: 7.715 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.5724, allocations: 7.938 kB / 0.587 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.571e-05/0.5725, allocations: 4 kB / 0.587 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000265/0.5727, allocations: 204.4 kB / 0.5872 GB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007513/0.5803, allocations: 7.553 MB / 0.5946 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.5809, allocations: 405.8 kB / 0.595 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.5812, allocations: 239.4 kB / 0.5952 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/0.5828, allocations: 1.73 MB / 0.5969 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.5828, allocations: 44.02 kB / 0.5969 GB, free: 14.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 2.765e-06/0.5828, allocations: 0 / 0.5969 GB, free: 14.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.006441/0.5893, allocations: 2.003 MB / 0.5989 GB, free: 12.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.5893, allocations: 63.92 kB / 0.5989 GB, free: 12.71 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008802/0.5902, allocations: 0.6673 MB / 0.5996 GB, free: 12.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.5903, allocations: 29.7 kB / 0.5996 GB, free: 12.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/0.5907, allocations: 0.6754 MB / 0.6003 GB, free: 11.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.5909, allocations: 212.3 kB / 0.6005 GB, free: 11.42 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.5909, allocations: 0 / 0.6005 GB, free: 11.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.5911, allocations: 389.7 kB / 0.6009 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.5916, allocations: 338.5 kB / 0.6012 GB, free: 10.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008729/0.5925, allocations: 0.9651 MB / 0.6021 GB, free: 9.711 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/0.5932, allocations: 0.5496 MB / 0.6027 GB, free: 9.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.5932, allocations: 4 kB / 0.6027 GB, free: 9.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001664/0.5948, allocations: 1.226 MB / 0.6039 GB, free: 8.316 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.5949, allocations: 12 kB / 0.6039 GB, free: 8.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.708e-05/0.5949, allocations: 27.98 kB / 0.6039 GB, free: 8.277 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.107e-05/0.595, allocations: 39.94 kB / 0.6039 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.5962, allocations: 322.1 kB / 0.6042 GB, free: 7.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.5972, allocations: 1.322 MB / 0.6055 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006121/0.5978, allocations: 35.84 kB / 0.6056 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/0.5979, allocations: 65.38 kB / 0.6056 GB, free: 6.438 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (160): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.5982, allocations: 184.8 kB / 0.6058 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.5983, allocations: 78.97 kB / 0.6059 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.5985, allocations: 102.8 kB / 0.606 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.5985, allocations: 4 kB / 0.606 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.5985, allocations: 0 / 0.606 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.5985, allocations: 3.984 kB / 0.606 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.6014, allocations: 1.83 MB / 0.6078 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.6014, allocations: 11.98 kB / 0.6078 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/0.6019, allocations: 127.1 kB / 0.6079 GB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.602, allocations: 11.95 kB / 0.6079 GB, free: 4.391 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.602, allocations: 8 kB / 0.6079 GB, free: 4.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009204/0.6029, allocations: 1.287 MB / 0.6092 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/0.6029, allocations: 11.88 kB / 0.6092 GB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.604, allocations: 1.081 MB / 0.6103 GB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.6042, allocations: 192.7 kB / 0.6104 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.6043, allocations: 8 kB / 0.6104 GB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.6046, allocations: 11.98 kB / 0.6105 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.6046, allocations: 54.53 kB / 0.6105 GB, free: 1.543 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.6047, allocations: 27.12 kB / 0.6105 GB, free: 1.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005081/0.6052, allocations: 477.9 kB / 0.611 GB, free: 1.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6052, allocations: 0 / 0.611 GB, free: 1.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009552/0.6062, allocations: 184 kB / 0.6112 GB, free: 1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001978/0.6064, allocations: 119 kB / 0.6113 GB, free: 0.875 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.6075, allocations: 0.7794 MB / 0.612 GB, free: 304 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.6075, allocations: 0 / 0.612 GB, free: 304 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003402/0.6079, allocations: 251.5 kB / 0.6123 GB, free: 112 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.6084, allocations: 89.23 kB / 0.6124 GB, free: 52 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.6111, allocations: 1.608 MB / 0.6139 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.6122, allocations: 1.246 MB / 0.6151 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008723/0.6131, allocations: 334.9 kB / 0.6155 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.6132, allocations: 63.42 kB / 0.6155 GB, free: 12.95 MB / 426.7 MB Notification: Performance of SimCode: time 7.61e-07/0.6132, allocations: 7.938 kB / 0.6155 GB, free: 12.94 MB / 426.7 MB Notification: Performance of Templates: time 0.01304/0.6263, allocations: 6.185 MB / 0.6216 GB, free: 6.785 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches