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.0009479/0.0009479, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009467/0.0009467, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.9335/0.9335, allocations: 177 MB / 204.8 MB, free: 5.594 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.2605/0.2605, allocations: 34.87 MB / 296.3 MB, free: 468 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 2.004e-06/2.004e-06, allocations: 0 / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.511e-05, allocations: 4.984 kB / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009391/0.009426, allocations: 7.369 MB / 386.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005689/0.01512, allocations: 2.535 MB / 388.7 MB, free: 8.105 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.01614, allocations: 39.88 kB / 388.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002127/0.01826, allocations: 0.9538 MB / 389.7 MB, free: 7.109 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008607/0.01912, allocations: 337.9 kB / 390 MB, free: 6.777 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008195/0.01994, allocations: 350.9 kB / 390.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009488/0.02089, allocations: 0.7473 MB / 391.1 MB, free: 5.684 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009453/0.02184, allocations: 0.6618 MB / 391.8 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008581/0.02269, allocations: 0.5455 MB / 392.3 MB, free: 4.465 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009322/0.02363, allocations: 0.5923 MB / 392.9 MB, free: 3.871 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000232/0.02386, allocations: 100 kB / 393 MB, free: 3.773 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008582/0.02472, allocations: 0.5069 MB / 393.5 MB, free: 3.266 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005255/0.02524, allocations: 0.5142 MB / 394 MB, free: 2.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005238/0.02577, allocations: 355 kB / 394.4 MB, free: 2.402 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.02736, allocations: 1.269 MB / 395.6 MB, free: 1.129 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.02736, allocations: 0 / 395.6 MB, free: 1.129 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.02737, allocations: 0 / 395.6 MB, free: 1.129 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.707e-05/0.02739, allocations: 0 / 395.6 MB, free: 1.129 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.002073/0.02947, allocations: 1.689 MB / 397.3 MB, free: 15.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.0295, allocations: 8.031 kB / 397.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005381/0.03004, allocations: 251.9 kB / 397.6 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.03063, allocations: 0.5431 MB / 398.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.03067, allocations: 62.34 kB / 398.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.0308, allocations: 88.47 kB / 398.3 MB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002425/0.03322, allocations: 1.772 MB / 400 MB, free: 12.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.03325, allocations: 7.938 kB / 400.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.03331, allocations: 35.97 kB / 400.1 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003013/0.03361, allocations: 385.7 kB / 400.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002357/0.03597, allocations: 1.279 MB / 401.7 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005453/0.04142, allocations: 8.751 MB / 410.5 MB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.04329, allocations: 0.7503 MB / 411.2 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.04345, allocations: 119.6 kB / 411.4 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005669/0.04402, allocations: 0.5771 MB / 411.9 MB, free: 248 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.04404, allocations: 37.39 kB / 412 MB, free: 200 kB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.355e-06/0.04405, allocations: 4 kB / 412 MB, free: 196 kB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.006051/0.0501, allocations: 2.55 MB / 414.5 MB, free: 13.63 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.05013, allocations: 55.91 kB / 414.6 MB, free: 13.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006864/0.05082, allocations: 0.815 MB / 415.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.05085, allocations: 33.7 kB / 415.4 MB, free: 12.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000408/0.05126, allocations: 0.7705 MB / 416.2 MB, free: 11.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.0514, allocations: 230.2 kB / 416.4 MB, free: 11.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002412/0.05165, allocations: 272.4 kB / 416.7 MB, free: 11.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.05182, allocations: 0.5782 MB / 417.3 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.05203, allocations: 150.5 kB / 417.4 MB, free: 10.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/0.05265, allocations: 1.129 MB / 418.5 MB, free: 9.098 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.05371, allocations: 1.413 MB / 420 MB, free: 7.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.05372, allocations: 8 kB / 420 MB, free: 7.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.001171/0.05489, allocations: 1.064 MB / 421 MB, free: 6.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.05491, allocations: 12 kB / 421 MB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.05493, allocations: 32.09 kB / 421.1 MB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.41e-05/0.05497, allocations: 32 kB / 421.1 MB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006942/0.05566, allocations: 331.5 kB / 421.4 MB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008243/0.05648, allocations: 1.844 MB / 423.3 MB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004363/0.05692, allocations: 60.06 kB / 423.3 MB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/0.05698, allocations: 75.94 kB / 423.4 MB, free: 3.664 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.0002631/0.05724, allocations: 271.9 kB / 423.7 MB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.994e-05/0.05733, allocations: 103.4 kB / 423.8 MB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.089e-05/0.05741, allocations: 95.73 kB / 423.9 MB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.05741, allocations: 4 kB / 423.9 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.05742, allocations: 4 kB / 423.9 MB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.05742, allocations: 3.984 kB / 423.9 MB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.05928, allocations: 1.642 MB / 425.5 MB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.05929, allocations: 4 kB / 425.5 MB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.05957, allocations: 123.8 kB / 425.6 MB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/0.05957, allocations: 12 kB / 425.7 MB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.0596, allocations: 19.98 kB / 425.7 MB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006975/0.0603, allocations: 1.824 MB / 427.5 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.0603, allocations: 11.98 kB / 427.5 MB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005719/0.06088, allocations: 0.7422 MB / 428.3 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.06096, allocations: 83.42 kB / 428.3 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.06101, allocations: 16 kB / 428.3 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.06118, allocations: 24.05 kB / 428.4 MB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.06124, allocations: 55.75 kB / 428.4 MB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.06126, allocations: 24 kB / 428.4 MB, free: 14.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000382/0.06164, allocations: 430.9 kB / 428.9 MB, free: 13.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06164, allocations: 0 / 428.9 MB, free: 13.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006807/0.06232, allocations: 216 kB / 429.1 MB, free: 13.56 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.0001542/0.06248, allocations: 119 kB / 429.2 MB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007974/0.06328, allocations: 0.6045 MB / 429.8 MB, free: 12.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.06328, allocations: 4.188 kB / 429.8 MB, free: 12.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.06349, allocations: 181 kB / 430 MB, free: 12.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.06397, allocations: 109.7 kB / 430.1 MB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.06627, allocations: 1.947 MB / 432 MB, free: 10.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.0665, allocations: 303.5 kB / 432.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004291/0.06693, allocations: 283 kB / 432.6 MB, free: 9.852 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.06705, allocations: 72.42 kB / 432.7 MB, free: 9.781 MB / 410.7 MB Notification: Performance of SimCode: time 1.332e-06/0.06705, allocations: 4 kB / 432.7 MB, free: 9.777 MB / 410.7 MB Notification: Performance of Templates: time 0.01198/0.07903, allocations: 7.365 MB / 440 MB, free: 2.535 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.2740029501728714]