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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 84.73 kB / 21.5 MB, free: 2.98 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 161.8 kB / 24.91 MB, free: 8.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9539/0.9539, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2601/0.2601, allocations: 34.86 MB / 296.6 MB, free: 0.5312 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sphericalSpherical.frame_b.r_0.[0-9,]+.|sphericalSpherical.frame_b.f.[0-9,]+.|sphericalSpherical.frame_b.t.[0-9,]+.|Prismatic1.frame_b.r_0.[0-9,]+.|Prismatic1.frame_b.f.[0-9,]+.|Prismatic1.frame_b.t.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sphericalSpherical.frame_b.r_0.[0-9,]+.|sphericalSpherical.frame_b.f.[0-9,]+.|sphericalSpherical.frame_b.t.[0-9,]+.|Prismatic1.frame_b.r_0.[0-9,]+.|Prismatic1.frame_b.f.[0-9,]+.|Prismatic1.frame_b.t.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 326 MB, free: 7.129 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.101e-05, allocations: 3.156 kB / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.006121/0.006142, allocations: 7.252 MB / 333.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003963/0.0101, allocations: 2.609 MB / 335.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000598/0.0107, allocations: 35.88 kB / 335.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.01183, allocations: 0.9458 MB / 336.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005394/0.01237, allocations: 333.9 kB / 337.1 MB, free: 11.9 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.0129, allocations: 350.9 kB / 337.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008733/0.01378, allocations: 0.7395 MB / 338.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006165/0.01439, allocations: 0.6852 MB / 338.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.01492, allocations: 0.5377 MB / 339.4 MB, free: 9.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005939/0.01552, allocations: 0.5611 MB / 340 MB, free: 9.008 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.01566, allocations: 100 kB / 340.1 MB, free: 8.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005798/0.01624, allocations: 0.5146 MB / 340.6 MB, free: 8.395 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.01659, allocations: 0.5103 MB / 341.1 MB, free: 7.883 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.01686, allocations: 351 kB / 341.5 MB, free: 7.539 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.01801, allocations: 1.273 MB / 342.7 MB, free: 6.262 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.01802, allocations: 4 kB / 342.8 MB, free: 6.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.01802, allocations: 0 / 342.8 MB, free: 6.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.234e-05/0.01804, allocations: 0 / 342.8 MB, free: 6.258 MB / 314.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.001706/0.01975, allocations: 1.319 MB / 344.1 MB, free: 4.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.01978, allocations: 12.02 kB / 344.1 MB, free: 4.902 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004782/0.02026, allocations: 180.7 kB / 344.3 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.02078, allocations: 490.7 kB / 344.7 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.336e-05/0.02081, allocations: 62.28 kB / 344.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.02093, allocations: 76.53 kB / 344.9 MB, free: 4.086 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.02237, allocations: 1.267 MB / 346.1 MB, free: 2.668 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.0224, allocations: 7.938 kB / 346.1 MB, free: 2.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.616e-05/0.02245, allocations: 39.97 kB / 346.2 MB, free: 2.621 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002783/0.02273, allocations: 381.7 kB / 346.6 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.02398, allocations: 0.7691 MB / 347.3 MB, free: 1.477 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.02803, allocations: 6.319 MB / 353.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.02926, allocations: 0.6229 MB / 354.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.864e-05/0.02936, allocations: 84.83 kB / 354.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005314/0.02989, allocations: 0.5817 MB / 354.9 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.02991, allocations: 38.59 kB / 355 MB, free: 9.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.114e-06/0.02992, allocations: 0 / 355 MB, free: 9.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.004423/0.03434, allocations: 1.911 MB / 356.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.03437, allocations: 63.91 kB / 356.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.03481, allocations: 0.6785 MB / 357.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.03484, allocations: 37.7 kB / 357.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.0351, allocations: 0.6478 MB / 358.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.03521, allocations: 222.1 kB / 358.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.03541, allocations: 250.6 kB / 358.8 MB, free: 5.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003673/0.03578, allocations: 390.6 kB / 359.2 MB, free: 5.328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.03592, allocations: 137.3 kB / 359.3 MB, free: 5.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.03633, allocations: 0.7862 MB / 360.1 MB, free: 4.078 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007823/0.03711, allocations: 1.072 MB / 361.1 MB, free: 2.676 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.03712, allocations: 4 kB / 361.1 MB, free: 2.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.0008468/0.03797, allocations: 0.8216 MB / 362 MB, free: 1.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.03799, allocations: 16 kB / 362 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.03801, allocations: 24 kB / 362 MB, free: 1.801 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.03804, allocations: 32 kB / 362 MB, free: 1.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000699/0.03874, allocations: 370.8 kB / 362.4 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006324/0.03937, allocations: 1.258 MB / 363.7 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.03973, allocations: 56.03 kB / 363.7 MB, free: 0 / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.03978, allocations: 64.05 kB / 363.8 MB, free: 15.93 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002832/0.04006, allocations: 228 kB / 364 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/0.04014, allocations: 63.94 kB / 364.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.421e-05/0.04023, allocations: 107.7 kB / 364.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.04024, allocations: 8 kB / 364.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.04024, allocations: 0 / 364.2 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.04025, allocations: 3.984 kB / 364.2 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.04168, allocations: 1.261 MB / 365.4 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.04168, allocations: 4 kB / 365.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003218/0.042, allocations: 162.6 kB / 365.6 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.04201, allocations: 12 kB / 365.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.022e-05/0.04203, allocations: 16 kB / 365.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000679/0.04271, allocations: 1.236 MB / 366.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.04271, allocations: 11.94 kB / 366.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005558/0.04327, allocations: 0.6298 MB / 367.5 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.375e-05/0.04333, allocations: 71.47 kB / 367.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/0.04338, allocations: 16 kB / 367.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.04353, allocations: 19.94 kB / 367.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.04358, allocations: 59.83 kB / 367.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.0436, allocations: 20 kB / 367.7 MB, free: 11.65 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002291/0.04383, allocations: 264.5 kB / 367.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04383, allocations: 0 / 367.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006064/0.04444, allocations: 216 kB / 368.2 MB, free: 11.19 MB / 346.7 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 () * Number of clocked 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.04457, allocations: 104.2 kB / 368.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007156/0.04529, allocations: 0.5197 MB / 368.8 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.942e-05/0.04532, allocations: 21.75 kB / 368.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.04547, allocations: 158.4 kB / 369 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.04588, allocations: 104.9 kB / 369.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.04784, allocations: 1.923 MB / 371 MB, free: 8.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.04805, allocations: 307.5 kB / 371.3 MB, free: 7.906 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002491/0.0483, allocations: 119.3 kB / 371.4 MB, free: 7.785 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.04852, allocations: 187.3 kB / 371.6 MB, free: 7.602 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.04852, allocations: 0 / 371.6 MB, free: 7.602 MB / 346.7 MB Notification: Performance of Templates: time 0.01285/0.06137, allocations: 7.59 MB / 379.2 MB, free: 168 kB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/SphericalSpherical/SphericalSpherical.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.967542016878724]