Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001669/0.001669, allocations: 172.1 kB / 8.145 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 92.84 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2738/0.2738, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.069e-05/1.072e-05, allocations: 4 kB / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3192, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.251/0.5702, allocations: 97.57 MB / 0.5607 GB, free: 1.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/0.5706, allocations: 71.97 kB / 0.5607 GB, free: 1.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.117/0.6876, allocations: 19.48 MB / 0.5797 GB, free: 13.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.885e-05/0.6878, allocations: 24 kB / 0.5798 GB, free: 13.76 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.005466/0.6933, allocations: 1.338 MB / 0.5811 GB, free: 12.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.6933, allocations: 8.031 kB / 0.5811 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.6952, allocations: 170.3 kB / 0.5812 GB, free: 12.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002959/0.6982, allocations: 0.7127 MB / 0.5819 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-05/0.6983, allocations: 32 kB / 0.582 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004608/0.6988, allocations: 63.98 kB / 0.582 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006596/0.7054, allocations: 1.727 MB / 0.5837 GB, free: 9.617 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007116/0.7125, allocations: 1.987 MB / 0.5857 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.851e-05/0.7127, allocations: 7.938 kB / 0.5857 GB, free: 7.469 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/0.713, allocations: 15.97 kB / 0.5857 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006683/0.7137, allocations: 217.8 kB / 0.5859 GB, free: 7.238 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01894/0.7326, allocations: 7.659 MB / 0.5934 GB, free: 15.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.734, allocations: 387.1 kB / 0.5937 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.7351, allocations: 260.8 kB / 0.594 GB, free: 14.72 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00408/0.7392, allocations: 1.753 MB / 0.5957 GB, free: 12.69 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.7393, allocations: 42.48 kB / 0.5957 GB, free: 12.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 4.729e-06/0.7394, allocations: 0 / 0.5957 GB, free: 12.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.02155/0.7609, allocations: 2.625 MB / 0.5983 GB, free: 10 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.434e-05/0.761, allocations: 63.91 kB / 0.5984 GB, free: 9.926 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.7625, allocations: 0.6789 MB / 0.599 GB, free: 9.242 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.7626, allocations: 25.7 kB / 0.5991 GB, free: 9.211 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000556/0.7631, allocations: 0.6585 MB / 0.5997 GB, free: 8.543 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/0.7634, allocations: 201.1 kB / 0.5999 GB, free: 8.344 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.238e-05/0.7635, allocations: 7.938 kB / 0.5999 GB, free: 8.336 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.7637, allocations: 358.8 kB / 0.6002 GB, free: 7.977 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009477/0.7647, allocations: 366.5 kB / 0.6006 GB, free: 7.617 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.7663, allocations: 0.9914 MB / 0.6016 GB, free: 6.309 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/0.7688, allocations: 0.7661 MB / 0.6023 GB, free: 5.543 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.7688, allocations: 4 kB / 0.6023 GB, free: 5.539 MB / 442.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00421/0.773, allocations: 1.414 MB / 0.6037 GB, free: 4.117 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.7731, allocations: 8 kB / 0.6037 GB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.598e-05/0.7731, allocations: 20 kB / 0.6037 GB, free: 4.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.755e-05/0.7732, allocations: 39.98 kB / 0.6038 GB, free: 4.051 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002576/0.7758, allocations: 323.5 kB / 0.6041 GB, free: 3.734 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.7774, allocations: 1.32 MB / 0.6054 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000969/0.7784, allocations: 27.98 kB / 0.6054 GB, free: 2.277 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.7785, allocations: 72 kB / 0.6054 GB, free: 2.207 MB / 442.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.0002974/0.7789, allocations: 104.1 kB / 0.6055 GB, free: 2.102 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.7791, allocations: 82.95 kB / 0.6056 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.7795, allocations: 103.8 kB / 0.6057 GB, free: 1.914 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.7795, allocations: 8 kB / 0.6057 GB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7795, allocations: 0 / 0.6057 GB, free: 1.906 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.7795, allocations: 3.984 kB / 0.6057 GB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006487/0.786, allocations: 2.092 MB / 0.6078 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.7861, allocations: 4 kB / 0.6078 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.7873, allocations: 131.8 kB / 0.6079 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.393e-05/0.7874, allocations: 12 kB / 0.6079 GB, free: 15.55 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.7874, allocations: 8.562 kB / 0.6079 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.7887, allocations: 1.289 MB / 0.6092 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/0.7888, allocations: 7.938 kB / 0.6092 GB, free: 14.13 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003009/0.7918, allocations: 1.292 MB / 0.6105 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004819/0.7923, allocations: 200.1 kB / 0.6106 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.7925, allocations: 11.91 kB / 0.6107 GB, free: 12.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000653/0.7932, allocations: 8 kB / 0.6107 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.7933, allocations: 51.8 kB / 0.6107 GB, free: 12.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/0.7934, allocations: 23.98 kB / 0.6107 GB, free: 12.29 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001077/0.7945, allocations: 483.1 kB / 0.6112 GB, free: 11.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001481/0.796, allocations: 188 kB / 0.6114 GB, free: 11.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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.0003479/0.7963, allocations: 131 kB / 0.6115 GB, free: 11.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002636/0.799, allocations: 0.8853 MB / 0.6124 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.799, allocations: 0 / 0.6124 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.8, allocations: 336.4 kB / 0.6127 GB, free: 10.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00084/0.8009, allocations: 86.34 kB / 0.6128 GB, free: 10.21 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005354/0.8063, allocations: 1.792 MB / 0.6145 GB, free: 8.305 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002039/0.8084, allocations: 1.321 MB / 0.6158 GB, free: 6.953 MB / 458.7 MB Notification: Performance of SimCode: time 1.373e-06/0.8084, allocations: 0 / 0.6158 GB, free: 6.953 MB / 458.7 MB Notification: Performance of Templates: time 0.03417/0.8426, allocations: 15.82 MB / 0.6313 GB, free: 7.121 MB / 474.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/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_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches