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.001162/0.001162, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001533/0.002694, 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.001027/0.001027, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.002343, 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.026/1.026, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08759/1.113, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.2545/0.2545, allocations: 34.25 MB / 278.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02481/0.2793, allocations: 13.1 MB / 291.3 MB, free: 7.379 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 2.434e-06/2.434e-06, allocations: 4 kB / 292.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.589e-05, allocations: 3.859 kB / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.00823/0.008246, allocations: 11.16 MB / 303.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006027/0.01427, allocations: 4.131 MB / 307.9 MB, free: 6.941 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006662/0.01494, allocations: 67.75 kB / 308 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.01621, allocations: 1.237 MB / 309.2 MB, free: 5.633 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.01841, allocations: 1.824 MB / 311.1 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008055/0.01922, allocations: 0.561 MB / 311.6 MB, free: 3.238 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002957/0.02218, allocations: 4.599 MB / 316.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.02341, allocations: 1.824 MB / 318 MB, free: 12.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.02463, allocations: 1.913 MB / 320 MB, free: 10.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.02603, allocations: 1.944 MB / 321.9 MB, free: 8.906 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.02623, allocations: 224 kB / 322.1 MB, free: 8.688 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.02752, allocations: 1.279 MB / 323.4 MB, free: 7.406 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008815/0.0284, allocations: 1.519 MB / 324.9 MB, free: 5.883 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006641/0.02907, allocations: 0.798 MB / 325.7 MB, free: 5.082 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002719/0.03179, allocations: 3.899 MB / 329.6 MB, free: 1.168 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/0.0318, allocations: 4 kB / 329.6 MB, free: 1.164 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0318, allocations: 0 / 329.6 MB, free: 1.164 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.418e-05/0.03184, allocations: 0 / 329.6 MB, free: 1.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.003894/0.03573, allocations: 4.587 MB / 334.2 MB, free: 12.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.03576, allocations: 12.03 kB / 334.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004482/0.04024, allocations: 1.682 MB / 335.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.04184, allocations: 1.519 MB / 337.4 MB, free: 9.258 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.083e-05/0.04193, allocations: 180.8 kB / 337.6 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004838/0.04242, allocations: 312.4 kB / 337.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004134/0.04655, allocations: 4.539 MB / 342.4 MB, free: 3.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.544e-05/0.0466, allocations: 27.75 kB / 342.5 MB, free: 3.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000213/0.04681, allocations: 119.8 kB / 342.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001767/0.04858, allocations: 2.155 MB / 344.7 MB, free: 1.469 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003605/0.05218, allocations: 2.803 MB / 347.5 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01684/0.06902, allocations: 25.27 MB / 372.8 MB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/0.07266, allocations: 2.24 MB / 375 MB, free: 2.305 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.0732, allocations: 451.7 kB / 375.5 MB, free: 1.859 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/0.07374, allocations: 0.5011 MB / 376 MB, free: 1.359 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.07377, allocations: 48.56 kB / 376 MB, free: 1.301 MB / 362.7 MB Notification: Performance of pre-optimization done (n=224): time 3.477e-06/0.07378, allocations: 4.094 kB / 376 MB, free: 1.297 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.01075/0.08452, allocations: 5.545 MB / 381.6 MB, free: 11.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007777/0.0853, allocations: 1.403 MB / 383 MB, free: 10.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/0.08701, allocations: 2.388 MB / 385.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00012/0.08713, allocations: 57.69 kB / 385.4 MB, free: 7.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001128/0.08826, allocations: 2.664 MB / 388.1 MB, free: 5.016 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004639/0.08872, allocations: 0.8717 MB / 389 MB, free: 4.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008591/0.08958, allocations: 1.01 MB / 390 MB, free: 3.113 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.598e-05/0.08965, allocations: 305.1 kB / 390.3 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.09092, allocations: 0.8856 MB / 391.2 MB, free: 1.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002492/0.09341, allocations: 3.742 MB / 394.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003902/0.09731, allocations: 5.189 MB / 400.1 MB, free: 6.035 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.889e-05/0.09734, allocations: 28 kB / 400.1 MB, free: 6.008 MB / 394.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01994/0.1173, allocations: 5.036 MB / 405.2 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.1173, allocations: 52 kB / 405.2 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01394/0.1313, allocations: 1.908 MB / 407.1 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02785/0.1591, allocations: 3.342 MB / 410.5 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003561/0.1627, allocations: 1.299 MB / 411.7 MB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009192/0.1719, allocations: 4.234 MB / 416 MB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/0.1745, allocations: 208 kB / 416.2 MB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002779/0.1748, allocations: 276 kB / 416.5 MB, free: 5.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.001354/0.1761, allocations: 0.5318 MB / 417 MB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/0.1764, allocations: 199.7 kB / 417.2 MB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002393/0.1788, allocations: 1.872 MB / 419.1 MB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001698/0.1805, allocations: 1.111 MB / 420.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.1805, allocations: 0 / 420.2 MB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.1805, allocations: 11.97 kB / 420.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006822/0.1873, allocations: 5.337 MB / 425.5 MB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.1873, allocations: 8 kB / 425.5 MB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009432/0.1883, allocations: 339.5 kB / 425.9 MB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.1885, allocations: 258.2 kB / 426.1 MB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.1896, allocations: 0.5057 MB / 426.6 MB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.464e-05/0.1897, allocations: 43.97 kB / 426.7 MB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.192, allocations: 3.028 MB / 429.7 MB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005001/0.1925, allocations: 1.351 MB / 431 MB, free: 6.234 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.1952, allocations: 2.317 MB / 433.3 MB, free: 3.746 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.1954, allocations: 43.98 kB / 433.4 MB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005547/0.196, allocations: 39.94 kB / 433.4 MB, free: 3.664 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/0.1962, allocations: 136.9 kB / 433.6 MB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-05/0.1963, allocations: 59.95 kB / 433.6 MB, free: 3.469 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006291/0.1969, allocations: 0.8428 MB / 434.5 MB, free: 2.613 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1969, allocations: 0 / 434.5 MB, free: 2.613 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002479/0.1994, allocations: 1.234 MB / 435.7 MB, free: 1.379 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.000315/0.1997, allocations: 172 kB / 435.9 MB, free: 1.203 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1349/0.3345, allocations: 2.847 MB / 438.7 MB, free: 124 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002031/0.3348, allocations: 71.81 kB / 438.8 MB, free: 124 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.3358, allocations: 0.9125 MB / 439.7 MB, free: 123.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/0.3378, allocations: 0.7802 MB / 440.5 MB, free: 123.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008039/0.3458, allocations: 7.903 MB / 448.4 MB, free: 120.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000756/0.3466, allocations: 1.172 MB / 449.6 MB, free: 120.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008676/0.3475, allocations: 406.7 kB / 450 MB, free: 120.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006969/0.3482, allocations: 462.7 kB / 450.4 MB, free: 120.3 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3482, allocations: 0 / 450.4 MB, free: 120.3 MB / 426.7 MB Notification: Performance of Templates: time 0.04681/0.395, allocations: 51.65 MB / 0.4903 GB, free: 73.45 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9448526157066226]