Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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 3.2.3+maint.om/package.mo): time 0.0008974/0.0008974, allocations: 185.2 kB / 7.799 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.027/1.027, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0007903/0.0007902, allocations: 95.41 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1483/0.1483, allocations: 43.49 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.42e-06/5.45e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2098, allocations: 58.84 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.3219, allocations: 97.57 MB / 0.5607 GB, free: 1.352 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.3221, allocations: 75.97 kB / 0.5607 GB, free: 1.277 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.04874/0.3709, allocations: 19.48 MB / 0.5798 GB, free: 13.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.468e-05/0.371, allocations: 28 kB / 0.5798 GB, free: 13.62 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.002189/0.3732, allocations: 1.337 MB / 0.5811 GB, free: 12.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3732, allocations: 8.031 kB / 0.5811 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006398/0.3738, allocations: 170.2 kB / 0.5813 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.375, allocations: 0.7089 MB / 0.582 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.3751, allocations: 36 kB / 0.582 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.3752, allocations: 63.89 kB / 0.5821 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002237/0.3775, allocations: 1.727 MB / 0.5837 GB, free: 9.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.3798, allocations: 1.987 MB / 0.5857 GB, free: 7.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/0.3799, allocations: 7.938 kB / 0.5857 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.76e-05/0.38, allocations: 11.97 kB / 0.5857 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002529/0.3802, allocations: 213.8 kB / 0.5859 GB, free: 7.109 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007402/0.3877, allocations: 7.659 MB / 0.5934 GB, free: 15.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004922/0.3882, allocations: 387.1 kB / 0.5938 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.3885, allocations: 260.8 kB / 0.594 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001443/0.3899, allocations: 1.746 MB / 0.5957 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.39, allocations: 54.52 kB / 0.5958 GB, free: 12.51 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.304e-06/0.39, allocations: 0 / 0.5958 GB, free: 12.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.008073/0.3981, allocations: 2.621 MB / 0.5983 GB, free: 9.871 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3981, allocations: 55.91 kB / 0.5984 GB, free: 9.805 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007496/0.3989, allocations: 0.6828 MB / 0.599 GB, free: 9.117 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.3989, allocations: 25.7 kB / 0.5991 GB, free: 9.086 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.3992, allocations: 0.6209 MB / 0.5997 GB, free: 8.453 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.3994, allocations: 205.1 kB / 0.5999 GB, free: 8.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3994, allocations: 0 / 0.5999 GB, free: 8.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3995, allocations: 390.8 kB / 0.6002 GB, free: 7.859 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.4, allocations: 366.4 kB / 0.6006 GB, free: 7.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008251/0.4008, allocations: 0.9953 MB / 0.6016 GB, free: 6.188 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.4021, allocations: 0.7544 MB / 0.6023 GB, free: 5.434 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.4021, allocations: 15.98 kB / 0.6023 GB, free: 5.418 MB / 442.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.002166/0.4043, allocations: 1.446 MB / 0.6037 GB, free: 3.965 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.4043, allocations: 8 kB / 0.6037 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.4043, allocations: 20 kB / 0.6038 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/0.4043, allocations: 36 kB / 0.6038 GB, free: 3.902 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.4055, allocations: 323.5 kB / 0.6041 GB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008846/0.4064, allocations: 1.328 MB / 0.6054 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/0.407, allocations: 32.05 kB / 0.6054 GB, free: 2.117 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/0.4071, allocations: 76 kB / 0.6055 GB, free: 2.043 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.0001725/0.4073, allocations: 171.5 kB / 0.6057 GB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.729e-05/0.4074, allocations: 82.91 kB / 0.6057 GB, free: 1.789 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.4076, allocations: 103.7 kB / 0.6058 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.4076, allocations: 8 kB / 0.6058 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4076, allocations: 0 / 0.6058 GB, free: 1.676 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4076, allocations: 7.984 kB / 0.6059 GB, free: 1.668 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.4109, allocations: 2.084 MB / 0.6079 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.4109, allocations: 8 kB / 0.6079 GB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005465/0.4114, allocations: 131.8 kB / 0.608 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.4114, allocations: 8 kB / 0.608 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.4115, allocations: 8 kB / 0.608 GB, free: 15.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007289/0.4122, allocations: 1.301 MB / 0.6093 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/0.4122, allocations: 11.94 kB / 0.6093 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001442/0.4137, allocations: 1.285 MB / 0.6106 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.4139, allocations: 200 kB / 0.6108 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.002e-05/0.414, allocations: 8 kB / 0.6108 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.4143, allocations: 4 kB / 0.6108 GB, free: 12.13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.4144, allocations: 51.8 kB / 0.6108 GB, free: 12.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.4145, allocations: 27.98 kB / 0.6108 GB, free: 12.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0004731/0.4149, allocations: 479.1 kB / 0.6113 GB, free: 11.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008486/0.4158, allocations: 192 kB / 0.6115 GB, free: 11.41 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.0002125/0.416, allocations: 138.2 kB / 0.6116 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.4171, allocations: 0.8727 MB / 0.6125 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4171, allocations: 0 / 0.6125 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.4175, allocations: 309.4 kB / 0.6128 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.4179, allocations: 83.39 kB / 0.6128 GB, free: 10.01 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.4204, allocations: 1.673 MB / 0.6145 GB, free: 8.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.4214, allocations: 1.321 MB / 0.6158 GB, free: 6.879 MB / 458.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4214, allocations: 0 / 0.6158 GB, free: 6.879 MB / 458.7 MB Notification: Performance of Templates: time 0.01316/0.4346, allocations: 7.539 MB / 0.6231 GB, free: 15.35 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches