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.001005/0.001005, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001218/0.001218, allocations: 171.4 kB / 24.82 MB, free: 8.879 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.071/1.071, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2925/0.2925, allocations: 34.26 MB / 296.1 MB, free: 0.7188 MB / 266.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.623e-06/1.623e-06, allocations: 0 / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.545e-05/2.707e-05, allocations: 6.25 kB / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.009133/0.009161, allocations: 11.02 MB / 389.5 MB, free: 7.301 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007499/0.01666, allocations: 3.96 MB / 393.5 MB, free: 3.328 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/0.01919, allocations: 67.75 kB / 393.6 MB, free: 3.262 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.02112, allocations: 1.245 MB / 394.8 MB, free: 2.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003868/0.02498, allocations: 1.84 MB / 396.6 MB, free: 168 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.02628, allocations: 0.6 MB / 397.2 MB, free: 15.56 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006091/0.03237, allocations: 4.709 MB / 401.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003897/0.03626, allocations: 2.259 MB / 404.2 MB, free: 8.562 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003623/0.03989, allocations: 1.867 MB / 406.1 MB, free: 6.691 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00343/0.04332, allocations: 2.073 MB / 408.1 MB, free: 4.613 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008279/0.04414, allocations: 228 kB / 408.4 MB, free: 4.391 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.04645, allocations: 1.24 MB / 409.6 MB, free: 3.148 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.04788, allocations: 1.702 MB / 411.3 MB, free: 1.441 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001289/0.04916, allocations: 0.9769 MB / 412.3 MB, free: 472 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006208/0.05537, allocations: 4.199 MB / 416.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.05538, allocations: 0 / 416.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.05538, allocations: 0 / 416.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002464/0.05563, allocations: 0 / 416.5 MB, free: 12.25 MB / 394.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.006147/0.06178, allocations: 4.411 MB / 420.9 MB, free: 7.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.06183, allocations: 8.031 kB / 420.9 MB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007266/0.0691, allocations: 2.328 MB / 423.2 MB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.07262, allocations: 1.667 MB / 424.9 MB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.07273, allocations: 180.8 kB / 425.1 MB, free: 3.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006553/0.07339, allocations: 300.5 kB / 425.4 MB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008112/0.0815, allocations: 4.981 MB / 430.4 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.846e-05/0.08156, allocations: 31.75 kB / 430.4 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.08179, allocations: 119.8 kB / 430.5 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001945/0.08374, allocations: 2.139 MB / 432.6 MB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006394/0.09013, allocations: 2.932 MB / 435.6 MB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2425/0.3326, allocations: 33.39 MB / 469 MB, free: 65.81 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00494/0.3375, allocations: 2.516 MB / 471.5 MB, free: 65.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008493/0.3384, allocations: 0.5347 MB / 472 MB, free: 65.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006817/0.3391, allocations: 0.5113 MB / 472.5 MB, free: 65.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3391, allocations: 52.61 kB / 472.6 MB, free: 65.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=224): time 5.66e-06/0.3391, allocations: 3.125 kB / 472.6 MB, free: 65.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.01399/0.3531, allocations: 6.855 MB / 479.4 MB, free: 64.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009194/0.354, allocations: 1.938 MB / 481.4 MB, free: 62.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.3568, allocations: 2.69 MB / 484.1 MB, free: 62.38 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.357, allocations: 51.86 kB / 484.1 MB, free: 62.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.3583, allocations: 2.943 MB / 487.1 MB, free: 60.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006507/0.3589, allocations: 0.9303 MB / 488 MB, free: 59.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001108/0.36, allocations: 1.195 MB / 489.2 MB, free: 59.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.3601, allocations: 476.8 kB / 489.6 MB, free: 58.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.3613, allocations: 0.7502 MB / 490.4 MB, free: 58.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003108/0.3644, allocations: 5.223 MB / 495.6 MB, free: 52.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006413/0.3708, allocations: 6.592 MB / 0.4904 GB, free: 46.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001643/0.371, allocations: 30.25 kB / 0.4905 GB, free: 46.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02562/0.3966, allocations: 5.724 MB / 0.4961 GB, free: 44.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.3967, allocations: 54.25 kB / 0.4961 GB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01572/0.4125, allocations: 2.093 MB / 0.4982 GB, free: 43.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02927/0.4417, allocations: 3.349 MB / 0.5014 GB, free: 43.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003009/0.4447, allocations: 1.157 MB / 0.5026 GB, free: 43.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009825/0.4546, allocations: 5.355 MB / 0.5078 GB, free: 39.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003725/0.4583, allocations: 201.9 kB / 0.508 GB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006884/0.459, allocations: 277.9 kB / 0.5082 GB, free: 38.91 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.001821/0.4608, allocations: 0.5819 MB / 0.5088 GB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004999/0.4613, allocations: 323.8 kB / 0.5091 GB, free: 38.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/0.4648, allocations: 2.208 MB / 0.5113 GB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002228/0.467, allocations: 1.374 MB / 0.5126 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.4671, allocations: 7.375 kB / 0.5126 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4671, allocations: 7.156 kB / 0.5126 GB, free: 37.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.4773, allocations: 6.301 MB / 0.5188 GB, free: 32.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.4773, allocations: 8 kB / 0.5188 GB, free: 32.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008701/0.4782, allocations: 275.8 kB / 0.5191 GB, free: 32.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.4793, allocations: 390.9 kB / 0.5194 GB, free: 31.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/0.4795, allocations: 50.66 kB / 0.5195 GB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/0.482, allocations: 4.151 MB / 0.5235 GB, free: 27.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005736/0.4826, allocations: 1.878 MB / 0.5254 GB, free: 25.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003764/0.4863, allocations: 2.686 MB / 0.528 GB, free: 23.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007209/0.4871, allocations: 265.1 kB / 0.5282 GB, free: 22.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.4873, allocations: 46.81 kB / 0.5283 GB, free: 22.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006475/0.4879, allocations: 36 kB / 0.5283 GB, free: 22.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002474/0.4882, allocations: 152.9 kB / 0.5285 GB, free: 22.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.251e-05/0.4883, allocations: 51.14 kB / 0.5285 GB, free: 22.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001103/0.4894, allocations: 1.073 MB / 0.5296 GB, free: 21.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4894, allocations: 0 / 0.5296 GB, free: 21.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003827/0.4932, allocations: 1.226 MB / 0.5308 GB, free: 20.63 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.0004053/0.4936, allocations: 194.3 kB / 0.5309 GB, free: 20.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004842/0.4984, allocations: 3.208 MB / 0.5341 GB, free: 17.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.4985, allocations: 0 / 0.5341 GB, free: 17.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.4996, allocations: 1.139 MB / 0.5352 GB, free: 16.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.5012, allocations: 322.4 kB / 0.5355 GB, free: 16.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.5116, allocations: 7.813 MB / 0.5431 GB, free: 8.082 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009551/0.5125, allocations: 1.166 MB / 0.5443 GB, free: 6.895 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001317/0.5138, allocations: 414.1 kB / 0.5447 GB, free: 6.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007259/0.5146, allocations: 495 kB / 0.5451 GB, free: 6.004 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.5146, allocations: 0 / 0.5451 GB, free: 6.004 MB / 410.7 MB Notification: Performance of Templates: time 0.06911/0.5837, allocations: 51.64 MB / 0.5956 GB, free: 2.523 MB / 458.7 MB " [Timeout remaining time 659] 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.517364365980029]