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.001559/0.001559, allocations: 85.8 kB / 21.42 MB, free: 3.07 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.001095/0.001095, allocations: 158.3 kB / 24.82 MB, free: 8.766 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.9943/0.9943, allocations: 177 MB / 205.1 MB, free: 5.473 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.2834/0.2834, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.974e-06/1.974e-06, allocations: 0 / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.35e-05/3.548e-05, allocations: 6.25 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.007937/0.007972, allocations: 7.199 MB / 386.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00413/0.0121, allocations: 2.519 MB / 389 MB, free: 8.066 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.01254, allocations: 39.88 kB / 389 MB, free: 8.027 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.01403, allocations: 0.942 MB / 389.9 MB, free: 7.082 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004824/0.01452, allocations: 333.9 kB / 390.3 MB, free: 6.754 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.01502, allocations: 358.9 kB / 390.6 MB, free: 6.402 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006948/0.01571, allocations: 0.7317 MB / 391.3 MB, free: 5.668 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006843/0.0164, allocations: 0.6696 MB / 392 MB, free: 4.988 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004948/0.01689, allocations: 0.5377 MB / 392.6 MB, free: 4.449 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004647/0.01736, allocations: 0.5806 MB / 393.1 MB, free: 3.867 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.521e-05/0.01745, allocations: 104 kB / 393.2 MB, free: 3.766 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.01788, allocations: 0.5068 MB / 393.7 MB, free: 3.258 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.01819, allocations: 0.5103 MB / 394.2 MB, free: 2.746 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.01848, allocations: 351 kB / 394.6 MB, free: 2.402 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.01964, allocations: 1.273 MB / 395.9 MB, free: 1.125 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.01964, allocations: 0 / 395.9 MB, free: 1.125 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01964, allocations: 0 / 395.9 MB, free: 1.125 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.01965, allocations: 0 / 395.9 MB, free: 1.125 MB / 362.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.002063/0.02171, allocations: 1.533 MB / 397.4 MB, free: 15.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.02175, allocations: 16.02 kB / 397.4 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000465/0.02222, allocations: 228 kB / 397.6 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.02267, allocations: 0.5041 MB / 398.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.0227, allocations: 62.33 kB / 398.2 MB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.02281, allocations: 92.41 kB / 398.3 MB, free: 14.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.0246, allocations: 1.503 MB / 399.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.02462, allocations: 11.94 kB / 399.8 MB, free: 12.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.02467, allocations: 35.97 kB / 399.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002736/0.02495, allocations: 389.7 kB / 400.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001505/0.02645, allocations: 0.9185 MB / 401.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004749/0.0312, allocations: 8.754 MB / 409.9 MB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.03305, allocations: 0.7306 MB / 410.6 MB, free: 1.781 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.03316, allocations: 107.6 kB / 410.7 MB, free: 1.672 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005124/0.03367, allocations: 0.5693 MB / 411.3 MB, free: 1.102 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.03369, allocations: 45.41 kB / 411.3 MB, free: 1.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 1.763e-06/0.03369, allocations: 4 kB / 411.3 MB, free: 1.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.004873/0.03857, allocations: 2.34 MB / 413.7 MB, free: 14.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.0386, allocations: 59.91 kB / 413.7 MB, free: 14.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/0.03911, allocations: 0.8106 MB / 414.6 MB, free: 13.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.03914, allocations: 37.7 kB / 414.6 MB, free: 13.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003201/0.03946, allocations: 0.7705 MB / 415.4 MB, free: 12.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.03958, allocations: 234.1 kB / 415.6 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.03979, allocations: 272.3 kB / 415.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.03997, allocations: 0.5936 MB / 416.5 MB, free: 11.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.04009, allocations: 118.5 kB / 416.6 MB, free: 11.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/0.04089, allocations: 1.101 MB / 417.7 MB, free: 10.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000852/0.04174, allocations: 1.37 MB / 419 MB, free: 8.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.04175, allocations: 4 kB / 419 MB, free: 8.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.0009065/0.04265, allocations: 0.9859 MB / 420 MB, free: 7.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.04267, allocations: 19.19 kB / 420 MB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.04269, allocations: 28 kB / 420.1 MB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.866e-05/0.04272, allocations: 32 kB / 420.1 MB, free: 7.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.04327, allocations: 315.4 kB / 420.4 MB, free: 7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007211/0.04399, allocations: 1.829 MB / 422.2 MB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/0.04434, allocations: 51.95 kB / 422.3 MB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/0.04439, allocations: 64 kB / 422.4 MB, free: 4.949 MB / 394.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.0002362/0.04463, allocations: 279.9 kB / 422.6 MB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.04471, allocations: 99.42 kB / 422.7 MB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.037e-05/0.0448, allocations: 95.73 kB / 422.8 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.04481, allocations: 12.03 kB / 422.8 MB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.04481, allocations: 0 / 422.8 MB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.04482, allocations: 3.984 kB / 422.8 MB, free: 4.449 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.0464, allocations: 1.392 MB / 424.2 MB, free: 2.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.0464, allocations: 8 kB / 424.2 MB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.04663, allocations: 115.8 kB / 424.3 MB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/0.04663, allocations: 8 kB / 424.4 MB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.04665, allocations: 20 kB / 424.4 MB, free: 2.762 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005504/0.0472, allocations: 1.797 MB / 426.2 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.04721, allocations: 4 kB / 426.2 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.04766, allocations: 0.7227 MB / 426.9 MB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.04773, allocations: 83.36 kB / 427 MB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.04777, allocations: 24.03 kB / 427 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.04791, allocations: 20 kB / 427 MB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.04796, allocations: 55.8 kB / 427.1 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.04798, allocations: 16 kB / 427.1 MB, free: 15.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002391/0.04822, allocations: 406.8 kB / 427.5 MB, free: 15.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04822, allocations: 0 / 427.5 MB, free: 15.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005227/0.04874, allocations: 212 kB / 427.7 MB, free: 15.2 MB / 410.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.0001188/0.04886, allocations: 123.1 kB / 427.8 MB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005036/0.04936, allocations: 0.5655 MB / 428.4 MB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.04936, allocations: 4 kB / 428.4 MB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.04951, allocations: 162.6 kB / 428.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004426/0.04995, allocations: 112.5 kB / 428.7 MB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.05168, allocations: 1.924 MB / 430.6 MB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.05214, allocations: 299.5 kB / 430.9 MB, free: 11.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002233/0.05236, allocations: 119.3 kB / 431 MB, free: 11.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.05257, allocations: 210.2 kB / 431.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.05257, allocations: 0 / 431.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of Templates: time 0.01053/0.0631, allocations: 7.579 MB / 438.8 MB, free: 4.055 MB / 410.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 -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: 3.3956983438692987]