Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004886/0.005923, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008642/0.0008642, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001313/0.002177, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9844/0.9844, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08985/1.074, allocations: 52.49 MB / 238.4 MB, free: 4.367 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1558/0.1558, allocations: 32.8 MB / 272 MB, free: 2.961 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1465/0.3023, allocations: 12.55 MB / 284.5 MB, free: 11.87 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Spherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 285.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.992e-05/2.169e-05, allocations: 3.406 kB / 285.8 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.009926/0.009948, allocations: 11.19 MB / 297 MB, free: 1.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006484/0.01643, allocations: 4.119 MB / 301.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00069/0.01712, allocations: 67.75 kB / 301.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.01836, allocations: 1.241 MB / 302.5 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.02039, allocations: 1.844 MB / 304.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007158/0.02111, allocations: 0.5609 MB / 304.9 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002657/0.02377, allocations: 4.402 MB / 309.3 MB, free: 5.727 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.025, allocations: 1.836 MB / 311.1 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.02636, allocations: 1.924 MB / 313 MB, free: 1.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.02788, allocations: 1.944 MB / 315 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.02812, allocations: 228 kB / 315.2 MB, free: 15.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.02944, allocations: 1.295 MB / 316.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008107/0.03025, allocations: 1.551 MB / 318 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000608/0.03086, allocations: 0.8175 MB / 318.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.03344, allocations: 3.957 MB / 322.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.18e-05/0.03345, allocations: 0 / 322.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.03345, allocations: 0 / 322.8 MB, free: 8.105 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.663e-05/0.0335, allocations: 0 / 322.8 MB, free: 8.105 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.003676/0.03718, allocations: 4.636 MB / 327.5 MB, free: 3.398 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.03721, allocations: 15.84 kB / 327.5 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/0.04124, allocations: 1.507 MB / 329 MB, free: 1.875 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/0.04273, allocations: 1.527 MB / 330.5 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/0.04281, allocations: 176.8 kB / 330.7 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004692/0.04328, allocations: 308.5 kB / 331 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004309/0.04759, allocations: 4.545 MB / 335.5 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/0.04763, allocations: 23.75 kB / 335.5 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.04785, allocations: 115.8 kB / 335.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0017/0.04955, allocations: 2.03 MB / 337.7 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/0.05355, allocations: 2.8 MB / 340.5 MB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0192/0.07275, allocations: 25.25 MB / 365.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/0.07643, allocations: 2.254 MB / 368 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/0.07703, allocations: 449.8 kB / 368.4 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000529/0.07755, allocations: 0.5166 MB / 369 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.07758, allocations: 48.56 kB / 369 MB, free: 8.484 MB / 362.7 MB Notification: Performance of pre-optimization done (n=224): time 3.917e-06/0.07759, allocations: 4 kB / 369 MB, free: 8.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=231): time 0.01119/0.08878, allocations: 5.783 MB / 374.8 MB, free: 2.648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009439/0.08972, allocations: 1.399 MB / 376.2 MB, free: 1.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.09139, allocations: 2.4 MB / 378.6 MB, free: 14.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.0915, allocations: 53.7 kB / 378.6 MB, free: 14.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.09261, allocations: 2.668 MB / 381.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004624/0.09307, allocations: 0.8795 MB / 382.2 MB, free: 11.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009435/0.09401, allocations: 1.006 MB / 383.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.09407, allocations: 305.1 kB / 383.5 MB, free: 9.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.09531, allocations: 0.8739 MB / 384.4 MB, free: 8.863 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002393/0.0977, allocations: 3.734 MB / 388.1 MB, free: 3.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003924/0.1016, allocations: 5.446 MB / 393.5 MB, free: 12.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-05/0.1017, allocations: 32 kB / 393.6 MB, free: 12.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01611/0.1178, allocations: 4.791 MB / 398.4 MB, free: 7.887 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.1178, allocations: 54.38 kB / 398.4 MB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.522e-05/0.1179, allocations: 112 kB / 398.5 MB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02679/0.1447, allocations: 3.284 MB / 401.8 MB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/0.1472, allocations: 1.299 MB / 403.1 MB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009161/0.1563, allocations: 4.174 MB / 407.3 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002056/0.1584, allocations: 204 kB / 407.5 MB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002756/0.1587, allocations: 280 kB / 407.8 MB, free: 14.28 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.0009946/0.1596, allocations: 0.528 MB / 408.3 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/0.1599, allocations: 199.8 kB / 408.5 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/0.1623, allocations: 1.868 MB / 410.4 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001675/0.164, allocations: 1.103 MB / 411.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.164, allocations: 0 / 411.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.164, allocations: 11.95 kB / 411.5 MB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006671/0.1707, allocations: 5.353 MB / 416.8 MB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.1707, allocations: 12 kB / 416.8 MB, free: 4.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009638/0.1716, allocations: 339.4 kB / 417.2 MB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.1719, allocations: 258.2 kB / 417.4 MB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/0.173, allocations: 0.5019 MB / 417.9 MB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.1731, allocations: 55.95 kB / 418 MB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/0.1752, allocations: 2.969 MB / 420.9 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004873/0.1757, allocations: 1.343 MB / 422.3 MB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.1785, allocations: 2.332 MB / 424.6 MB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.1787, allocations: 43.98 kB / 424.7 MB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/0.1793, allocations: 39.98 kB / 424.7 MB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.1796, allocations: 148.8 kB / 424.8 MB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.806e-05/0.1797, allocations: 55.97 kB / 424.9 MB, free: 12.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006789/0.1803, allocations: 0.8651 MB / 425.8 MB, free: 11.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1803, allocations: 0 / 425.8 MB, free: 11.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002694/0.183, allocations: 1.25 MB / 427 MB, free: 10.23 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.0003554/0.1834, allocations: 188 kB / 427.2 MB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003733/0.1871, allocations: 2.94 MB / 430.1 MB, free: 7.102 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001092/0.1872, allocations: 74.5 kB / 430.2 MB, free: 7.027 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001692/0.1889, allocations: 1.471 MB / 431.7 MB, free: 5.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.1904, allocations: 1.717 MB / 433.4 MB, free: 3.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1358/0.3262, allocations: 7.883 MB / 441.3 MB, free: 125.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.3273, allocations: 1.17 MB / 442.4 MB, free: 125.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001113/0.3284, allocations: 399 kB / 442.8 MB, free: 125.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/0.3291, allocations: 435.9 kB / 443.3 MB, free: 125.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.854e-06/0.3291, allocations: 0 / 443.3 MB, free: 125.1 MB / 426.7 MB Notification: Performance of Templates: time 0.0479/0.377, allocations: 50.45 MB / 493.7 MB, free: 85.92 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Spherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.653482725843787]