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.001117/0.001117, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.004342/0.004342, allocations: 159.9 kB / 24.91 MB, free: 8.719 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.9462/0.9462, allocations: 177 MB / 205.2 MB, free: 5.035 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.2368/0.2368, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 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.252e-06/1.252e-06, allocations: 0 / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.359e-05, allocations: 2.312 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.005519/0.005533, allocations: 7.214 MB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.008681, allocations: 2.598 MB / 335.7 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.00898, allocations: 43.88 kB / 335.8 MB, free: 13.24 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001105/0.01009, allocations: 0.9537 MB / 336.7 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004275/0.01051, allocations: 337.9 kB / 337.1 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004281/0.01094, allocations: 355 kB / 337.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.01145, allocations: 0.7395 MB / 338.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004882/0.01194, allocations: 0.6852 MB / 338.8 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004752/0.01241, allocations: 0.5378 MB / 339.4 MB, free: 9.617 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006112/0.01302, allocations: 0.5611 MB / 339.9 MB, free: 9.055 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.01314, allocations: 100 kB / 340 MB, free: 8.957 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000544/0.01368, allocations: 0.5029 MB / 340.5 MB, free: 8.453 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003836/0.01406, allocations: 0.5142 MB / 341 MB, free: 7.938 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003167/0.01438, allocations: 355 kB / 341.4 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.0155, allocations: 1.269 MB / 342.7 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.01551, allocations: 0 / 342.7 MB, free: 6.316 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01551, allocations: 0 / 342.7 MB, free: 6.316 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.01551, allocations: 0 / 342.7 MB, free: 6.316 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.001669/0.01718, allocations: 1.327 MB / 344 MB, free: 4.965 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.01721, allocations: 16.03 kB / 344 MB, free: 4.949 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005182/0.01773, allocations: 168.7 kB / 344.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.01831, allocations: 490.7 kB / 344.6 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.01835, allocations: 62.34 kB / 344.7 MB, free: 4.219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.01849, allocations: 80.52 kB / 344.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.02028, allocations: 1.267 MB / 346.1 MB, free: 2.723 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.02031, allocations: 7.938 kB / 346.1 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/0.02038, allocations: 31.97 kB / 346.1 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003911/0.02077, allocations: 393.7 kB / 346.5 MB, free: 2.301 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.02232, allocations: 0.7731 MB / 347.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004628/0.02695, allocations: 6.307 MB / 353.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.02858, allocations: 0.614 MB / 354.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.02871, allocations: 100.8 kB / 354.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000717/0.02943, allocations: 0.5739 MB / 354.8 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.02945, allocations: 42.56 kB / 354.9 MB, free: 9.625 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.804e-06/0.02946, allocations: 0 / 354.9 MB, free: 9.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.005465/0.03492, allocations: 1.918 MB / 356.8 MB, free: 7.699 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.03495, allocations: 63.91 kB / 356.9 MB, free: 7.625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.03544, allocations: 0.6707 MB / 357.5 MB, free: 6.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.03547, allocations: 33.7 kB / 357.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.03577, allocations: 0.6594 MB / 358.2 MB, free: 6.238 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.03589, allocations: 222.1 kB / 358.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.03613, allocations: 250.6 kB / 358.7 MB, free: 5.766 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.03624, allocations: 390.6 kB / 359.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.03643, allocations: 133.4 kB / 359.2 MB, free: 5.246 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.03692, allocations: 0.7862 MB / 360 MB, free: 4.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/0.03776, allocations: 1.068 MB / 361.1 MB, free: 2.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.906e-06/0.03776, allocations: 8 kB / 361.1 MB, free: 2.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.001017/0.03878, allocations: 0.8137 MB / 361.9 MB, free: 1.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.0388, allocations: 21.19 kB / 361.9 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.03883, allocations: 24 kB / 361.9 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.338e-05/0.03886, allocations: 32.75 kB / 362 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007593/0.03962, allocations: 323.5 kB / 362.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006526/0.04027, allocations: 1.288 MB / 363.6 MB, free: 128 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.0407, allocations: 55.91 kB / 363.6 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.973e-05/0.04076, allocations: 60.12 kB / 363.7 MB, free: 12 kB / 330.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.0002472/0.04101, allocations: 224.1 kB / 363.9 MB, free: 15.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.917e-05/0.0411, allocations: 63.94 kB / 363.9 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.0412, allocations: 107.7 kB / 364.1 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.04121, allocations: 7.938 kB / 364.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.04121, allocations: 0 / 364.1 MB, free: 15.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.04122, allocations: 3.984 kB / 364.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.04275, allocations: 1.261 MB / 365.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.04276, allocations: 8 kB / 365.3 MB, free: 14.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.04307, allocations: 123.8 kB / 365.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.04307, allocations: 8 kB / 365.5 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.0431, allocations: 20 kB / 365.5 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005224/0.04362, allocations: 1.258 MB / 366.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.04363, allocations: 16.05 kB / 366.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004422/0.04407, allocations: 0.6298 MB / 367.4 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.04414, allocations: 71.47 kB / 367.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.06e-05/0.0442, allocations: 20 kB / 367.5 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.04441, allocations: 19.94 kB / 367.5 MB, free: 11.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.04447, allocations: 55.8 kB / 367.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.04449, allocations: 16 kB / 367.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002321/0.04473, allocations: 268.5 kB / 367.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04473, allocations: 4 kB / 367.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000755/0.04548, allocations: 212 kB / 368 MB, free: 11.27 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.000129/0.04561, allocations: 104.2 kB / 368.1 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006524/0.04626, allocations: 0.5231 MB / 368.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.718e-05/0.04629, allocations: 13.81 kB / 368.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.04648, allocations: 155.2 kB / 368.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.04699, allocations: 111.2 kB / 368.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.04905, allocations: 1.927 MB / 370.9 MB, free: 8.312 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002639/0.04931, allocations: 303.5 kB / 371.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002989/0.04961, allocations: 123.2 kB / 371.3 MB, free: 7.867 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.04986, allocations: 187.3 kB / 371.5 MB, free: 7.684 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.04986, allocations: 0 / 371.5 MB, free: 7.684 MB / 346.7 MB Notification: Performance of Templates: time 0.01271/0.06258, allocations: 7.577 MB / 379 MB, free: 260 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 -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.945685985032469]