Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009697/0.0009697, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001444/0.002414, allocations: 452 kB / 10.43 MB, free: 264 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.000947/0.000947, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001276/0.002223, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8574/0.8574, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.128/0.9854, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1467/0.1467, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01923/0.166, allocations: 12.31 MB / 266.1 MB, free: 3.875 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 267.4 MB, free: 2.555 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.33e-05, allocations: 6.25 kB / 267.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.01162/0.01164, allocations: 11.21 MB / 278.6 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007593/0.01924, allocations: 4.119 MB / 282.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009919/0.02023, allocations: 67.75 kB / 282.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.02194, allocations: 1.237 MB / 284 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1673/0.1893, allocations: 1.849 MB / 285.9 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.1907, allocations: 0.5499 MB / 286.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004303/0.195, allocations: 4.401 MB / 290.8 MB, free: 1.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.197, allocations: 1.844 MB / 292.7 MB, free: 1.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.1994, allocations: 1.919 MB / 294.6 MB, free: 1.434 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/0.2016, allocations: 1.952 MB / 296.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003588/0.2019, allocations: 225.8 kB / 296.8 MB, free: 1.309 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.2037, allocations: 1.292 MB / 298.1 MB, free: 1.285 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008549/0.2046, allocations: 1.555 MB / 299.6 MB, free: 1.016 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007096/0.2053, allocations: 0.8185 MB / 300.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.2079, allocations: 3.952 MB / 304.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.377e-05/0.208, allocations: 4 kB / 304.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.208, allocations: 0 / 304.4 MB, free: 15.72 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.365e-05/0.208, allocations: 0 / 304.4 MB, free: 15.72 MB / 298.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.004036/0.212, allocations: 4.635 MB / 309 MB, free: 11.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2121, allocations: 8.719 kB / 309 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004415/0.2165, allocations: 1.515 MB / 310.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.2183, allocations: 1.545 MB / 312.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.2184, allocations: 178.6 kB / 312.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004922/0.2189, allocations: 308.4 kB / 312.6 MB, free: 8.281 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004913/0.2238, allocations: 4.535 MB / 317.1 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.469e-05/0.2239, allocations: 25.5 kB / 317.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.2241, allocations: 112.8 kB / 317.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001882/0.226, allocations: 2.027 MB / 319.3 MB, free: 1.625 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005215/0.2312, allocations: 2.809 MB / 322.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02324/0.2545, allocations: 25.27 MB / 347.3 MB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00374/0.2582, allocations: 2.253 MB / 349.6 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/0.2587, allocations: 441.8 kB / 350 MB, free: 3.098 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005446/0.2593, allocations: 0.508 MB / 350.5 MB, free: 2.602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.2593, allocations: 55.19 kB / 350.6 MB, free: 2.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=224): time 4.799e-06/0.2593, allocations: 0 / 350.6 MB, free: 2.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=231): time 0.0121/0.2714, allocations: 5.767 MB / 356.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008138/0.2722, allocations: 1.408 MB / 357.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.2744, allocations: 2.399 MB / 360.2 MB, free: 9.301 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.2745, allocations: 60.36 kB / 360.2 MB, free: 9.238 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001324/0.2758, allocations: 2.673 MB / 362.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005615/0.2764, allocations: 0.8736 MB / 363.8 MB, free: 5.852 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009307/0.2773, allocations: 1.004 MB / 364.8 MB, free: 4.961 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.2774, allocations: 305.2 kB / 365.1 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/0.2787, allocations: 0.8817 MB / 366 MB, free: 3.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002922/0.2817, allocations: 3.737 MB / 369.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005068/0.2867, allocations: 5.443 MB / 375.1 MB, free: 8.172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.34e-05/0.2868, allocations: 28 kB / 375.2 MB, free: 8.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.017/0.3038, allocations: 4.798 MB / 380 MB, free: 3.332 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.806e-05/0.3038, allocations: 52 kB / 380 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.304, allocations: 115 kB / 380.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0277/0.3317, allocations: 3.285 MB / 383.4 MB, free: 15.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003321/0.335, allocations: 1.302 MB / 384.7 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00975/0.3447, allocations: 4.156 MB / 388.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.3474, allocations: 207 kB / 389.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003448/0.3477, allocations: 276 kB / 389.3 MB, free: 9.781 MB / 378.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.001338/0.349, allocations: 0.5427 MB / 389.9 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.3493, allocations: 187.8 kB / 390.1 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.3517, allocations: 1.871 MB / 391.9 MB, free: 7.211 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001684/0.3534, allocations: 1.106 MB / 393 MB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3534, allocations: 4 kB / 393 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3534, allocations: 11.95 kB / 393.1 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007274/0.3607, allocations: 5.372 MB / 398.4 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.742e-05/0.3607, allocations: 12 kB / 398.4 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009838/0.3617, allocations: 327.5 kB / 398.8 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003034/0.362, allocations: 274 kB / 399 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/0.3632, allocations: 0.506 MB / 399.5 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.3633, allocations: 51.95 kB / 399.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/0.3655, allocations: 2.976 MB / 402.6 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008431/0.3664, allocations: 1.339 MB / 403.9 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002792/0.3692, allocations: 2.32 MB / 406.2 MB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.3694, allocations: 43.97 kB / 406.3 MB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/0.37, allocations: 36 kB / 406.3 MB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.3703, allocations: 152.8 kB / 406.4 MB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/0.3704, allocations: 55.97 kB / 406.5 MB, free: 8.012 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008062/0.3712, allocations: 0.8692 MB / 407.4 MB, free: 7.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3712, allocations: 0 / 407.4 MB, free: 7.129 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003424/0.3746, allocations: 1.258 MB / 408.6 MB, free: 5.871 MB / 394.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.0004613/0.3751, allocations: 191.7 kB / 408.8 MB, free: 5.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00482/0.3799, allocations: 2.935 MB / 411.7 MB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001356/0.38, allocations: 70.56 kB / 411.8 MB, free: 2.664 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002272/0.3823, allocations: 1.475 MB / 413.3 MB, free: 1.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.3845, allocations: 1.703 MB / 415 MB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.3956, allocations: 7.911 MB / 422.9 MB, free: 7.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.3969, allocations: 1.166 MB / 424.1 MB, free: 5.949 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001105/0.398, allocations: 406.2 kB / 424.5 MB, free: 5.547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007453/0.3987, allocations: 441.2 kB / 424.9 MB, free: 5.117 MB / 410.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3987, allocations: 0 / 424.9 MB, free: 5.117 MB / 410.7 MB Notification: Performance of Templates: time 0.1901/0.5888, allocations: 50.63 MB / 475.5 MB, free: 124.2 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.705560234375298]