Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.113 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2652/0.2652, allocations: 32.8 MB / 294.6 MB, free: 1.121 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.737e-05, allocations: 3.672 kB / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.00855/0.008577, allocations: 11.06 MB / 334.3 MB, free: 14.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006801/0.01538, allocations: 4.103 MB / 338.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008557/0.01623, allocations: 71.75 kB / 338.5 MB, free: 10.35 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.01767, allocations: 1.241 MB / 339.8 MB, free: 9.102 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002381/0.02005, allocations: 1.816 MB / 341.6 MB, free: 7.277 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009055/0.02096, allocations: 0.6038 MB / 342.2 MB, free: 6.672 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003263/0.02422, allocations: 4.71 MB / 346.9 MB, free: 1.957 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/0.02587, allocations: 2.097 MB / 349 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.02745, allocations: 1.812 MB / 350.8 MB, free: 14 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001702/0.02915, allocations: 1.96 MB / 352.8 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.02937, allocations: 224 kB / 353 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001526/0.03089, allocations: 1.291 MB / 354.3 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.03193, allocations: 1.687 MB / 356 MB, free: 8.836 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007168/0.03264, allocations: 0.9846 MB / 356.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0033/0.03595, allocations: 4.183 MB / 361.1 MB, free: 3.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.03595, allocations: 0 / 361.1 MB, free: 3.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.03595, allocations: 0 / 361.1 MB, free: 3.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.42e-05/0.03599, allocations: 0 / 361.1 MB, free: 3.648 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.003646/0.03963, allocations: 3.809 MB / 364.9 MB, free: 15.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.03967, allocations: 8.031 kB / 364.9 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005001/0.04467, allocations: 1.675 MB / 366.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001964/0.04664, allocations: 1.527 MB / 368.1 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.285e-05/0.04673, allocations: 184.7 kB / 368.3 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004749/0.0472, allocations: 304.1 kB / 368.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005019/0.05222, allocations: 4.542 MB / 373.2 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.05227, allocations: 23.81 kB / 373.2 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002195/0.05249, allocations: 115.8 kB / 373.3 MB, free: 6.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001897/0.05439, allocations: 2.151 MB / 375.4 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005111/0.0595, allocations: 2.833 MB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02359/0.08309, allocations: 25.25 MB / 403.5 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004291/0.08738, allocations: 2.292 MB / 405.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005984/0.08798, allocations: 450.7 kB / 406.3 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005877/0.08857, allocations: 0.5011 MB / 406.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.363e-05/0.08861, allocations: 52.56 kB / 406.8 MB, free: 4.535 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 5.15e-06/0.08862, allocations: 0 / 406.8 MB, free: 4.535 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.01281/0.1014, allocations: 5.615 MB / 412.4 MB, free: 14.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000778/0.1022, allocations: 1.411 MB / 413.8 MB, free: 13.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.1042, allocations: 2.388 MB / 416.2 MB, free: 10.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.1043, allocations: 57.86 kB / 416.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.1054, allocations: 2.66 MB / 418.9 MB, free: 8.176 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005944/0.1059, allocations: 0.8795 MB / 419.8 MB, free: 7.289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008825/0.1068, allocations: 1.01 MB / 420.8 MB, free: 6.266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.1069, allocations: 301.1 kB / 421.1 MB, free: 5.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.1082, allocations: 0.8856 MB / 422 MB, free: 5.074 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/0.1108, allocations: 3.746 MB / 425.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00442/0.1152, allocations: 5.185 MB / 430.9 MB, free: 9.199 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001474/0.1154, allocations: 32 kB / 431 MB, free: 9.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02149/0.1369, allocations: 5.029 MB / 436 MB, free: 4.109 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.684e-05/0.1369, allocations: 56.25 kB / 436.1 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01479/0.1517, allocations: 1.884 MB / 437.9 MB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02848/0.1802, allocations: 3.346 MB / 441.3 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/0.1834, allocations: 1.213 MB / 442.5 MB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009854/0.1932, allocations: 4.225 MB / 446.7 MB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/0.196, allocations: 204 kB / 446.9 MB, free: 8.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003536/0.1964, allocations: 276 kB / 447.2 MB, free: 8.688 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 476 * Number of states: 0 () * Number of discrete variables: 24 (world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],spherical.sphereColor[1],spherical.sphereColor[2],spherical.sphereColor[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],frame_a.color_x[1],frame_a.color_x[2],frame_a.color_x[3],frame_a1.color_x[1],frame_a1.color_x[2],frame_a1.color_x[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (661): * Single equations (assignments): 650 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001438/0.1978, allocations: 0.5435 MB / 447.7 MB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/0.1981, allocations: 187.8 kB / 447.9 MB, free: 7.945 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.2007, allocations: 1.876 MB / 449.8 MB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001808/0.2025, allocations: 1.107 MB / 450.9 MB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2025, allocations: 4 kB / 450.9 MB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.2025, allocations: 11.91 kB / 450.9 MB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1727/0.3752, allocations: 5.338 MB / 456.3 MB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.3752, allocations: 9.203 kB / 456.3 MB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.3763, allocations: 312.1 kB / 456.6 MB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.3778, allocations: 0.5091 MB / 457.1 MB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/0.378, allocations: 47.97 kB / 457.1 MB, free: 122.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.3799, allocations: 3.031 MB / 460.2 MB, free: 120.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003661/0.3802, allocations: 1.342 MB / 461.5 MB, free: 118.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003059/0.3833, allocations: 2.308 MB / 463.8 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004056/0.3837, allocations: 260.4 kB / 464.1 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.3839, allocations: 49.31 kB / 464.1 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.3845, allocations: 38.98 kB / 464.1 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.3848, allocations: 145.8 kB / 464.3 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-05/0.3849, allocations: 53.23 kB / 464.3 MB, free: 118.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007946/0.3857, allocations: 0.8389 MB / 465.2 MB, free: 118.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3857, allocations: 0 / 465.2 MB, free: 118.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002988/0.3887, allocations: 1.23 MB / 466.4 MB, free: 118.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003685/0.3891, allocations: 178.8 kB / 466.6 MB, free: 118 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003936/0.393, allocations: 2.846 MB / 469.4 MB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001022/0.3931, allocations: 61.97 kB / 469.5 MB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.3942, allocations: 0.9092 MB / 470.4 MB, free: 117.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.3959, allocations: 0.5754 MB / 471 MB, free: 117.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007753/0.4036, allocations: 7.61 MB / 478.6 MB, free: 112 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/0.4045, allocations: 1.158 MB / 479.7 MB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001044/0.4055, allocations: 411.3 kB / 480.1 MB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007526/0.4063, allocations: 461.8 kB / 480.6 MB, free: 110.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4063, allocations: 0 / 480.6 MB, free: 110.7 MB / 426.7 MB Notification: Performance of Templates: time 0.05128/0.4575, allocations: 51.21 MB / 0.5193 GB, free: 61.55 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Spherical/Spherical.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: 4.072039862629026]