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.001673/0.001673, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 94.55 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2937/0.2937, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.129e-05, allocations: 4.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4117, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.5884, allocations: 97.64 MB / 0.5613 GB, free: 1.629 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5888, allocations: 75.95 kB / 0.5613 GB, free: 1.555 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.09064/0.6794, allocations: 20.17 MB / 0.581 GB, free: 13.24 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6795, allocations: 0 / 0.581 GB, free: 13.24 MB / 427.1 MB Notification: Performance of Transformations before backend: time 7.316e-05/0.6796, allocations: 24 kB / 0.581 GB, free: 13.22 MB / 427.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.004766/0.6844, allocations: 1.388 MB / 0.5824 GB, free: 11.78 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.6844, allocations: 8.031 kB / 0.5824 GB, free: 11.77 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.6863, allocations: 202.3 kB / 0.5826 GB, free: 11.57 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.6888, allocations: 0.7187 MB / 0.5833 GB, free: 10.81 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/0.6889, allocations: 32 kB / 0.5833 GB, free: 10.78 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003561/0.6892, allocations: 60 kB / 0.5834 GB, free: 10.72 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004501/0.6938, allocations: 1.695 MB / 0.5851 GB, free: 9.016 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005049/0.6989, allocations: 1.956 MB / 0.587 GB, free: 6.902 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-05/0.699, allocations: 11.94 kB / 0.587 GB, free: 6.891 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.6992, allocations: 4 kB / 0.587 GB, free: 6.887 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004977/0.6997, allocations: 205.8 kB / 0.5872 GB, free: 6.684 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/0.7136, allocations: 7.558 MB / 0.5946 GB, free: 14.9 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.7147, allocations: 406.3 kB / 0.5949 GB, free: 14.5 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/0.7153, allocations: 236.8 kB / 0.5952 GB, free: 14.26 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002448/0.7178, allocations: 1.742 MB / 0.5969 GB, free: 12.24 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.7179, allocations: 42.52 kB / 0.5969 GB, free: 12.19 MB / 443.1 MB Notification: Performance of pre-optimization done (n=44): time 3.577e-06/0.7179, allocations: 0 / 0.5969 GB, free: 12.19 MB / 443.1 MB Notification: Performance of matching and sorting (n=58): time 0.01162/0.7295, allocations: 1.998 MB / 0.5989 GB, free: 10.18 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.7296, allocations: 63.86 kB / 0.5989 GB, free: 10.11 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.7309, allocations: 0.6673 MB / 0.5996 GB, free: 9.438 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.731, allocations: 29.7 kB / 0.5996 GB, free: 9.402 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006188/0.7316, allocations: 0.7171 MB / 0.6003 GB, free: 8.676 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.7319, allocations: 205.1 kB / 0.6005 GB, free: 8.473 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.732, allocations: 3.938 kB / 0.6005 GB, free: 8.469 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.7322, allocations: 362.8 kB / 0.6008 GB, free: 8.105 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008107/0.733, allocations: 334.5 kB / 0.6012 GB, free: 7.777 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.7344, allocations: 0.9692 MB / 0.6021 GB, free: 6.488 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.7357, allocations: 0.5523 MB / 0.6027 GB, free: 5.941 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/0.7357, allocations: 8 kB / 0.6027 GB, free: 5.934 MB / 443.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002926/0.7387, allocations: 1.191 MB / 0.6038 GB, free: 4.734 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.7388, allocations: 12 kB / 0.6038 GB, free: 4.723 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/0.7388, allocations: 27.94 kB / 0.6039 GB, free: 4.695 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.897e-05/0.7389, allocations: 36 kB / 0.6039 GB, free: 4.66 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/0.7413, allocations: 327.4 kB / 0.6042 GB, free: 4.34 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.7427, allocations: 1.313 MB / 0.6055 GB, free: 2.918 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.7439, allocations: 39.84 kB / 0.6055 GB, free: 2.879 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.7441, allocations: 68 kB / 0.6056 GB, free: 2.812 MB / 443.1 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.0003823/0.7445, allocations: 191.5 kB / 0.6058 GB, free: 2.621 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.7447, allocations: 75.06 kB / 0.6058 GB, free: 2.547 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.745, allocations: 100 kB / 0.6059 GB, free: 2.441 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.745, allocations: 4 kB / 0.6059 GB, free: 2.438 MB / 443.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/0.7451, allocations: 3.984 kB / 0.6059 GB, free: 2.434 MB / 443.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.7451, allocations: 0 / 0.6059 GB, free: 2.434 MB / 443.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005056/0.7501, allocations: 1.833 MB / 0.6077 GB, free: 488 kB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.7502, allocations: 8 kB / 0.6077 GB, free: 480 kB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.7513, allocations: 127.8 kB / 0.6079 GB, free: 352 kB / 443.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-05/0.7513, allocations: 11.95 kB / 0.6079 GB, free: 340 kB / 443.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.7514, allocations: 8 kB / 0.6079 GB, free: 332 kB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.7526, allocations: 1.286 MB / 0.6091 GB, free: 14.92 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.319e-05/0.7526, allocations: 7.938 kB / 0.6091 GB, free: 14.91 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/0.7544, allocations: 1.077 MB / 0.6102 GB, free: 13.57 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/0.7548, allocations: 192 kB / 0.6104 GB, free: 13.37 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.755, allocations: 11.98 kB / 0.6104 GB, free: 13.36 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/0.7555, allocations: 8 kB / 0.6104 GB, free: 13.35 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.7557, allocations: 55.78 kB / 0.6105 GB, free: 13.29 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.944e-05/0.7557, allocations: 24 kB / 0.6105 GB, free: 13.27 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.0009512/0.7567, allocations: 475 kB / 0.6109 GB, free: 12.81 MB / 459.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7567, allocations: 0 / 0.6109 GB, free: 12.81 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.00158/0.7583, allocations: 188 kB / 0.6111 GB, free: 12.63 MB / 459.1 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.0002451/0.7586, allocations: 119.1 kB / 0.6112 GB, free: 12.5 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.7608, allocations: 0.7866 MB / 0.612 GB, free: 11.72 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.7608, allocations: 1.875 kB / 0.612 GB, free: 11.72 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008378/0.7616, allocations: 273.2 kB / 0.6123 GB, free: 11.46 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008598/0.7625, allocations: 91.14 kB / 0.6123 GB, free: 11.37 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.7672, allocations: 1.729 MB / 0.614 GB, free: 9.523 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.7687, allocations: 1.244 MB / 0.6152 GB, free: 8.246 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.7691, allocations: 67.44 kB / 0.6153 GB, free: 8.184 MB / 459.1 MB Notification: Performance of SimCode: time 1.863e-06/0.7692, allocations: 0 / 0.6153 GB, free: 8.184 MB / 459.1 MB Notification: Performance of Templates: time 0.0361/0.8053, allocations: 15.23 MB / 0.6302 GB, free: 8.945 MB / 475.1 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