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.000897/0.000897, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0008728/0.0008728, allocations: 179.9 kB / 24.92 MB, free: 8.762 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.9549/0.9549, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2591/0.2591, 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.393e-06/1.393e-06, allocations: 0 / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258e-05/1.398e-05, allocations: 2.312 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.008282/0.008296, allocations: 11.02 MB / 336.3 MB, free: 12.61 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006586/0.01488, allocations: 4.104 MB / 340.4 MB, free: 8.488 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009259/0.01581, allocations: 67.75 kB / 340.5 MB, free: 8.422 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001635/0.01744, allocations: 1.253 MB / 341.7 MB, free: 7.164 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.01996, allocations: 1.848 MB / 343.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008774/0.02084, allocations: 0.6 MB / 344.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003676/0.02451, allocations: 4.713 MB / 348.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001591/0.02611, allocations: 2.315 MB / 351.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.02758, allocations: 1.863 MB / 353 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001661/0.02924, allocations: 1.964 MB / 355 MB, free: 9.797 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.02951, allocations: 224 kB / 355.2 MB, free: 9.578 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.03123, allocations: 1.248 MB / 356.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009513/0.03218, allocations: 1.69 MB / 358.2 MB, free: 6.633 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000743/0.03292, allocations: 0.9808 MB / 359.1 MB, free: 5.648 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003379/0.0363, allocations: 4.195 MB / 363.3 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.0363, allocations: 0 / 363.3 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03631, allocations: 0 / 363.3 MB, free: 1.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.748e-05/0.03634, allocations: 0 / 363.3 MB, free: 1.438 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.003375/0.03972, allocations: 3.795 MB / 367.1 MB, free: 13.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.03975, allocations: 11.97 kB / 367.1 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004462/0.04421, allocations: 1.682 MB / 368.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001775/0.04599, allocations: 1.53 MB / 370.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.394e-05/0.04607, allocations: 176.8 kB / 370.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004683/0.04654, allocations: 303.5 kB / 370.8 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004281/0.05082, allocations: 4.546 MB / 375.4 MB, free: 4.855 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.477e-05/0.05088, allocations: 23.8 kB / 375.4 MB, free: 4.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002611/0.05114, allocations: 111.8 kB / 375.5 MB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001795/0.05293, allocations: 2.151 MB / 377.7 MB, free: 2.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003956/0.05689, allocations: 2.838 MB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01939/0.07628, allocations: 25.24 MB / 405.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/0.08, allocations: 2.298 MB / 408 MB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/0.08055, allocations: 450.7 kB / 408.5 MB, free: 2.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005456/0.0811, allocations: 0.5011 MB / 409 MB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.08113, allocations: 52.56 kB / 409 MB, free: 2.336 MB / 378.7 MB Notification: Performance of pre-optimization done (n=224): time 3.727e-06/0.08113, allocations: 0 / 409 MB, free: 2.336 MB / 378.7 MB Notification: Performance of matching and sorting (n=231): time 0.01112/0.09226, allocations: 5.596 MB / 414.6 MB, free: 12.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006523/0.09291, allocations: 1.403 MB / 416 MB, free: 11.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.09493, allocations: 2.384 MB / 418.4 MB, free: 8.758 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.09508, allocations: 57.69 kB / 418.5 MB, free: 8.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009769/0.09606, allocations: 2.668 MB / 421.1 MB, free: 6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004512/0.09651, allocations: 0.8758 MB / 422 MB, free: 5.117 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008855/0.09739, allocations: 1.002 MB / 423 MB, free: 4.102 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.09746, allocations: 305.1 kB / 423.3 MB, free: 3.801 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.09891, allocations: 0.8895 MB / 424.2 MB, free: 2.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002339/0.1012, allocations: 3.746 MB / 427.9 MB, free: 13.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004088/0.1053, allocations: 5.193 MB / 433.1 MB, free: 7.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-05/0.1054, allocations: 28 kB / 433.2 MB, free: 6.992 MB / 410.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02132/0.1267, allocations: 5.029 MB / 438.2 MB, free: 1.934 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/0.1267, allocations: 51.94 kB / 438.2 MB, free: 1.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01464/0.1414, allocations: 1.892 MB / 440.1 MB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03483/0.1762, allocations: 3.344 MB / 443.5 MB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/0.1794, allocations: 1.15 MB / 444.6 MB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/0.1916, allocations: 4.214 MB / 448.8 MB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/0.1945, allocations: 208 kB / 449 MB, free: 6.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004351/0.195, allocations: 276 kB / 449.3 MB, free: 6.582 MB / 426.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.001294/0.1963, allocations: 0.5396 MB / 449.9 MB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003859/0.1967, allocations: 195.8 kB / 450 MB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.1999, allocations: 1.872 MB / 451.9 MB, free: 3.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002322/0.2023, allocations: 1.103 MB / 453 MB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2023, allocations: 7.938 kB / 453 MB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.2023, allocations: 7.969 kB / 453 MB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1537/0.356, allocations: 5.348 MB / 458.4 MB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.356, allocations: 6.844 kB / 458.4 MB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.3571, allocations: 278.4 kB / 458.7 MB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.3586, allocations: 0.5069 MB / 459.2 MB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.3587, allocations: 44.77 kB / 459.2 MB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.3611, allocations: 3.025 MB / 462.2 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004041/0.3615, allocations: 1.342 MB / 463.6 MB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/0.3647, allocations: 2.316 MB / 465.9 MB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/0.3651, allocations: 257.9 kB / 466.2 MB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.3654, allocations: 46.72 kB / 466.2 MB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007999/0.3662, allocations: 35.03 kB / 466.2 MB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000281/0.3664, allocations: 153 kB / 466.4 MB, free: 116.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/0.3666, allocations: 53.7 kB / 466.4 MB, free: 116.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007981/0.3674, allocations: 0.8403 MB / 467.3 MB, free: 116.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3674, allocations: 0 / 467.3 MB, free: 116.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002822/0.3702, allocations: 1.224 MB / 468.5 MB, free: 116.4 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.0003302/0.3705, allocations: 182.5 kB / 468.7 MB, free: 116.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003204/0.3737, allocations: 2.841 MB / 471.5 MB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.383e-05/0.3738, allocations: 59.47 kB / 471.6 MB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008874/0.3747, allocations: 0.9228 MB / 472.5 MB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.3758, allocations: 0.5687 MB / 473.1 MB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006528/0.3824, allocations: 7.613 MB / 480.7 MB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.3831, allocations: 1.156 MB / 481.8 MB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008509/0.384, allocations: 412.9 kB / 482.2 MB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007012/0.3847, allocations: 452 kB / 482.7 MB, free: 108.1 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3847, allocations: 0 / 482.7 MB, free: 108.1 MB / 426.7 MB Notification: Performance of Templates: time 0.04708/0.4318, allocations: 51.21 MB / 0.5214 GB, free: 58.69 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 -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.007710761856288]