Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.5 MB / 230.7 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008816/0.0008815, allocations: 106.1 kB / 281.6 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2008/0.2008, allocations: 44.14 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.6e-05/1.594e-05, allocations: 8.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1283, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4198/0.5482, allocations: 99.15 MB / 0.5915 GB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.5485, allocations: 75.97 kB / 0.5916 GB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05562/0.6041, allocations: 20.46 MB / 0.6116 GB, free: 8.672 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.6042, allocations: 0 / 0.6116 GB, free: 8.672 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.53e-05/0.6042, allocations: 20 kB / 0.6116 GB, free: 8.652 MB / 426.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.002614/0.6069, allocations: 1.384 MB / 0.6129 GB, free: 7.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.6069, allocations: 11.98 kB / 0.6129 GB, free: 7.207 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009753/0.6079, allocations: 206.3 kB / 0.6131 GB, free: 7.004 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.6091, allocations: 0.711 MB / 0.6138 GB, free: 6.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.6092, allocations: 39.95 kB / 0.6139 GB, free: 6.211 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.6093, allocations: 56 kB / 0.6139 GB, free: 6.156 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002334/0.6117, allocations: 1.688 MB / 0.6156 GB, free: 4.465 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.6143, allocations: 1.964 MB / 0.6175 GB, free: 2.348 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.282e-05/0.6143, allocations: 7.938 kB / 0.6175 GB, free: 2.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.6144, allocations: 4 kB / 0.6175 GB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002775/0.6147, allocations: 206.6 kB / 0.6177 GB, free: 2.133 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007484/0.6222, allocations: 7.556 MB / 0.6251 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005559/0.6228, allocations: 410.6 kB / 0.6255 GB, free: 9.945 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.6231, allocations: 240.7 kB / 0.6257 GB, free: 9.707 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001442/0.6245, allocations: 1.734 MB / 0.6274 GB, free: 7.695 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.6246, allocations: 38.55 kB / 0.6274 GB, free: 7.648 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/0.6246, allocations: 0 / 0.6274 GB, free: 7.648 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.006572/0.6312, allocations: 2.007 MB / 0.6294 GB, free: 5.625 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.6312, allocations: 59.91 kB / 0.6294 GB, free: 5.555 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008618/0.6321, allocations: 0.671 MB / 0.6301 GB, free: 4.883 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.6321, allocations: 25.7 kB / 0.6301 GB, free: 4.852 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004068/0.6326, allocations: 0.6756 MB / 0.6308 GB, free: 4.164 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.6327, allocations: 201.2 kB / 0.631 GB, free: 3.965 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.6328, allocations: 11.94 kB / 0.631 GB, free: 3.953 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6329, allocations: 390.7 kB / 0.6314 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.6334, allocations: 338.5 kB / 0.6317 GB, free: 3.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008344/0.6342, allocations: 0.9692 MB / 0.6326 GB, free: 1.941 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.6349, allocations: 0.5484 MB / 0.6332 GB, free: 1.395 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.6349, allocations: 4 kB / 0.6332 GB, free: 1.391 MB / 442.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001712/0.6366, allocations: 1.226 MB / 0.6344 GB, free: 164 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.6367, allocations: 13.41 kB / 0.6344 GB, free: 152 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.6367, allocations: 27.98 kB / 0.6344 GB, free: 124 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.161e-05/0.6368, allocations: 40.03 kB / 0.6344 GB, free: 84 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.638, allocations: 323.4 kB / 0.6348 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009519/0.6389, allocations: 1.309 MB / 0.636 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.6395, allocations: 31.89 kB / 0.6361 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.102e-05/0.6396, allocations: 68 kB / 0.6361 GB, free: 14.25 MB / 458.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.0002159/0.6399, allocations: 191.5 kB / 0.6363 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.64, allocations: 75.06 kB / 0.6364 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.6402, allocations: 104 kB / 0.6365 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.6402, allocations: 4 kB / 0.6365 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6402, allocations: 0 / 0.6365 GB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.6402, allocations: 3.984 kB / 0.6365 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.6431, allocations: 1.825 MB / 0.6383 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.6431, allocations: 12.12 kB / 0.6383 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005256/0.6437, allocations: 127.8 kB / 0.6384 GB, free: 11.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.6437, allocations: 8 kB / 0.6384 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.6437, allocations: 8 kB / 0.6384 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008708/0.6446, allocations: 1.293 MB / 0.6397 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.6446, allocations: 11.89 kB / 0.6397 GB, free: 10.34 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.6456, allocations: 1.074 MB / 0.6407 GB, free: 9.004 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.6458, allocations: 152.2 kB / 0.6409 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.6459, allocations: 8 kB / 0.6409 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.6462, allocations: 7.984 kB / 0.6409 GB, free: 8.82 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.082e-05/0.6463, allocations: 59.78 kB / 0.641 GB, free: 8.762 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.6463, allocations: 20 kB / 0.641 GB, free: 8.742 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005432/0.6468, allocations: 471.1 kB / 0.6414 GB, free: 8.289 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.593e-06/0.6469, allocations: 0 / 0.6414 GB, free: 8.289 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009806/0.6478, allocations: 191.9 kB / 0.6416 GB, free: 8.102 MB / 458.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.0001678/0.648, allocations: 119 kB / 0.6417 GB, free: 7.977 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.6491, allocations: 0.7844 MB / 0.6425 GB, free: 7.195 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6491, allocations: 8 kB / 0.6425 GB, free: 7.188 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.6495, allocations: 247.6 kB / 0.6427 GB, free: 6.945 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004708/0.65, allocations: 95.41 kB / 0.6428 GB, free: 6.855 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.6531, allocations: 1.606 MB / 0.6444 GB, free: 5.141 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.6545, allocations: 1.248 MB / 0.6456 GB, free: 3.863 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001163/0.6557, allocations: 326.9 kB / 0.6459 GB, free: 3.539 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.6559, allocations: 63.42 kB / 0.646 GB, free: 3.48 MB / 458.7 MB Notification: Performance of SimCode: time 1.633e-06/0.6559, allocations: 0 / 0.646 GB, free: 3.48 MB / 458.7 MB Notification: Performance of Templates: time 0.0145/0.6704, allocations: 6.205 MB / 0.652 GB, free: 13.31 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches