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.001073/0.001073, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001141/0.002214, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007517/0.0007517, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009802/0.001732, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.032/1.032, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1216/1.154, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2867/0.2867, allocations: 32.8 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0291/0.3158, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.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 2.094e-06/2.094e-06, allocations: 0 / 290.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.764e-05, allocations: 3.281 kB / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01117/0.01119, allocations: 11.16 MB / 301.8 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005594/0.01678, allocations: 4.142 MB / 305.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.01727, allocations: 67.75 kB / 306 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.01852, allocations: 1.233 MB / 307.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.0205, allocations: 1.82 MB / 309 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006415/0.02114, allocations: 0.5648 MB / 309.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003303/0.02445, allocations: 4.59 MB / 314.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.02584, allocations: 1.836 MB / 316 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.02727, allocations: 1.901 MB / 317.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/0.02922, allocations: 1.948 MB / 319.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.02944, allocations: 224 kB / 320.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.03091, allocations: 1.279 MB / 321.4 MB, free: 9.414 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009119/0.03182, allocations: 1.523 MB / 322.9 MB, free: 7.887 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006643/0.03248, allocations: 0.798 MB / 323.7 MB, free: 7.086 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003091/0.03557, allocations: 3.899 MB / 327.6 MB, free: 3.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.757e-05/0.03559, allocations: 0 / 327.6 MB, free: 3.172 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.03559, allocations: 0 / 327.6 MB, free: 3.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.605e-05/0.03563, allocations: 7.938 kB / 327.6 MB, free: 3.164 MB / 314.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.003867/0.03949, allocations: 4.579 MB / 332.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.03954, allocations: 12.03 kB / 332.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004549/0.04408, allocations: 1.682 MB / 333.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.04575, allocations: 1.523 MB / 335.4 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.181e-05/0.04585, allocations: 180.8 kB / 335.6 MB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004896/0.04634, allocations: 312.5 kB / 335.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004368/0.0507, allocations: 4.535 MB / 340.4 MB, free: 5.777 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.817e-05/0.05075, allocations: 27.8 kB / 340.4 MB, free: 5.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002229/0.05097, allocations: 115.8 kB / 340.5 MB, free: 5.637 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001828/0.0528, allocations: 2.155 MB / 342.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003839/0.05664, allocations: 2.806 MB / 345.5 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0206/0.07725, allocations: 25.27 MB / 370.8 MB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003919/0.08117, allocations: 2.248 MB / 373 MB, free: 4.309 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.08175, allocations: 447.8 kB / 373.5 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006318/0.08238, allocations: 0.505 MB / 374 MB, free: 3.363 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.08243, allocations: 52.56 kB / 374 MB, free: 3.301 MB / 362.7 MB Notification: Performance of pre-optimization done (n=224): time 4.799e-06/0.08243, allocations: 0 / 374 MB, free: 3.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.01203/0.09446, allocations: 5.549 MB / 379.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008234/0.09528, allocations: 1.403 MB / 381 MB, free: 12.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.09755, allocations: 2.388 MB / 383.4 MB, free: 9.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.09767, allocations: 57.69 kB / 383.4 MB, free: 9.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001099/0.09877, allocations: 2.664 MB / 386.1 MB, free: 7.016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004946/0.09926, allocations: 0.8717 MB / 386.9 MB, free: 6.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008952/0.1002, allocations: 1.006 MB / 388 MB, free: 5.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.1002, allocations: 305.1 kB / 388.3 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.1015, allocations: 0.8857 MB / 389.1 MB, free: 3.922 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002908/0.1044, allocations: 3.754 MB / 392.9 MB, free: 14.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004448/0.1089, allocations: 5.189 MB / 398.1 MB, free: 8.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-05/0.1089, allocations: 28 kB / 398.1 MB, free: 8 MB / 394.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02046/0.1294, allocations: 5.036 MB / 403.1 MB, free: 2.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.1294, allocations: 52 kB / 403.2 MB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01372/0.1431, allocations: 1.904 MB / 405.1 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03248/0.1756, allocations: 3.339 MB / 408.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004182/0.1798, allocations: 1.299 MB / 409.7 MB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.1921, allocations: 4.235 MB / 414 MB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00282/0.1949, allocations: 204 kB / 414.2 MB, free: 7.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004152/0.1953, allocations: 276 kB / 414.4 MB, free: 7.422 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.001483/0.1968, allocations: 0.5279 MB / 415 MB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003843/0.1972, allocations: 199.7 kB / 415.2 MB, free: 6.688 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003742/0.2009, allocations: 1.872 MB / 417 MB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001936/0.2029, allocations: 1.111 MB / 418.1 MB, free: 3.648 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.2029, allocations: 7.984 kB / 418.2 MB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.2029, allocations: 15.97 kB / 418.2 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007548/0.2104, allocations: 5.329 MB / 423.5 MB, free: 14.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.2104, allocations: 8.156 kB / 423.5 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009759/0.2114, allocations: 343.5 kB / 423.8 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002931/0.2117, allocations: 258.2 kB / 424.1 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.2129, allocations: 0.5017 MB / 424.6 MB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.213, allocations: 43.97 kB / 424.6 MB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/0.2154, allocations: 3.032 MB / 427.7 MB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006057/0.216, allocations: 1.343 MB / 429 MB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003284/0.2193, allocations: 2.313 MB / 431.3 MB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.2195, allocations: 43.98 kB / 431.4 MB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005749/0.2201, allocations: 39.94 kB / 431.4 MB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/0.2203, allocations: 144.8 kB / 431.5 MB, free: 5.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.2204, allocations: 64.14 kB / 431.6 MB, free: 5.469 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007395/0.2212, allocations: 0.8349 MB / 432.4 MB, free: 4.617 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2212, allocations: 0 / 432.4 MB, free: 4.617 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003175/0.2243, allocations: 1.234 MB / 433.7 MB, free: 3.383 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.0004121/0.2248, allocations: 179.9 kB / 433.9 MB, free: 3.199 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003787/0.2285, allocations: 2.847 MB / 436.7 MB, free: 348 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001191/0.2287, allocations: 78.73 kB / 436.8 MB, free: 268 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1597/0.3883, allocations: 0.9025 MB / 437.7 MB, free: 125.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/0.3917, allocations: 0.7742 MB / 438.5 MB, free: 125.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.4049, allocations: 7.906 MB / 446.4 MB, free: 122.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/0.4065, allocations: 1.17 MB / 447.5 MB, free: 122.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001446/0.4079, allocations: 417.9 kB / 447.9 MB, free: 122.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008752/0.4088, allocations: 464.1 kB / 448.4 MB, free: 122.3 MB / 426.7 MB Notification: Performance of SimCode: time 3.897e-06/0.4088, allocations: 0 / 448.4 MB, free: 122.3 MB / 426.7 MB Notification: Performance of Templates: time 0.06346/0.4723, allocations: 51.64 MB / 0.4883 GB, free: 76.94 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 -emit_protected -ignoreHideResult -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.458986883983016]