Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.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.0009589/0.0009589, allocations: 84.25 kB / 22.21 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.001111/0.001111, allocations: 162.6 kB / 25.61 MB, free: 8.441 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.9577/0.9577, allocations: 177 MB / 205.9 MB, free: 4.453 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.1662/0.1662, allocations: 34.88 MB / 297.4 MB, free: 13.32 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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.Q.[0-9,]+.|body.w_a.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.495e-05/3.695e-05, allocations: 3.156 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01081/0.01085, allocations: 11.01 MB / 391 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00926/0.02011, allocations: 3.954 MB / 395 MB, free: 7.695 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002857/0.02296, allocations: 67.75 kB / 395 MB, free: 7.629 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002711/0.02567, allocations: 1.245 MB / 396.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004843/0.03052, allocations: 1.836 MB / 398.1 MB, free: 4.535 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.03206, allocations: 0.6156 MB / 398.7 MB, free: 3.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006166/0.03822, allocations: 4.707 MB / 403.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003877/0.0421, allocations: 2.255 MB / 405.7 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002919/0.04502, allocations: 1.871 MB / 407.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/0.04797, allocations: 2.077 MB / 409.7 MB, free: 8.953 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004073/0.04838, allocations: 224 kB / 409.9 MB, free: 8.734 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001927/0.0503, allocations: 1.252 MB / 411.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.05145, allocations: 1.687 MB / 412.8 MB, free: 5.789 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001134/0.05258, allocations: 0.9769 MB / 413.8 MB, free: 4.809 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005121/0.05771, allocations: 4.187 MB / 418 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.05771, allocations: 0 / 418 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.05771, allocations: 7.875 kB / 418 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001648/0.05788, allocations: 4 kB / 418 MB, free: 0.5938 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.006141/0.06402, allocations: 4.411 MB / 422.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.06407, allocations: 8.031 kB / 422.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007668/0.07174, allocations: 2.328 MB / 424.7 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/0.07482, allocations: 1.659 MB / 426.4 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.07494, allocations: 176.8 kB / 426.6 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007654/0.07571, allocations: 312.5 kB / 426.9 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007634/0.08334, allocations: 4.981 MB / 431.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.449e-05/0.08342, allocations: 31.7 kB / 431.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002732/0.08369, allocations: 111.8 kB / 432 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002174/0.08587, allocations: 2.143 MB / 434.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008169/0.09404, allocations: 2.94 MB / 437.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03481/0.1288, allocations: 33.39 MB / 470.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005363/0.1342, allocations: 2.54 MB / 473 MB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.1353, allocations: 0.5365 MB / 473.5 MB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006221/0.1359, allocations: 0.5011 MB / 474 MB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.136, allocations: 59.38 kB / 474.1 MB, free: 6.73 MB / 394.7 MB Notification: Performance of pre-optimization done (n=224): time 6.162e-06/0.136, allocations: 0 / 474.1 MB, free: 6.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=231): time 0.01722/0.1532, allocations: 6.848 MB / 480.9 MB, free: 15.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00117/0.1544, allocations: 1.932 MB / 482.9 MB, free: 13.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.1579, allocations: 2.691 MB / 485.6 MB, free: 11.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005499/0.1584, allocations: 49.7 kB / 485.6 MB, free: 10.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001976/0.1604, allocations: 2.942 MB / 488.6 MB, free: 8.012 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001306/0.1617, allocations: 0.9303 MB / 489.5 MB, free: 7.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001674/0.1634, allocations: 1.196 MB / 490.7 MB, free: 5.859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1635, allocations: 480.8 kB / 491.2 MB, free: 5.387 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.1651, allocations: 0.7408 MB / 491.9 MB, free: 4.641 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1846/0.3497, allocations: 5.227 MB / 497.1 MB, free: 92.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005537/0.3552, allocations: 6.6 MB / 0.4919 GB, free: 86.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/0.3554, allocations: 29.81 kB / 0.4919 GB, free: 86.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02671/0.3821, allocations: 5.723 MB / 0.4975 GB, free: 86.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.565e-05/0.3822, allocations: 51.41 kB / 0.4976 GB, free: 86.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01742/0.3996, allocations: 2.096 MB / 0.4996 GB, free: 86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03181/0.4314, allocations: 3.347 MB / 0.5029 GB, free: 85.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002981/0.4344, allocations: 1.156 MB / 0.504 GB, free: 85.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.4451, allocations: 5.352 MB / 0.5093 GB, free: 82.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/0.4486, allocations: 201.1 kB / 0.5094 GB, free: 82.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008262/0.4495, allocations: 283.2 kB / 0.5097 GB, free: 82.24 MB / 410.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.001789/0.4512, allocations: 0.5768 MB / 0.5103 GB, free: 81.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005433/0.4518, allocations: 333.5 kB / 0.5106 GB, free: 81.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.4548, allocations: 2.196 MB / 0.5127 GB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002059/0.4569, allocations: 1.373 MB / 0.5141 GB, free: 79.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4569, allocations: 7.938 kB / 0.5141 GB, free: 79.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.4569, allocations: 7.969 kB / 0.5141 GB, free: 79.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009678/0.4665, allocations: 6.304 MB / 0.5203 GB, free: 73.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.4666, allocations: 4 kB / 0.5203 GB, free: 73.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009825/0.4675, allocations: 271.6 kB / 0.5205 GB, free: 73.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.4687, allocations: 389.9 kB / 0.5209 GB, free: 73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.4689, allocations: 52.73 kB / 0.5209 GB, free: 72.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002352/0.4712, allocations: 4.159 MB / 0.525 GB, free: 68.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005148/0.4717, allocations: 1.869 MB / 0.5268 GB, free: 66.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003842/0.4756, allocations: 2.699 MB / 0.5295 GB, free: 63.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007115/0.4763, allocations: 267.6 kB / 0.5297 GB, free: 63.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.4766, allocations: 40 kB / 0.5298 GB, free: 63.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007571/0.4773, allocations: 34.19 kB / 0.5298 GB, free: 63.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002392/0.4776, allocations: 152.8 kB / 0.5299 GB, free: 63.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.4777, allocations: 60.73 kB / 0.53 GB, free: 63.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001073/0.4788, allocations: 1.072 MB / 0.531 GB, free: 62.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4788, allocations: 0 / 0.531 GB, free: 62.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00395/0.4827, allocations: 1.225 MB / 0.5322 GB, free: 61.05 MB / 410.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.0005542/0.4833, allocations: 200.1 kB / 0.5324 GB, free: 60.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005789/0.4891, allocations: 3.198 MB / 0.5355 GB, free: 57.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/0.4891, allocations: 0 / 0.5355 GB, free: 57.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.4906, allocations: 1.141 MB / 0.5367 GB, free: 56.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.4924, allocations: 321 kB / 0.537 GB, free: 56.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01102/0.5035, allocations: 7.786 MB / 0.5446 GB, free: 48.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.505, allocations: 1.174 MB / 0.5457 GB, free: 47.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001447/0.5064, allocations: 415.1 kB / 0.5461 GB, free: 46.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008398/0.5072, allocations: 490.1 kB / 0.5466 GB, free: 46.24 MB / 410.7 MB Notification: Performance of SimCode: time 2.565e-06/0.5073, allocations: 0 / 0.5466 GB, free: 46.24 MB / 410.7 MB Notification: Performance of Templates: time 0.05931/0.5666, allocations: 52.76 MB / 0.5981 GB, free: 9.773 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.819970902055502]