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.0008834/0.0008834, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.002179, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008423/0.0008423, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.002161, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.114/1.114, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1145/1.229, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.2642/0.2642, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02967/0.2939, allocations: 13.11 MB / 291.5 MB, free: 7.32 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.733e-06/1.733e-06, allocations: 3.938 kB / 292.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.426e-05/1.599e-05, allocations: 4.312 kB / 292.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.008489/0.008505, allocations: 11.16 MB / 304 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006165/0.01467, allocations: 4.14 MB / 308.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006951/0.01537, allocations: 67.75 kB / 308.2 MB, free: 6.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001357/0.01672, allocations: 1.237 MB / 309.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.01885, allocations: 1.816 MB / 311.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007871/0.01964, allocations: 0.5609 MB / 311.8 MB, free: 3.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002971/0.02261, allocations: 4.6 MB / 316.4 MB, free: 14.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.02392, allocations: 1.832 MB / 318.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.02541, allocations: 1.901 MB / 320.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001556/0.02697, allocations: 1.944 MB / 322.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002567/0.02723, allocations: 224 kB / 322.3 MB, free: 8.566 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.0287, allocations: 1.287 MB / 323.6 MB, free: 7.277 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009413/0.02964, allocations: 1.519 MB / 325.1 MB, free: 5.754 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006599/0.0303, allocations: 0.7941 MB / 325.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.03323, allocations: 3.895 MB / 329.8 MB, free: 1.047 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.624e-05/0.03325, allocations: 4 kB / 329.8 MB, free: 1.043 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.03325, allocations: 0 / 329.8 MB, free: 1.043 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.438e-05/0.0333, allocations: 0 / 329.8 MB, free: 1.043 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.004146/0.03744, allocations: 4.588 MB / 334.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.03748, allocations: 12.03 kB / 334.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/0.04203, allocations: 1.678 MB / 336.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.04367, allocations: 1.526 MB / 337.6 MB, free: 9.129 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.849e-05/0.04375, allocations: 176.8 kB / 337.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004838/0.04424, allocations: 308.5 kB / 338.1 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004494/0.04873, allocations: 4.537 MB / 342.6 MB, free: 3.652 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.691e-05/0.04878, allocations: 23.81 kB / 342.7 MB, free: 3.629 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002157/0.04899, allocations: 119.8 kB / 342.8 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001772/0.05077, allocations: 2.03 MB / 344.8 MB, free: 1.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/0.05446, allocations: 2.799 MB / 347.6 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02102/0.07547, allocations: 25.26 MB / 372.9 MB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003867/0.07934, allocations: 2.244 MB / 375.1 MB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005436/0.07989, allocations: 446.7 kB / 375.6 MB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/0.08045, allocations: 0.5011 MB / 376.1 MB, free: 1.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.08049, allocations: 52.56 kB / 376.1 MB, free: 1.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=224): time 5.33e-06/0.08049, allocations: 0 / 376.1 MB, free: 1.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.01176/0.09225, allocations: 5.779 MB / 381.9 MB, free: 11.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007544/0.09301, allocations: 1.411 MB / 383.3 MB, free: 9.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0019/0.09491, allocations: 2.396 MB / 385.7 MB, free: 7.547 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.09502, allocations: 53.7 kB / 385.7 MB, free: 7.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.09605, allocations: 2.668 MB / 388.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004718/0.09652, allocations: 0.8718 MB / 389.3 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009006/0.09742, allocations: 1.006 MB / 390.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.0975, allocations: 305.1 kB / 390.6 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.09889, allocations: 0.8778 MB / 391.5 MB, free: 1.703 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/0.1014, allocations: 3.726 MB / 395.2 MB, free: 12.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00449/0.1059, allocations: 5.458 MB / 400.7 MB, free: 5.57 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.117e-05/0.1059, allocations: 28 kB / 400.7 MB, free: 5.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01714/0.123, allocations: 4.806 MB / 405.5 MB, free: 0.7188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/0.1231, allocations: 49.72 kB / 405.5 MB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/0.1232, allocations: 112 kB / 405.6 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02914/0.1524, allocations: 3.35 MB / 409 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003289/0.1556, allocations: 1.299 MB / 410.3 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009293/0.1649, allocations: 4.175 MB / 414.5 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002577/0.1675, allocations: 212 kB / 414.7 MB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/0.1678, allocations: 283.8 kB / 415 MB, free: 7.039 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.001239/0.169, allocations: 0.5318 MB / 415.5 MB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.1693, allocations: 199.8 kB / 415.7 MB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.1719, allocations: 1.856 MB / 417.5 MB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001723/0.1736, allocations: 1.107 MB / 418.6 MB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.1736, allocations: 3.984 kB / 418.6 MB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.1736, allocations: 7.969 kB / 418.7 MB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007356/0.181, allocations: 5.341 MB / 424 MB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.17e-05/0.181, allocations: 16 kB / 424 MB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.182, allocations: 339.5 kB / 424.3 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.1824, allocations: 262.1 kB / 424.6 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.1836, allocations: 0.5058 MB / 425.1 MB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.1837, allocations: 47.95 kB / 425.1 MB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.1861, allocations: 2.965 MB / 428.1 MB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005555/0.1866, allocations: 1.359 MB / 429.5 MB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003052/0.1897, allocations: 2.317 MB / 431.8 MB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002213/0.1899, allocations: 44.23 kB / 431.8 MB, free: 5.371 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/0.1905, allocations: 43.98 kB / 431.9 MB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.1907, allocations: 148.8 kB / 432 MB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.1909, allocations: 55.98 kB / 432.1 MB, free: 5.129 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007085/0.1916, allocations: 0.8609 MB / 432.9 MB, free: 4.254 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1916, allocations: 0 / 432.9 MB, free: 4.254 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00328/0.1948, allocations: 1.23 MB / 434.2 MB, free: 3.023 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.0003902/0.1952, allocations: 191.8 kB / 434.4 MB, free: 2.824 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.172/0.3672, allocations: 2.92 MB / 437.3 MB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000497/0.3677, allocations: 73.34 kB / 437.3 MB, free: 111.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00306/0.3708, allocations: 1.465 MB / 438.8 MB, free: 111.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.3731, allocations: 1.695 MB / 440.5 MB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.384, allocations: 7.898 MB / 448.4 MB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008608/0.3849, allocations: 1.173 MB / 449.6 MB, free: 107.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009151/0.3858, allocations: 399.6 kB / 450 MB, free: 107.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006891/0.3865, allocations: 431.4 kB / 450.4 MB, free: 107 MB / 426.7 MB Notification: Performance of SimCode: time 2.244e-06/0.3865, allocations: 0 / 450.4 MB, free: 107 MB / 426.7 MB Notification: Performance of Templates: time 0.05201/0.4385, allocations: 50.34 MB / 0.489 GB, free: 66.33 MB / 426.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9757995046675205]