Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001152/0.001152, allocations: 196.4 kB / 8.535 MB, free: 1.84 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 225.5 MB / 234.4 MB, free: 3.449 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008565/0.0008565, allocations: 99.44 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1784/0.1784, allocations: 45.14 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.863e-06/6.883e-06, allocations: 4 kB / 452.6 MB, free: 76.21 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2948/0.3963, allocations: 100.1 MB / 0.6016 GB, free: 2.934 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001874/0.3965, allocations: 77.02 kB / 0.6016 GB, free: 2.895 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.05189/0.4484, allocations: 19.82 MB / 0.621 GB, free: 1.996 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.05e-05/0.4485, allocations: 20 kB / 0.621 GB, free: 1.977 MB / 410.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.002299/0.4508, allocations: 1.336 MB / 0.6223 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.4508, allocations: 8.031 kB / 0.6223 GB, free: 0.6562 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006738/0.4515, allocations: 170.3 kB / 0.6225 GB, free: 500 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.4527, allocations: 0.7208 MB / 0.6232 GB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.4528, allocations: 32 kB / 0.6232 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.453, allocations: 60 kB / 0.6233 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002247/0.4552, allocations: 1.721 MB / 0.625 GB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.4578, allocations: 1.997 MB / 0.6269 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.4578, allocations: 11.94 kB / 0.6269 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.4579, allocations: 4 kB / 0.6269 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002822/0.4582, allocations: 220.3 kB / 0.6271 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008619/0.4669, allocations: 7.649 MB / 0.6346 GB, free: 6.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005233/0.4674, allocations: 377.1 kB / 0.635 GB, free: 5.891 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.4678, allocations: 262 kB / 0.6352 GB, free: 5.719 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/0.4694, allocations: 1.749 MB / 0.6369 GB, free: 3.754 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.4694, allocations: 41.84 kB / 0.637 GB, free: 3.707 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 2.515e-06/0.4694, allocations: 0 / 0.637 GB, free: 3.707 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.008736/0.4782, allocations: 2.636 MB / 0.6395 GB, free: 1.414 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.4782, allocations: 59.91 kB / 0.6396 GB, free: 1.344 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008395/0.4791, allocations: 0.6749 MB / 0.6403 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.4791, allocations: 25.7 kB / 0.6403 GB, free: 0.793 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.4794, allocations: 0.6207 MB / 0.6409 GB, free: 236 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.4796, allocations: 205.6 kB / 0.6411 GB, free: 56 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.4796, allocations: 0 / 0.6411 GB, free: 56 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4798, allocations: 400.8 kB / 0.6415 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/0.4803, allocations: 372.3 kB / 0.6418 GB, free: 15.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008219/0.4812, allocations: 0.9891 MB / 0.6428 GB, free: 14.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.4825, allocations: 0.7538 MB / 0.6435 GB, free: 13.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4825, allocations: 4 kB / 0.6435 GB, free: 13.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.0023/0.4848, allocations: 1.444 MB / 0.6449 GB, free: 12.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.4848, allocations: 4 kB / 0.6449 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.4849, allocations: 27.98 kB / 0.645 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.292e-05/0.4849, allocations: 35.91 kB / 0.645 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.4862, allocations: 331.1 kB / 0.6453 GB, free: 12.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009845/0.4872, allocations: 1.323 MB / 0.6466 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006431/0.4879, allocations: 24 kB / 0.6466 GB, free: 10.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.488, allocations: 75.36 kB / 0.6467 GB, free: 10.67 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.0001906/0.4882, allocations: 179.2 kB / 0.6469 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.4883, allocations: 75.06 kB / 0.6469 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.4885, allocations: 108.6 kB / 0.647 GB, free: 10.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.4885, allocations: 11.91 kB / 0.6471 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4885, allocations: 0 / 0.6471 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4885, allocations: 3.984 kB / 0.6471 GB, free: 10.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.4921, allocations: 2.088 MB / 0.6491 GB, free: 8.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.4921, allocations: 4 kB / 0.6491 GB, free: 8.559 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000612/0.4927, allocations: 135.8 kB / 0.6492 GB, free: 8.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.4927, allocations: 12 kB / 0.6492 GB, free: 8.418 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.4928, allocations: 8 kB / 0.6493 GB, free: 8.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000844/0.4936, allocations: 1.295 MB / 0.6505 GB, free: 7.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/0.4937, allocations: 8 kB / 0.6505 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001582/0.4952, allocations: 1.301 MB / 0.6518 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.4954, allocations: 155.9 kB / 0.6519 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.853e-05/0.4955, allocations: 4 kB / 0.652 GB, free: 5.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.4959, allocations: 11.98 kB / 0.652 GB, free: 5.488 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.4959, allocations: 50.86 kB / 0.652 GB, free: 5.445 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/0.496, allocations: 23.81 kB / 0.652 GB, free: 5.426 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0004964/0.4965, allocations: 477.8 kB / 0.6525 GB, free: 5.082 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009124/0.4974, allocations: 192 kB / 0.6527 GB, free: 4.895 MB / 442.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.0002143/0.4976, allocations: 135.8 kB / 0.6528 GB, free: 4.758 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.4988, allocations: 0.8609 MB / 0.6536 GB, free: 4.105 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4988, allocations: 0 / 0.6536 GB, free: 4.105 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004063/0.4992, allocations: 311.1 kB / 0.6539 GB, free: 3.875 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.4997, allocations: 88.94 kB / 0.654 GB, free: 3.812 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/0.5024, allocations: 1.67 MB / 0.6557 GB, free: 2.246 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.5035, allocations: 1.322 MB / 0.6569 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of SimCode: time 3.61e-07/0.5036, allocations: 4 kB / 0.6569 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of Templates: time 0.01489/0.5185, allocations: 7.549 MB / 0.6643 GB, free: 9.488 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches