Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.001543/0.001543, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001085, allocations: 90.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2767/0.2767, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.805e-05/3.816e-05, allocations: 7.984 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.12, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4985/0.6186, allocations: 98.3 MB / 0.5688 GB, free: 5.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.6189, allocations: 79.17 kB / 0.5689 GB, free: 5.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09389/0.7128, allocations: 20.6 MB / 0.589 GB, free: 3.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7129, allocations: 0 / 0.589 GB, free: 3.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.213e-05/0.713, allocations: 27.98 kB / 0.589 GB, free: 3.492 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.005001/0.718, allocations: 1.379 MB / 0.5904 GB, free: 2.133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.7181, allocations: 8.031 kB / 0.5904 GB, free: 2.125 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.72, allocations: 206.3 kB / 0.5906 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.7226, allocations: 0.7133 MB / 0.5913 GB, free: 1.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.7228, allocations: 81.28 kB / 0.5913 GB, free: 1.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004359/0.7232, allocations: 102.4 kB / 0.5914 GB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009885/0.7331, allocations: 2.661 MB / 0.594 GB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.043e-05/0.7332, allocations: 7.938 kB / 0.594 GB, free: 14.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002083/0.7334, allocations: 50.78 kB / 0.5941 GB, free: 14.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004791/0.7339, allocations: 208.4 kB / 0.5943 GB, free: 14.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009783/0.7437, allocations: 2.38 MB / 0.5966 GB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.7593, allocations: 8.64 MB / 0.605 GB, free: 5.504 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007136/0.7665, allocations: 1.015 MB / 0.606 GB, free: 4.633 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/0.7672, allocations: 249.5 kB / 0.6063 GB, free: 4.473 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002325/0.7695, allocations: 1.736 MB / 0.608 GB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.7696, allocations: 34.56 kB / 0.608 GB, free: 2.484 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 4.038e-06/0.7696, allocations: 0 / 0.608 GB, free: 2.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.01951/0.7892, allocations: 2.709 MB / 0.6106 GB, free: 56 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.7893, allocations: 59.97 kB / 0.6107 GB, free: 15.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.7909, allocations: 0.7909 MB / 0.6115 GB, free: 15.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001088/0.7911, allocations: 36.89 kB / 0.6115 GB, free: 15.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005603/0.7916, allocations: 0.6855 MB / 0.6122 GB, free: 14.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/0.7919, allocations: 210.3 kB / 0.6124 GB, free: 14.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.792, allocations: 23.56 kB / 0.6124 GB, free: 14.58 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.7922, allocations: 367.1 kB / 0.6128 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009159/0.7931, allocations: 355.7 kB / 0.6131 GB, free: 14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.7945, allocations: 0.9755 MB / 0.614 GB, free: 12.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.7959, allocations: 0.5718 MB / 0.6146 GB, free: 12.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.7959, allocations: 4 kB / 0.6146 GB, free: 12.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003272/0.7992, allocations: 1.332 MB / 0.6159 GB, free: 11.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.7993, allocations: 19.98 kB / 0.6159 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/0.7993, allocations: 20.91 kB / 0.6159 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.517e-05/0.7994, allocations: 39.94 kB / 0.616 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002479/0.8019, allocations: 325.6 kB / 0.6163 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.8033, allocations: 1.366 MB / 0.6176 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.8047, allocations: 52.17 kB / 0.6177 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.8049, allocations: 64.94 kB / 0.6177 GB, free: 9.453 MB / 426.7 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 () * 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 (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.0003578/0.8053, allocations: 220.1 kB / 0.618 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.8055, allocations: 86.88 kB / 0.618 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.8058, allocations: 115.8 kB / 0.6181 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.8058, allocations: 7.953 kB / 0.6182 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.8058, allocations: 0 / 0.6182 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.8059, allocations: 0 / 0.6182 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005932/0.8118, allocations: 2.16 MB / 0.6203 GB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.8119, allocations: 8 kB / 0.6203 GB, free: 7.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.813, allocations: 127.8 kB / 0.6204 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.026e-05/0.8131, allocations: 8 kB / 0.6204 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.378e-05/0.8131, allocations: 22.81 kB / 0.6204 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001384/0.8145, allocations: 1.346 MB / 0.6217 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.8146, allocations: 4 kB / 0.6217 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.8165, allocations: 1.118 MB / 0.6228 GB, free: 4.457 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/0.817, allocations: 208.1 kB / 0.623 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.8172, allocations: 18.58 kB / 0.623 GB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/0.8178, allocations: 18.62 kB / 0.6231 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.818, allocations: 56.08 kB / 0.6231 GB, free: 4.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-05/0.818, allocations: 23.12 kB / 0.6231 GB, free: 4.164 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001262/0.8193, allocations: 0.578 MB / 0.6237 GB, free: 3.738 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.8193, allocations: 7.938 kB / 0.6237 GB, free: 3.73 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001585/0.8209, allocations: 214.3 kB / 0.6239 GB, free: 3.547 MB / 426.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.0002732/0.8212, allocations: 128.8 kB / 0.624 GB, free: 3.418 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002492/0.8237, allocations: 0.8607 MB / 0.6249 GB, free: 2.609 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.8238, allocations: 0 / 0.6249 GB, free: 2.609 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000913/0.8247, allocations: 280.9 kB / 0.6251 GB, free: 2.336 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009675/0.8257, allocations: 115.5 kB / 0.6253 GB, free: 2.223 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004818/0.8305, allocations: 1.773 MB / 0.627 GB, free: 340 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001471/0.8321, allocations: 1.244 MB / 0.6282 GB, free: 15.06 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000436/0.8325, allocations: 71.44 kB / 0.6283 GB, free: 14.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8325, allocations: 0 / 0.6283 GB, free: 14.99 MB / 442.7 MB Notification: Performance of Templates: time 0.03616/0.8687, allocations: 15.94 MB / 0.6438 GB, free: 15.05 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches