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") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001699, allocations: 179.4 kB / 8.517 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.0009428/0.000943, allocations: 84.73 kB / 281.2 MB, free: 5.453 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.1668/0.1668, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.694e-06/7.815e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 61.91 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2779/0.3823, allocations: 99.08 MB / 0.5908 GB, free: 13.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002034/0.3825, allocations: 76.61 kB / 0.5909 GB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.05446/0.437, allocations: 19.77 MB / 0.6102 GB, free: 9.762 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.73e-05/0.4371, allocations: 20 kB / 0.6102 GB, free: 9.742 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.002756/0.4399, allocations: 1.338 MB / 0.6115 GB, free: 8.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4399, allocations: 11.97 kB / 0.6116 GB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008119/0.4407, allocations: 166.4 kB / 0.6117 GB, free: 8.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.4422, allocations: 0.7205 MB / 0.6124 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.4422, allocations: 36 kB / 0.6125 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.4424, allocations: 60 kB / 0.6125 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002514/0.4449, allocations: 1.727 MB / 0.6142 GB, free: 5.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002711/0.4477, allocations: 1.983 MB / 0.6161 GB, free: 3.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.4477, allocations: 11.84 kB / 0.6161 GB, free: 3.441 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.4478, allocations: 7.938 kB / 0.6162 GB, free: 3.434 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003076/0.4481, allocations: 221.8 kB / 0.6164 GB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008136/0.4563, allocations: 7.659 MB / 0.6238 GB, free: 11.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005439/0.4569, allocations: 385.7 kB / 0.6242 GB, free: 10.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.4572, allocations: 264.7 kB / 0.6245 GB, free: 10.69 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.4588, allocations: 1.742 MB / 0.6262 GB, free: 8.668 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.4589, allocations: 38.56 kB / 0.6262 GB, free: 8.621 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/0.4589, allocations: 0 / 0.6262 GB, free: 8.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.009428/0.4683, allocations: 2.63 MB / 0.6288 GB, free: 5.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.4684, allocations: 55.91 kB / 0.6288 GB, free: 5.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/0.4692, allocations: 0.6789 MB / 0.6295 GB, free: 5.23 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.4693, allocations: 25.7 kB / 0.6295 GB, free: 5.199 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.4697, allocations: 0.6209 MB / 0.6301 GB, free: 4.566 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001464/0.4698, allocations: 201.2 kB / 0.6303 GB, free: 4.367 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.4699, allocations: 4 kB / 0.6303 GB, free: 4.363 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.47, allocations: 394.6 kB / 0.6307 GB, free: 3.969 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.4705, allocations: 362.5 kB / 0.631 GB, free: 3.613 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009017/0.4714, allocations: 1.003 MB / 0.632 GB, free: 2.297 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.4727, allocations: 0.7467 MB / 0.6327 GB, free: 1.551 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.4728, allocations: 8 kB / 0.6328 GB, free: 1.543 MB / 442.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002414/0.4752, allocations: 1.442 MB / 0.6342 GB, free: 96 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.4752, allocations: 8 kB / 0.6342 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/0.4753, allocations: 24.03 kB / 0.6342 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.991e-05/0.4753, allocations: 40 kB / 0.6342 GB, free: 24 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.4766, allocations: 323.5 kB / 0.6345 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001014/0.4776, allocations: 1.329 MB / 0.6358 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006644/0.4783, allocations: 24 kB / 0.6359 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.4784, allocations: 76.14 kB / 0.6359 GB, free: 14.17 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.0002236/0.4787, allocations: 183.4 kB / 0.6361 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.4788, allocations: 75.06 kB / 0.6362 GB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.4791, allocations: 103.7 kB / 0.6363 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.4791, allocations: 4 kB / 0.6363 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.4791, allocations: 3.906 kB / 0.6363 GB, free: 13.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.4791, allocations: 4 kB / 0.6363 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/0.4828, allocations: 2.089 MB / 0.6383 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.4828, allocations: 12.03 kB / 0.6383 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/0.4834, allocations: 131.8 kB / 0.6385 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.4835, allocations: 8 kB / 0.6385 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.4835, allocations: 8 kB / 0.6385 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.4845, allocations: 1.289 MB / 0.6397 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-05/0.4846, allocations: 8 kB / 0.6397 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002049/0.4866, allocations: 1.292 MB / 0.641 GB, free: 8.488 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.4869, allocations: 156 kB / 0.6412 GB, free: 8.316 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.487, allocations: 12 kB / 0.6412 GB, free: 8.305 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.4873, allocations: 15.98 kB / 0.6412 GB, free: 8.289 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.4874, allocations: 51.78 kB / 0.6412 GB, free: 8.238 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.4875, allocations: 24 kB / 0.6413 GB, free: 8.215 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0006467/0.4881, allocations: 479.1 kB / 0.6417 GB, free: 7.754 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001109/0.4892, allocations: 195.9 kB / 0.6419 GB, free: 7.562 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.000295/0.4895, allocations: 127 kB / 0.642 GB, free: 7.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.491, allocations: 0.8658 MB / 0.6429 GB, free: 6.566 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.491, allocations: 0 / 0.6429 GB, free: 6.566 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.4914, allocations: 319.8 kB / 0.6432 GB, free: 6.254 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.4919, allocations: 84.34 kB / 0.6433 GB, free: 6.172 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.4949, allocations: 1.662 MB / 0.6449 GB, free: 4.402 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/0.4961, allocations: 1.324 MB / 0.6462 GB, free: 3.047 MB / 458.7 MB Notification: Performance of SimCode: time 8.31e-07/0.4962, allocations: 3.938 kB / 0.6462 GB, free: 3.043 MB / 458.7 MB Notification: Performance of Templates: time 0.01627/0.5124, allocations: 7.549 MB / 0.6535 GB, free: 11.54 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