Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001055/0.001055, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.00109/0.00109, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 0.9005/0.9005, allocations: 177.1 MB / 206 MB, free: 4.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1385/0.1385, allocations: 34.27 MB / 296.9 MB, free: 13.94 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.19e-05, allocations: 6.25 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01701/0.01702, allocations: 11.02 MB / 390.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008106/0.02513, allocations: 3.95 MB / 394.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006681/0.02579, allocations: 71.75 kB / 394.3 MB, free: 8.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.02701, allocations: 1.241 MB / 395.6 MB, free: 7.074 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001616/0.02862, allocations: 1.836 MB / 397.4 MB, free: 5.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.02927, allocations: 0.6078 MB / 398 MB, free: 4.621 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.03161, allocations: 4.708 MB / 402.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.03337, allocations: 2.259 MB / 405 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001631/0.035, allocations: 1.867 MB / 406.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/0.03716, allocations: 2.073 MB / 408.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003366/0.03749, allocations: 231.9 kB / 409.2 MB, free: 9.438 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.03876, allocations: 1.248 MB / 410.4 MB, free: 8.188 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.03998, allocations: 1.69 MB / 412.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006943/0.04068, allocations: 0.9769 MB / 413.1 MB, free: 5.512 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002823/0.0435, allocations: 4.187 MB / 417.3 MB, free: 1.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.04351, allocations: 4 kB / 417.3 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.04351, allocations: 0 / 417.3 MB, free: 1.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.673e-05/0.04353, allocations: 3.984 kB / 417.3 MB, free: 1.301 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.004028/0.04756, allocations: 4.41 MB / 421.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.677e-05/0.04759, allocations: 8.031 kB / 421.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006768/0.05436, allocations: 2.328 MB / 424 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.05593, allocations: 1.663 MB / 425.7 MB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.05606, allocations: 180.8 kB / 425.8 MB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00047/0.05653, allocations: 308.5 kB / 426.1 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004908/0.06143, allocations: 4.981 MB / 431.1 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.058e-05/0.06148, allocations: 27.77 kB / 431.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.06172, allocations: 115.8 kB / 431.3 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001855/0.06357, allocations: 2.143 MB / 433.4 MB, free: 432 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004366/0.06794, allocations: 2.938 MB / 436.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02216/0.0901, allocations: 33.4 MB / 469.7 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/0.09446, allocations: 2.528 MB / 472.3 MB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006237/0.09508, allocations: 0.5442 MB / 472.8 MB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005594/0.09564, allocations: 0.4972 MB / 473.3 MB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.09567, allocations: 59.33 kB / 473.4 MB, free: 7.426 MB / 394.7 MB Notification: Performance of pre-optimization done (n=224): time 4.228e-06/0.09568, allocations: 0 / 473.4 MB, free: 7.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=231): time 0.01347/0.1091, allocations: 6.851 MB / 480.2 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008483/0.11, allocations: 1.939 MB / 482.2 MB, free: 14.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002466/0.1125, allocations: 2.688 MB / 484.9 MB, free: 11.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.1126, allocations: 49.7 kB / 484.9 MB, free: 11.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.1138, allocations: 2.942 MB / 487.8 MB, free: 8.699 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000551/0.1144, allocations: 0.9344 MB / 488.8 MB, free: 7.758 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.1154, allocations: 1.196 MB / 490 MB, free: 6.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.1155, allocations: 480.8 kB / 490.4 MB, free: 6.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001349/0.1169, allocations: 0.7447 MB / 491.2 MB, free: 5.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1498/0.2667, allocations: 5.222 MB / 496.4 MB, free: 104.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004858/0.2715, allocations: 6.587 MB / 0.4912 GB, free: 98.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-05/0.2716, allocations: 30.06 kB / 0.4912 GB, free: 98.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02542/0.297, allocations: 5.725 MB / 0.4968 GB, free: 97.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.828e-05/0.2971, allocations: 50.2 kB / 0.4969 GB, free: 97.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0168/0.3139, allocations: 2.095 MB / 0.4989 GB, free: 97.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03148/0.3454, allocations: 3.348 MB / 0.5022 GB, free: 97.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/0.348, allocations: 1.153 MB / 0.5033 GB, free: 96.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009678/0.3577, allocations: 5.358 MB / 0.5085 GB, free: 91.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/0.3603, allocations: 200.3 kB / 0.5087 GB, free: 91.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000377/0.3606, allocations: 280.5 kB / 0.509 GB, free: 91.46 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.001131/0.3618, allocations: 0.5813 MB / 0.5096 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/0.3621, allocations: 329.7 kB / 0.5099 GB, free: 90.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.3647, allocations: 2.196 MB / 0.512 GB, free: 88.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00189/0.3665, allocations: 1.375 MB / 0.5134 GB, free: 87.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3665, allocations: 3.938 kB / 0.5134 GB, free: 87.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.3666, allocations: 11.95 kB / 0.5134 GB, free: 87.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007271/0.3738, allocations: 6.299 MB / 0.5195 GB, free: 81.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3738, allocations: 8 kB / 0.5196 GB, free: 81.15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008187/0.3747, allocations: 275.5 kB / 0.5198 GB, free: 80.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.3757, allocations: 385.4 kB / 0.5202 GB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.3758, allocations: 51.97 kB / 0.5202 GB, free: 80.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.3778, allocations: 4.154 MB / 0.5243 GB, free: 76.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000374/0.3782, allocations: 1.878 MB / 0.5261 GB, free: 74.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/0.381, allocations: 2.695 MB / 0.5288 GB, free: 71.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.3813, allocations: 261.9 kB / 0.529 GB, free: 71.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/0.3815, allocations: 40 kB / 0.529 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/0.3821, allocations: 39.44 kB / 0.5291 GB, free: 70.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.3823, allocations: 152.8 kB / 0.5292 GB, free: 70.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-05/0.3824, allocations: 55.98 kB / 0.5293 GB, free: 70.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007138/0.3831, allocations: 1.068 MB / 0.5303 GB, free: 69.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3831, allocations: 4 kB / 0.5303 GB, free: 69.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002537/0.3856, allocations: 1.226 MB / 0.5315 GB, free: 68.56 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.0003164/0.386, allocations: 196.1 kB / 0.5317 GB, free: 68.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003469/0.3894, allocations: 3.204 MB / 0.5348 GB, free: 65.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3894, allocations: 4 kB / 0.5348 GB, free: 65.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009699/0.3904, allocations: 1.141 MB / 0.536 GB, free: 64.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.3913, allocations: 326.3 kB / 0.5363 GB, free: 63.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006666/0.398, allocations: 7.786 MB / 0.5439 GB, free: 55.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/0.3988, allocations: 1.174 MB / 0.545 GB, free: 54.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008808/0.3997, allocations: 410.8 kB / 0.5454 GB, free: 54.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006849/0.4004, allocations: 490 kB / 0.5459 GB, free: 53.75 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4004, allocations: 0 / 0.5459 GB, free: 53.75 MB / 410.7 MB Notification: Performance of Templates: time 0.05095/0.4513, allocations: 52.75 MB / 0.5974 GB, free: 1.293 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.37808157177642]