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.001081/0.001081, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001264/0.001264, allocations: 167.4 kB / 25.61 MB, free: 8.578 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.9686/0.9686, allocations: 177 MB / 205.9 MB, free: 4.449 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.1509/0.1509, allocations: 34.88 MB / 297.4 MB, free: 13.35 MB / 282.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.273e-06/1.273e-06, allocations: 0 / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.982e-05, allocations: 4.812 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.00519/0.00521, allocations: 7.21 MB / 387.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003769/0.008979, allocations: 2.513 MB / 389.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006852/0.009664, allocations: 39.88 kB / 389.8 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.01077, allocations: 0.946 MB / 390.7 MB, free: 12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005607/0.01133, allocations: 337.8 kB / 391 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.0119, allocations: 343 kB / 391.4 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005414/0.01244, allocations: 0.7466 MB / 392.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.01287, allocations: 0.6657 MB / 392.8 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004019/0.01328, allocations: 0.5377 MB / 393.3 MB, free: 9.367 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004378/0.01371, allocations: 0.5884 MB / 393.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.948e-05/0.0138, allocations: 100 kB / 394 MB, free: 8.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005334/0.01434, allocations: 0.5107 MB / 394.5 MB, free: 8.168 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002505/0.01459, allocations: 0.5026 MB / 395 MB, free: 7.664 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.0148, allocations: 354.9 kB / 395.4 MB, free: 7.316 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008447/0.01565, allocations: 1.273 MB / 396.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.01565, allocations: 4 kB / 396.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01565, allocations: 0 / 396.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.01566, allocations: 4 kB / 396.7 MB, free: 6.031 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.001505/0.01717, allocations: 1.521 MB / 398.2 MB, free: 4.473 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.01721, allocations: 12.03 kB / 398.2 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004634/0.01767, allocations: 231.9 kB / 398.4 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.0181, allocations: 0.5041 MB / 398.9 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.01813, allocations: 62.34 kB / 399 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.01824, allocations: 80.52 kB / 399.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.01993, allocations: 1.511 MB / 400.6 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.01996, allocations: 11.89 kB / 400.6 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.02001, allocations: 31.97 kB / 400.6 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/0.02025, allocations: 385.7 kB / 401 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.02173, allocations: 0.9241 MB / 401.9 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00522/0.02695, allocations: 8.762 MB / 410.7 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.02871, allocations: 0.7337 MB / 411.4 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.02883, allocations: 103.6 kB / 411.5 MB, free: 6.594 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005368/0.02937, allocations: 0.5576 MB / 412.1 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.02939, allocations: 41.38 kB / 412.1 MB, free: 5.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.623e-06/0.0294, allocations: 4 kB / 412.1 MB, free: 5.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.005949/0.03534, allocations: 2.34 MB / 414.5 MB, free: 3.637 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.03539, allocations: 55.91 kB / 414.5 MB, free: 3.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/0.03599, allocations: 0.8105 MB / 415.3 MB, free: 2.746 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.03602, allocations: 41.7 kB / 415.4 MB, free: 2.699 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.03637, allocations: 0.7744 MB / 416.1 MB, free: 1.914 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.0365, allocations: 226.2 kB / 416.4 MB, free: 1.691 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002399/0.03674, allocations: 280.2 kB / 416.6 MB, free: 1.406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001943/0.03693, allocations: 0.5858 MB / 417.2 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.03708, allocations: 114.5 kB / 417.3 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000573/0.03765, allocations: 1.109 MB / 418.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.03856, allocations: 1.37 MB / 419.8 MB, free: 13.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.03857, allocations: 8 kB / 419.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.0009891/0.03956, allocations: 0.9778 MB / 420.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.03959, allocations: 16 kB / 420.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.03961, allocations: 24 kB / 420.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.03963, allocations: 32 kB / 420.9 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.04026, allocations: 315.9 kB / 421.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008276/0.04108, allocations: 1.839 MB / 423 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.04147, allocations: 51.95 kB / 423.1 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.367e-05/0.04152, allocations: 60 kB / 423.1 MB, free: 9.887 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.0002693/0.04179, allocations: 280 kB / 423.4 MB, free: 9.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.662e-05/0.04189, allocations: 115.3 kB / 423.5 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.04e-05/0.04198, allocations: 91.73 kB / 423.6 MB, free: 9.391 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.04198, allocations: 8 kB / 423.6 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.04198, allocations: 0 / 423.6 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.8e-06/0.04199, allocations: 3.984 kB / 423.6 MB, free: 9.379 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.04356, allocations: 1.384 MB / 425 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.04357, allocations: 8 kB / 425 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.04382, allocations: 116.6 kB / 425.1 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.04382, allocations: 12 kB / 425.1 MB, free: 7.719 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.04384, allocations: 20 kB / 425.1 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000671/0.04451, allocations: 1.803 MB / 426.9 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.04452, allocations: 7.938 kB / 427 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00048/0.045, allocations: 0.7302 MB / 427.7 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.04507, allocations: 75.47 kB / 427.8 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.04511, allocations: 19.94 kB / 427.8 MB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.04527, allocations: 16 kB / 427.8 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.04532, allocations: 55.8 kB / 427.8 MB, free: 4.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.04534, allocations: 16 kB / 427.9 MB, free: 4.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002626/0.0456, allocations: 406.8 kB / 428.3 MB, free: 4.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0456, allocations: 0 / 428.3 MB, free: 4.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006437/0.04625, allocations: 220 kB / 428.5 MB, free: 4.125 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.0001461/0.04639, allocations: 115.1 kB / 428.6 MB, free: 4.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006009/0.04699, allocations: 0.5598 MB / 429.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.047, allocations: 1.875 kB / 429.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.04716, allocations: 166.2 kB / 429.3 MB, free: 3.285 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.04764, allocations: 126.5 kB / 429.4 MB, free: 3.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.04975, allocations: 1.917 MB / 431.3 MB, free: 1.094 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.04998, allocations: 303.5 kB / 431.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002615/0.05024, allocations: 119.3 kB / 431.8 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.05047, allocations: 206.2 kB / 432 MB, free: 460 kB / 346.7 MB Notification: Performance of SimCode: time 1.112e-06/0.05047, allocations: 0 / 432 MB, free: 460 kB / 346.7 MB Notification: Performance of Templates: time 0.01224/0.06271, allocations: 7.755 MB / 439.7 MB, free: 8.828 MB / 362.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.399511764291674]