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.0008318/0.0008318, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001053/0.001885, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007827/0.0007827, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.001783, allocations: 463.6 kB / 11.69 MB, free: 2.48 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.9114/0.9114, allocations: 158.6 MB / 171 MB, free: 2.172 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1767/1.088, allocations: 49.5 MB / 220.5 MB, free: 5.27 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.1228/0.1228, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02153/0.1444, allocations: 12.3 MB / 265.9 MB, free: 7.828 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.413e-06/1.413e-06, allocations: 0 / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.575e-05/1.716e-05, allocations: 6.25 kB / 267.2 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.008772/0.008789, allocations: 11.21 MB / 278.4 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005994/0.01478, allocations: 4.119 MB / 282.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009984/0.01578, allocations: 71.75 kB / 282.6 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001682/0.01746, allocations: 1.229 MB / 283.9 MB, free: 5.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.0202, allocations: 1.851 MB / 285.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009163/0.02112, allocations: 0.5533 MB / 286.3 MB, free: 3.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003824/0.02494, allocations: 4.406 MB / 290.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0021/0.02704, allocations: 1.84 MB / 292.5 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.02903, allocations: 1.921 MB / 294.4 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.03099, allocations: 1.956 MB / 296.4 MB, free: 9.223 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003489/0.03134, allocations: 224 kB / 296.6 MB, free: 9.004 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.0332, allocations: 1.299 MB / 297.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009859/0.03419, allocations: 1.547 MB / 299.4 MB, free: 6.152 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007476/0.03493, allocations: 0.8175 MB / 300.3 MB, free: 5.332 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003012/0.03794, allocations: 3.961 MB / 304.2 MB, free: 1.355 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.03796, allocations: 4 kB / 304.2 MB, free: 1.352 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.03796, allocations: 0 / 304.2 MB, free: 1.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.65e-05/0.03804, allocations: 0 / 304.2 MB, free: 1.352 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.004249/0.04229, allocations: 4.644 MB / 308.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.04232, allocations: 8.031 kB / 308.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004034/0.04635, allocations: 1.499 MB / 310.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.04794, allocations: 1.55 MB / 311.9 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/0.04802, allocations: 180.8 kB / 312.1 MB, free: 9.359 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000598/0.04862, allocations: 308.5 kB / 312.4 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004165/0.05279, allocations: 4.53 MB / 316.9 MB, free: 4.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-05/0.05284, allocations: 27.77 kB / 317 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.05305, allocations: 111.8 kB / 317.1 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001932/0.05498, allocations: 2.167 MB / 319.2 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004272/0.05925, allocations: 2.807 MB / 322 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1518/0.2111, allocations: 25.26 MB / 347.3 MB, free: 35.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004132/0.2152, allocations: 2.247 MB / 349.5 MB, free: 35.72 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/0.2157, allocations: 452.5 kB / 350 MB, free: 35.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005356/0.2163, allocations: 0.5097 MB / 350.5 MB, free: 35.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.2163, allocations: 53.81 kB / 350.6 MB, free: 35.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=224): time 3.808e-06/0.2163, allocations: 0 / 350.6 MB, free: 35.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=231): time 0.01041/0.2267, allocations: 5.545 MB / 356.1 MB, free: 35 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004836/0.2272, allocations: 1.414 MB / 357.5 MB, free: 33.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/0.2287, allocations: 2.404 MB / 359.9 MB, free: 33.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.2289, allocations: 55.73 kB / 360 MB, free: 33.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007945/0.2297, allocations: 2.673 MB / 362.6 MB, free: 31.28 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000377/0.23, allocations: 0.878 MB / 363.5 MB, free: 30.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007825/0.2308, allocations: 1.004 MB / 364.5 MB, free: 30.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.411e-05/0.2308, allocations: 305.1 kB / 364.8 MB, free: 30.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.232, allocations: 0.8889 MB / 365.7 MB, free: 30.3 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.2339, allocations: 3.74 MB / 369.4 MB, free: 26.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/0.2373, allocations: 5.196 MB / 374.6 MB, free: 20.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.124e-05/0.2373, allocations: 28 kB / 374.7 MB, free: 20.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.0195/0.2568, allocations: 5.014 MB / 379.7 MB, free: 16.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.2569, allocations: 48 kB / 379.7 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01311/0.27, allocations: 1.886 MB / 381.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02898/0.299, allocations: 3.279 MB / 384.9 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003598/0.3026, allocations: 1.302 MB / 386.2 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.3139, allocations: 4.222 MB / 390.4 MB, free: 5.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/0.3172, allocations: 204 kB / 390.6 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006496/0.3178, allocations: 274 kB / 390.9 MB, free: 4.961 MB / 330.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.00142/0.3192, allocations: 0.5305 MB / 391.4 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004413/0.3197, allocations: 198.5 kB / 391.6 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.3226, allocations: 1.871 MB / 393.5 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002112/0.3248, allocations: 1.107 MB / 394.6 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3248, allocations: 4 kB / 394.6 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.3248, allocations: 13.72 kB / 394.6 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009732/0.3345, allocations: 5.354 MB / 400 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.3345, allocations: 12.19 kB / 400 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.336, allocations: 342.9 kB / 400.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009008/0.3369, allocations: 262.1 kB / 400.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/0.3386, allocations: 0.4978 MB / 401.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.3388, allocations: 47.97 kB / 401.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002909/0.3417, allocations: 3.035 MB / 404.1 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006946/0.3424, allocations: 1.345 MB / 405.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/0.3466, allocations: 2.309 MB / 407.8 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005615/0.3472, allocations: 50.42 kB / 407.8 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009702/0.3481, allocations: 39.05 kB / 407.9 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003186/0.3484, allocations: 148.8 kB / 408 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/0.3486, allocations: 56.42 kB / 408.1 MB, free: 3.082 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001189/0.3498, allocations: 0.8549 MB / 408.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3498, allocations: 0 / 408.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005094/0.3549, allocations: 1.254 MB / 410.2 MB, free: 0.9609 MB / 346.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.0005648/0.3554, allocations: 183.9 kB / 410.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004689/0.3601, allocations: 2.842 MB / 413.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001527/0.3603, allocations: 74.81 kB / 413.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.3613, allocations: 0.915 MB / 414.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.3633, allocations: 0.7878 MB / 415 MB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009497/0.3728, allocations: 7.932 MB / 422.9 MB, free: 3.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009245/0.3738, allocations: 1.17 MB / 424.1 MB, free: 2.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009878/0.3748, allocations: 414.2 kB / 424.5 MB, free: 2.391 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007669/0.3755, allocations: 461.2 kB / 425 MB, free: 1.941 MB / 362.7 MB Notification: Performance of SimCode: time 1.303e-06/0.3755, allocations: 4 kB / 425 MB, free: 1.938 MB / 362.7 MB Notification: Performance of Templates: time 0.05769/0.4332, allocations: 51.94 MB / 476.9 MB, free: 14 MB / 426.7 MB " [Timeout remaining time 660] 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.07279228232801]